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

smr at alioth.debian.org smr at alioth.debian.org
Mon Oct 27 05:51:46 UTC 2008


Author: smr
Date: 2008-10-27 05:51:46 +0000 (Mon, 27 Oct 2008)
New Revision: 14291

Added:
   boost/trunk/debian/patches/endian.patch
Modified:
   boost/trunk/debian/changelog
   boost/trunk/debian/patches/series
Log:
Use endian.h unconditionally on Debian systems.

Modified: boost/trunk/debian/changelog
===================================================================
--- boost/trunk/debian/changelog	2008-10-27 05:49:38 UTC (rev 14290)
+++ boost/trunk/debian/changelog	2008-10-27 05:51:46 UTC (rev 14291)
@@ -1,3 +1,10 @@
+boost1.36 (1.36.0-2) unstable; urgency=low
+
+  * debian/patches/endian.patch: New.  Include <endian.h> unconditionally
+    on all Debian systems.
+
+ -- Steve M. Robbins <smr at debian.org>  Mon, 27 Oct 2008 00:49:42 -0500
+
 boost1.36 (1.36.0-1) unstable; urgency=low
 
   * New upstream version.  Closes: #495179.

Added: boost/trunk/debian/patches/endian.patch
===================================================================
--- boost/trunk/debian/patches/endian.patch	                        (rev 0)
+++ boost/trunk/debian/patches/endian.patch	2008-10-27 05:51:46 UTC (rev 14291)
@@ -0,0 +1,14 @@
+2008-10-27: It seems that __GLIBC__ is no longer defined.
+Assume all Debian systems have <endian.h>.
+
+--- boost-1.34.1.orig/boost/detail/endian.hpp
++++ boost-1.34.1/boost/detail/endian.hpp
+@@ -30,7 +30,7 @@
+ // GNU libc offers the helpful header <endian.h> which defines
+ // __BYTE_ORDER
+ 
+-#if defined (__GLIBC__)
++#if 1
+ # include <endian.h>
+ # if (__BYTE_ORDER == __LITTLE_ENDIAN)
+ #  define BOOST_LITTLE_ENDIAN

Modified: boost/trunk/debian/patches/series
===================================================================
--- boost/trunk/debian/patches/series	2008-10-27 05:49:38 UTC (rev 14290)
+++ boost/trunk/debian/patches/series	2008-10-27 05:51:46 UTC (rev 14291)
@@ -1,3 +1,4 @@
+endian.patch
 avoid-PATH_MAX.patch
 jam-wall-clean.patch
 python2.5-elementtree.patch




More information about the pkg-boost-commits mailing list