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

Steven Michael Robbins smr at alioth.debian.org
Wed Aug 26 03:41:20 UTC 2009


Author: smr
Date: 2009-08-26 03:41:20 +0000 (Wed, 26 Aug 2009)
New Revision: 14470

Added:
   boost/trunk/debian/patches/sh4.patch
Modified:
   boost/trunk/debian/changelog
   boost/trunk/debian/patches/series
   boost/trunk/debian/rules
Log:
Add support for Renesas SH CPU.

Modified: boost/trunk/debian/changelog
===================================================================
--- boost/trunk/debian/changelog	2009-08-26 03:10:12 UTC (rev 14469)
+++ boost/trunk/debian/changelog	2009-08-26 03:41:20 UTC (rev 14470)
@@ -5,8 +5,12 @@
   
   * patches/function-template.patch: Re-instated, since patch did not make
     it to this release of Boost.  Closes: #543576.
+  
+  * rules:
+  * patches/sh4.patch: Add support for Renesas SH CPU.  Patch based on
+    initial work by Nobuhiro Iwamatsu.  Closes: #535930.
 
- -- Steve M. Robbins <smr at debian.org>  Tue, 25 Aug 2009 22:09:07 -0500
+ -- Steve M. Robbins <smr at debian.org>  Tue, 25 Aug 2009 22:40:25 -0500
 
 boost1.39 (1.39.0-1) unstable; urgency=low
 

Modified: boost/trunk/debian/patches/series
===================================================================
--- boost/trunk/debian/patches/series	2009-08-26 03:10:12 UTC (rev 14469)
+++ boost/trunk/debian/patches/series	2009-08-26 03:41:20 UTC (rev 14470)
@@ -10,4 +10,5 @@
 jam-wall-clean.patch
 boost_python_translate_exception.patch
 wave-cpp.patch
-function-template.patch
\ No newline at end of file
+function-template.patch
+sh4.patch

Added: boost/trunk/debian/patches/sh4.patch
===================================================================
--- boost/trunk/debian/patches/sh4.patch	                        (rev 0)
+++ boost/trunk/debian/patches/sh4.patch	2009-08-26 03:41:20 UTC (rev 14470)
@@ -0,0 +1,17 @@
+Add support for Renesas SH CPU.
+Patch based on initial work by Nobuhiro Iwamatsu
+See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535930
+
+--- boost1.39-1.39.0.orig/boost/smart_ptr/detail/sp_has_sync.hpp
++++ boost1.39-1.39.0/boost/smart_ptr/detail/sp_has_sync.hpp
+@@ -40,6 +40,10 @@
+ #undef BOOST_SP_HAS_SYNC
+ #endif
+ 
++#if defined( __sh__ )
++#undef BOOST_SP_HAS_SYNC
++#endif
++
+ #if defined( __INTEL_COMPILER ) && !defined( __ia64__ )
+ #undef BOOST_SP_HAS_SYNC
+ #endif

Modified: boost/trunk/debian/rules
===================================================================
--- boost/trunk/debian/rules	2009-08-26 03:10:12 UTC (rev 14469)
+++ boost/trunk/debian/rules	2009-08-26 03:41:20 UTC (rev 14470)
@@ -127,6 +127,8 @@
 BUILD_LONG_DOUBLE = no
 else ifeq ($(DEB_BUILD_ARCH), mipsel)
 BUILD_LONG_DOUBLE = no
+else ifeq ($(DEB_BUILD_ARCH), sh4)
+BUILD_LONG_DOUBLE = no
 endif
 
 ifeq ($(BUILD_LONG_DOUBLE), yes)




More information about the pkg-boost-commits mailing list