* 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
```
16 lines
484 B
Diff
16 lines
484 B
Diff
--- a/js/src/wasm/WasmSignalHandlers.cpp
|
|
+++ b/js/src/wasm/WasmSignalHandlers.cpp
|
|
@@ -243,9 +243,9 @@
|
|
// If you run into compile problems on a tier-3 platform, you can disable the
|
|
// emulation here.
|
|
|
|
-#if defined(__linux__) && defined(__arm__)
|
|
-# define WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
|
|
-#endif
|
|
+// #if defined(__linux__) && defined(__arm__)
|
|
+// # define WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
|
|
+// #endif
|
|
|
|
#ifdef WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
|
|
# include <sys/user.h>
|