svn commit: r318232 - head/x11-toolkits/fox17/files

Pietro Cerutti gahr at FreeBSD.org
Wed May 15 08:43:43 UTC 2013


Author: gahr
Date: Wed May 15 08:43:42 2013
New Revision: 318232
URL: http://svnweb.freebsd.org/changeset/ports/318232

Log:
  - Fix build on amd64 < 9.0 by disabling assembly optimizations

Added:
  head/x11-toolkits/fox17/files/
  head/x11-toolkits/fox17/files/patch-lib_FXAtomic.cpp   (contents, props changed)

Added: head/x11-toolkits/fox17/files/patch-lib_FXAtomic.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/fox17/files/patch-lib_FXAtomic.cpp	Wed May 15 08:43:42 2013	(r318232)
@@ -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
+ 
+ 


More information about the svn-ports-all mailing list