[pkg-boost-commits] r14245 - in boost/trunk/debian: . patches

smr at alioth.debian.org smr at alioth.debian.org
Sun Aug 3 02:18:22 UTC 2008


Author: smr
Date: 2008-08-03 02:18:20 +0000 (Sun, 03 Aug 2008)
New Revision: 14245

Added:
   boost/trunk/debian/patches/sp_counted_base.patch
Modified:
   boost/trunk/debian/changelog
   boost/trunk/debian/patches/series
Log:
Avoid using __sync_fetch_and_add on ARM and HPPA.   Closes: #485434.

Modified: boost/trunk/debian/changelog
===================================================================
--- boost/trunk/debian/changelog	2008-08-03 01:49:10 UTC (rev 14244)
+++ boost/trunk/debian/changelog	2008-08-03 02:18:20 UTC (rev 14245)
@@ -9,6 +9,10 @@
     suggested patch, from upstream
     http://svn.boost.org/trac/boost/ticket/1822.  Closes: #491225.
   
+  * debian/patches/sp_counted_base.patch: New.  Avoid using
+    sp_counted_base_sync.hpp on ARM and HPPA, as those architectures do
+    not support atomic builtin __sync_fetch_and_add.  Closes: #485434.
+  
   * debian/patches/test-child-exit-t1723.patch: New.  Ignore child process
     if return status is zero (normal); fix for Boost ticket 1723.
   

Modified: boost/trunk/debian/patches/series
===================================================================
--- boost/trunk/debian/patches/series	2008-08-03 01:49:10 UTC (rev 14244)
+++ boost/trunk/debian/patches/series	2008-08-03 02:18:20 UTC (rev 14245)
@@ -4,5 +4,6 @@
 library-naming.patch
 suppress-compiler-warnings.patch
 serialisation-utility-include.patch
+sp_counted_base.patch
 gcc-4.3.patch
 date_time_date_formatting_hpp.patch

Added: boost/trunk/debian/patches/sp_counted_base.patch
===================================================================
--- boost/trunk/debian/patches/sp_counted_base.patch	                        (rev 0)
+++ boost/trunk/debian/patches/sp_counted_base.patch	2008-08-03 02:18:20 UTC (rev 14245)
@@ -0,0 +1,11 @@
+--- boost1.35-1.35.0.orig/boost/detail/sp_counted_base.hpp
++++ boost1.35-1.35.0/boost/detail/sp_counted_base.hpp
+@@ -51,7 +51,7 @@
+ 
+ # include <boost/detail/sp_counted_base_gcc_ppc.hpp>
+ 
+-#elif defined(__GNUC__) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 )
++#elif defined(__GNUC__) && ( __GNUC__ * 100 + __GNUC_MINOR__ >= 401 ) && !defined( __arm__ ) && !defined( __hppa )
+ 
+ # include <boost/detail/sp_counted_base_sync.hpp>
+ 




More information about the pkg-boost-commits mailing list