index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | extra/mono/PKGBUILD | 15 |
diff --git a/extra/mono/PKGBUILD b/extra/mono/PKGBUILD new file mode 100644 index 00000000..7cf3826b --- /dev/null +++ b/extra/mono/PKGBUILD @@ -0,0 +1,15 @@ +if [ "$CARCH" = 'i486' ]; then + # these atomics are unavailable on i486, but that is not detected (?) + eval "$( + declare -f prepare | \ + sed ' + /^}$/ i \ + sed -i '"'"' \ + /#define BROKEN_64BIT_ATOMICS_INTRINSIC 1/ { \ + N \ + s/\\(.*\\)\\n\\s*#endif/#endif\\n\\1/ \ + } \ + '"'"' mono/utils/atomic.h + ' + )" +fi |