49cb564d14
* par 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
342 B
Diff
11 lines
342 B
Diff
--- a/include/pi-md5.h.in 2010-02-07 04:42:49.000000000 +0100
|
|
+++ b/include/pi-md5.h.in 2016-12-20 14:03:39.781946035 +0100
|
|
@@ -22,7 +22,7 @@
|
|
#if HAVE_STDINT_H
|
|
#include <stdint.h>
|
|
#endif
|
|
-#ifdef HAVE_INTTYPES_H || HAVE_STDINT_H
|
|
+#if defined(HAVE_INTTYPES_H) || defined(HAVE_STDINT_H)
|
|
#define UINT8 uint8_t
|
|
#define UINT32 uint32_t
|
|
#else
|