diff options
author | jdc <jdc@pkgsrc.org> | 2009-08-21 15:12:19 +0000 |
---|---|---|
committer | jdc <jdc@pkgsrc.org> | 2009-08-21 15:12:19 +0000 |
commit | f8cdfef8284e4dad2194798db7d8b6da7057c181 (patch) | |
tree | d044c1a0c4a5369617c3dbee0d4105fcc32347ae /meta-pkgs/boost | |
parent | 218a8b066968427c4c5fcd73de9d3ac0bda862cf (diff) | |
download | pkgsrc-f8cdfef8284e4dad2194798db7d8b6da7057c181.tar.gz |
Add sparc* to the list of architectures where we don't want to try and use
builtins like __sync_fetch_and_add(), when they don't exist.
Diffstat (limited to 'meta-pkgs/boost')
-rw-r--r-- | meta-pkgs/boost/patches/patch-ad | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-pkgs/boost/patches/patch-ad b/meta-pkgs/boost/patches/patch-ad new file mode 100644 index 00000000000..494aa613fac --- /dev/null +++ b/meta-pkgs/boost/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.8 2009/08/21 15:12:19 jdc Exp $ + +--- boost/detail/sp_counted_base.hpp.dist 2009-08-19 14:52:25.000000000 +0000 ++++ boost/detail/sp_counted_base.hpp 2009-08-20 10:13:01.000000000 +0000 +@@ -46,7 +46,7 @@ + #elif defined( __GNUC__ ) && ( defined( __powerpc__ ) || defined( __ppc__ ) || defined( __ppc ) ) + # include <boost/detail/sp_counted_base_gcc_ppc.hpp> + +-#elif defined(__GNUC__) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 ) && !defined( __arm__ ) && !defined( __hppa ) && ( !defined( __INTEL_COMPILER ) || defined( __ia64__ ) ) ++#elif defined(__GNUC__) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 ) && !defined( __arm__ ) && !defined( __hppa ) && ( !defined( __INTEL_COMPILER ) || defined( __ia64__ ) ) && !defined( __sparc__ ) + # include <boost/detail/sp_counted_base_sync.hpp> + + #elif defined(__GNUC__) && ( defined( __sparcv9 ) || ( defined( __sparcv8 ) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 402 ) ) ) |