a03d116397
```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
443 B
Diff
16 lines
443 B
Diff
Source: @pullmoll
|
|
Upstream: no
|
|
Reason: ffitarget.h no longer defines FFI_SYSV for *nix
|
|
|
|
--- a/src/c/ffi.d 2016-12-19 11:25:00.000000000 +0100
|
|
+++ b/src/c/ffi.d 2020-04-25 13:29:05.385149890 +0200
|
|
@@ -133,8 +133,6 @@
|
|
#elif defined(X86_WIN64)
|
|
{@':win64', FFI_WIN64},
|
|
-#elif defined(X86_ANY) || defined(X86) || defined(X86_64)
|
|
- {@':cdecl', FFI_SYSV},
|
|
- {@':sysv', FFI_SYSV},
|
|
+#elif defined(X86_64)
|
|
{@':unix64', FFI_UNIX64},
|
|
#endif
|
|
};
|