c987560802
```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 ```
13 lines
407 B
Diff
13 lines
407 B
Diff
diff --git OOps/pffft.c OOps/pffft.c
|
|
index e9696a7..3163cf8 100644
|
|
--- a/OOps/pffft.c
|
|
+++ b/OOps/pffft.c
|
|
@@ -154,7 +154,7 @@ typedef __m128 v4sf;
|
|
/*
|
|
ARM NEON support macros
|
|
*/
|
|
-#elif !defined(PFFFT_SIMD_DISABLE) && (defined(__arm__) || defined(IOS))
|
|
+#elif !defined(PFFFT_SIMD_DISABLE) && (defined(__ARM_NEON__) || defined(IOS))
|
|
# include <arm_neon.h>
|
|
typedef float32x4_t v4sf;
|
|
# define SIMD_SZ 4
|