aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2013-05-15 08:43:42 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2013-05-15 08:43:42 +0000
commitf3a78c5dfad00f50ac61ee1410e45ae55111f407 (patch)
tree5366926ea043134738639649fb9d28a580c2c8a0 /x11-toolkits
parent01aab7ded78d1d2dbded2aea8f7be9c3a455de09 (diff)
downloadports-f3a78c5dfad00f50ac61ee1410e45ae55111f407.tar.gz
ports-f3a78c5dfad00f50ac61ee1410e45ae55111f407.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/fox17/files/patch-lib_FXAtomic.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-toolkits/fox17/files/patch-lib_FXAtomic.cpp b/x11-toolkits/fox17/files/patch-lib_FXAtomic.cpp
new file mode 100644
index 000000000000..d0abc0825c56
--- /dev/null
+++ b/x11-toolkits/fox17/files/patch-lib_FXAtomic.cpp
@@ -0,0 +1,20 @@
+--- lib/FXAtomic.cpp.orig 2013-05-15 09:08:20.000000000 +0200
++++ lib/FXAtomic.cpp 2013-05-15 09:09:22.000000000 +0200
+@@ -71,11 +71,17 @@
+ #if defined( __INTEL_COMPILER ) && !defined( __ia64__ )
+ #undef HAVE_BUILTIN_SYNC
+ #endif
++#if defined(__FreeBSD__) && defined(__amd64__) && __FreeBSD_version < 900000
++#undef HAVE_BUILTIN_SYNC
++#endif
+ #endif
+
+ // Have inline assembly only when using GNU C++ or Intel C++
+ #if (defined(__GNUC__) || defined(__INTEL_COMPILER))
+ #define HAVE_INLINE_ASSEMBLY 1
++#if defined(__FreeBSD__) && defined(__amd64__) && __FreeBSD_version < 900000
++#undef HAVE_INLINE_ASSEMBLY
++#endif
+ #endif
+
+