200bed5c06
```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 ```
14 lines
694 B
Diff
14 lines
694 B
Diff
--- a/JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/cpu.c 2017-07-08 23:40:42.000000000 +0200
|
|
+++ b/JUCE/modules/juce_audio_formats/codecs/flac/libFLAC/cpu.c 2017-07-08 23:40:42.000000000 +0200
|
|
@@ -244,11 +244,7 @@
|
|
struct sigaction sigill_save;
|
|
struct sigaction sigill_sse;
|
|
sigill_sse.sa_sigaction = sigill_handler_sse_os;
|
|
- #ifdef __ANDROID__
|
|
sigemptyset (&sigill_sse.sa_mask);
|
|
- #else
|
|
- __sigemptyset(&sigill_sse.sa_mask);
|
|
- #endif
|
|
sigill_sse.sa_flags = SA_SIGINFO | SA_RESETHAND; /* SA_RESETHAND just in case our SIGILL return jump breaks, so we don't get stuck in a loop */
|
|
if(0 == sigaction(SIGILL, &sigill_sse, &sigill_save))
|
|
{
|