b6bcd8cd34
* daemontools and dmraid 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
352 B
Diff
11 lines
352 B
Diff
--- a/dvd+rw-format.cpp.wexit 2007-06-21 12:42:30.000000000 +0200
|
|
+++ b/dvd+rw-format.cpp 2007-06-21 12:44:13.000000000 +0200
|
|
@@ -245,7 +245,7 @@ int main (int argc, char *argv[])
|
|
alarm(1);
|
|
while ((waitpid(pid,&i,0) != pid) && !WIFEXITED(i)) ;
|
|
if (WEXITSTATUS(i) == 0) fprintf (stderr,"\n");
|
|
- exit (0);
|
|
+ exit (WEXITSTATUS(i));
|
|
}
|
|
#endif
|
|
|