index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | extra/mono/PKGBUILD | 9 |
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 |