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 ```
18 lines
820 B
Diff
18 lines
820 B
Diff
Taken from
|
|
https://github.com/archlinux/svntogit-packages/blob/71ee17d529f8e0dc5c44d2fffb0dfa69b71daa0b/repos/extra-x86_64/make-abicheck-non-fatal.patch
|
|
|
|
diff -up wxGTK-2.8.12/src/common/appbase.cpp.abicheck wxGTK-2.8.12/src/common/appbase.cpp
|
|
--- a/src/common/appbase.cpp.abicheck 2015-03-12 17:15:18.000000000 +0100
|
|
+++ b/src/common/appbase.cpp 2015-03-12 17:15:57.000000000 +0100
|
|
@@ -424,10 +424,7 @@ bool wxAppConsole::CheckBuildOptions(con
|
|
msg.Printf(_T("Mismatch between the program and library build versions detected.\nThe library used %s,\nand %s used %s."),
|
|
lib.c_str(), progName.c_str(), prog.c_str());
|
|
|
|
- wxLogFatalError(msg.c_str());
|
|
-
|
|
- // normally wxLogFatalError doesn't return
|
|
- return false;
|
|
+ wxLogWarning(msg.c_str());
|
|
}
|
|
#undef wxCMP
|
|
|