* arduino and antiword is kept at -Np0 ```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 ```
20 lines
592 B
Diff
20 lines
592 B
Diff
--- a/avidemux_core/ADM_core/src/ADM_crashdump_unix.cpp 2016-03-05 09:22:54.000000000 +0100
|
|
+++ b/avidemux_core/ADM_core/src/ADM_crashdump_unix.cpp 2016-03-08 03:06:07.328943375 +0100
|
|
@@ -30,7 +30,7 @@
|
|
#define _ELF64
|
|
#endif
|
|
#include <sys/machelf.h>
|
|
-#else
|
|
+#elif defined(__GLIBC__)
|
|
#include <execinfo.h>
|
|
#endif
|
|
|
|
@@ -165,7 +165,7 @@
|
|
if(mysaveFunction)
|
|
mysaveFunction();
|
|
#define MAX_BACKTRACK 30
|
|
-#if !defined(__HAIKU__) && !defined(__sun__)
|
|
+#if defined(__GLIBC__) && !defined(__HAIKU__) && !defined(__sun__)
|
|
char wholeStuff[2048];
|
|
char buffer[4096];
|
|
char in[2048];
|