pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/meta-pkgs/boost/patches Add sparc* to the list of arch...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/07a9a6a996b0
branches:  trunk
changeset: 397986:07a9a6a996b0
user:      jdc <jdc%pkgsrc.org@localhost>
date:      Fri Aug 21 15:12:19 2009 +0000

description:
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:

 meta-pkgs/boost/patches/patch-ad |  13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diffs (17 lines):

diff -r d2ac720a996f -r 07a9a6a996b0 meta-pkgs/boost/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/meta-pkgs/boost/patches/patch-ad  Fri Aug 21 15:12:19 2009 +0000
@@ -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 ) ) )



Home | Main Index | Thread Index | Old Index