5769f150de
```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.-][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.-][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
11 lines
332 B
Diff
11 lines
332 B
Diff
--- a/src/tools/radiant/radiant/stacktrace.cpp 2014-06-05 06:18:39.000000000 +0200
|
|
+++ b/src/tools/radiant/radiant/stacktrace.cpp 2015-10-30 10:51:24.956710075 +0100
|
|
@@ -24,7 +24,7 @@
|
|
|
|
#include "environment.h"
|
|
|
|
-#ifdef __linux__
|
|
+#ifdef __GLIBC__
|
|
#include <execinfo.h>
|
|
|
|
void write_stack_trace (TextOutputStream& outputStream)
|