[pkg-boost-commits] r14314 - in boost/branches/1.36.0/debian: . patches

smr at alioth.debian.org smr at alioth.debian.org
Tue Nov 11 07:25:29 UTC 2008


Author: smr
Date: 2008-11-11 07:25:29 +0000 (Tue, 11 Nov 2008)
New Revision: 14314

Added:
   boost/branches/1.36.0/debian/patches/sp_counted_base.patch
Modified:
   boost/branches/1.36.0/debian/changelog
   boost/branches/1.36.0/debian/patches/series
Log:
Fix build failure on Sparc by avoiding use of __sync_add_and_fetch_4.

Modified: boost/branches/1.36.0/debian/changelog
===================================================================
--- boost/branches/1.36.0/debian/changelog	2008-11-10 00:24:53 UTC (rev 14313)
+++ boost/branches/1.36.0/debian/changelog	2008-11-11 07:25:29 UTC (rev 14314)
@@ -1,3 +1,11 @@
+boost1.36 (1.36.0-4) unstable; urgency=low
+
+  * patches/sp_counted_base.patch: New.  Exclude sparc from
+    sp_counted_base_sync case since the sparc doesn't have
+    __sync_add_and_fetch_4.
+
+ -- Steve M. Robbins <smr at debian.org>  Tue, 11 Nov 2008 01:17:12 -0600
+
 boost1.36 (1.36.0-3) unstable; urgency=low
 
   * debian/rules: Include debug symbols in libboost-dbg.  Thanks for Tim

Modified: boost/branches/1.36.0/debian/patches/series
===================================================================
--- boost/branches/1.36.0/debian/patches/series	2008-11-10 00:24:53 UTC (rev 14313)
+++ boost/branches/1.36.0/debian/patches/series	2008-11-11 07:25:29 UTC (rev 14314)
@@ -1,3 +1,4 @@
+sp_counted_base.patch
 endian.patch
 avoid-PATH_MAX.patch
 jam-wall-clean.patch

Added: boost/branches/1.36.0/debian/patches/sp_counted_base.patch
===================================================================
--- boost/branches/1.36.0/debian/patches/sp_counted_base.patch	                        (rev 0)
+++ boost/branches/1.36.0/debian/patches/sp_counted_base.patch	2008-11-11 07:25:29 UTC (rev 14314)
@@ -0,0 +1,11 @@
+--- boost1.36-1.36.0.orig/boost/detail/sp_counted_base.hpp
++++ boost1.36-1.36.0/boost/detail/sp_counted_base.hpp
+@@ -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 )
++#elif defined(__GNUC__) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 ) && !defined( __arm__ ) && !defined( __hppa ) && !defined( __sparc ) && !defined( __sparc__ )
+ # include <boost/detail/sp_counted_base_sync.hpp>
+ 
+ #elif defined(__GNUC__) && ( defined( __sparcv8 ) || defined( __sparcv9 ) )




More information about the pkg-boost-commits mailing list