
* 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 ```
15 lines
371 B
Diff
15 lines
371 B
Diff
--- a/rijndael.h
|
|
+++ b/rijndael.h
|
|
@@ -72,6 +72,11 @@
|
|
typedef u_char UINT8;
|
|
#endif
|
|
|
|
+#include <stdint.h>
|
|
+#define _CRYPT_RIJNDAEL_H_TYPES
|
|
+typedef uint32_t UINT32;
|
|
+typedef uint8_t UINT8;
|
|
+
|
|
/* I expect this to be the usual case */
|
|
#if ! defined(_CRYPT_RIJNDAEL_H_TYPES) && ( defined(_SYS_TYPES_H) || defined(_SYS_TYPES_H_) )
|
|
#define _CRYPT_RIJNDAEL_H_TYPES
|