04b9978a29
* wine 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 ```
11 lines
405 B
Diff
11 lines
405 B
Diff
--- a/utils/wvtask.cc.old 2015-09-22 05:49:32.911132004 -0400
|
|
+++ b/utils/wvtask.cc 2015-09-22 05:50:36.230115961 -0400
|
|
@@ -540,7 +540,7 @@
|
|
|
|
const void *WvTaskMan::current_top_of_stack()
|
|
{
|
|
-#ifdef HAVE_LIBC_STACK_END
|
|
+#if defined(HAVE_LIBC_STACK_END) && defined(__GLIBC__)
|
|
extern const void *__libc_stack_end;
|
|
if (use_shared_stack() || current_task == NULL)
|
|
return __libc_stack_end;
|