be5369a0cb
* fpc 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
441 B
Diff
11 lines
441 B
Diff
--- a/src/crypto/mac/macs.c.in 2015-01-29 06:41:45.000000000 +0100
|
|
+++ b/src/crypto/mac/macs.c.in 2015-12-19 14:41:42.579958439 +0100
|
|
@@ -67,7 +67,7 @@ static inline bool mac_available(const f
|
|
void fastd_mac_init(void) {
|
|
size_t i, j;
|
|
for (i = 0; i < array_size(macs); i++) {
|
|
- for (j = 0; macs[i].impls[j].impl; j++) {
|
|
+ for (j = 0; macs[i].impls[j].impl == NULL; j++) {
|
|
if (mac_available(macs[i].impls[j].impl))
|
|
break;
|
|
}
|