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

smr at alioth.debian.org smr at alioth.debian.org
Thu Nov 13 05:30:28 UTC 2008


Author: smr
Date: 2008-11-13 05:30:28 +0000 (Thu, 13 Nov 2008)
New Revision: 14320

Added:
   boost/branches/1.36.0/debian/patches/no-long-double-math.patch
Modified:
   boost/branches/1.36.0/debian/changelog
   boost/branches/1.36.0/debian/patches/series
Log:
Do not define log1p(long double) if BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS is defined.

Modified: boost/branches/1.36.0/debian/changelog
===================================================================
--- boost/branches/1.36.0/debian/changelog	2008-11-12 18:13:04 UTC (rev 14319)
+++ boost/branches/1.36.0/debian/changelog	2008-11-13 05:30:28 UTC (rev 14320)
@@ -1,3 +1,10 @@
+boost1.36 (1.36.0-5) unstable; urgency=low
+
+  * patches/no-long-double-math.patch: New.  Do not define log1p(long double) if
+    BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS is defined.
+
+ -- Steve M. Robbins <smr at debian.org>  Wed, 12 Nov 2008 23:28:17 -0600
+
 boost1.36 (1.36.0-4) unstable; urgency=low
 
   * patches/atomic_count.patch: New.  Exclude sparc and m68k from

Added: boost/branches/1.36.0/debian/patches/no-long-double-math.patch
===================================================================
--- boost/branches/1.36.0/debian/patches/no-long-double-math.patch	                        (rev 0)
+++ boost/branches/1.36.0/debian/patches/no-long-double-math.patch	2008-11-13 05:30:28 UTC (rev 14320)
@@ -0,0 +1,18 @@
+--- boost1.36-1.36.0.orig/boost/math/special_functions/log1p.hpp
++++ boost1.36-1.36.0/boost/math/special_functions/log1p.hpp
+@@ -330,6 +330,7 @@
+          "log1p<%1%>(%1%)", 0, pol);
+    return ::log1pf(x); 
+ }
++#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
+ template <class Policy>
+ inline long double log1p(long double x, const Policy& pol)
+ { 
+@@ -341,6 +342,7 @@
+          "log1p<%1%>(%1%)", 0, pol);
+    return ::log1pl(x); 
+ }
++#endif
+ #else
+ template <class Policy>
+ inline float log1p(float x, const Policy& pol)

Modified: boost/branches/1.36.0/debian/patches/series
===================================================================
--- boost/branches/1.36.0/debian/patches/series	2008-11-12 18:13:04 UTC (rev 14319)
+++ boost/branches/1.36.0/debian/patches/series	2008-11-13 05:30:28 UTC (rev 14320)
@@ -1,3 +1,4 @@
+no-long-double-math.patch
 add-disable-long-double.patch
 math_tools_config.patch
 atomic_count.patch




More information about the pkg-boost-commits mailing list