diff options
author | Erich Eckner <git@eckner.net> | 2018-10-15 15:05:10 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-10-15 15:05:10 +0200 |
commit | 18ecbeab37af03e1a87ff93cc2e7fdf24739a5c0 (patch) | |
tree | e95c9f399e5d5db94966fab5456e912b01d253d9 /extra/mono/PKGBUILD | |
parent | b233246a4e7bb7a2ac9c1f95478e70ae91fe0817 (diff) | |
download | packages-18ecbeab37af03e1a87ff93cc2e7fdf24739a5c0.tar.xz |
extra/mono: really fix i486 atomics ...
Diffstat (limited to 'extra/mono/PKGBUILD')
-rw-r--r-- | extra/mono/PKGBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/extra/mono/PKGBUILD b/extra/mono/PKGBUILD index bccd03b7..7cf3826b 100644 --- a/extra/mono/PKGBUILD +++ b/extra/mono/PKGBUILD @@ -5,10 +5,11 @@ if [ "$CARCH" = 'i486' ]; then sed ' /^}$/ i \ sed -i '"'"' \ - /#define BROKEN_64BIT_ATOMICS_INTRINSIC 1/ i \\\ - #endif \\\ - #if true \ - '"'"' mono/utils/atomic.h + /#define BROKEN_64BIT_ATOMICS_INTRINSIC 1/ { \ + N \ + s/\\(.*\\)\\n\\s*#endif/#endif\\n\\1/ \ + } \ + '"'"' mono/utils/atomic.h ' )" fi |