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

smr at alioth.debian.org smr at alioth.debian.org
Sun Nov 23 04:57:54 UTC 2008


Author: smr
Date: 2008-11-23 04:57:53 +0000 (Sun, 23 Nov 2008)
New Revision: 14334

Added:
   boost/branches/1.36.0/debian/patches/system-error-code.patch
Modified:
   boost/branches/1.36.0/debian/changelog
   boost/branches/1.36.0/debian/patches/series
Log:
Restore get_posix_category().

Modified: boost/branches/1.36.0/debian/changelog
===================================================================
--- boost/branches/1.36.0/debian/changelog	2008-11-22 12:01:15 UTC (rev 14333)
+++ boost/branches/1.36.0/debian/changelog	2008-11-23 04:57:53 UTC (rev 14334)
@@ -1,3 +1,11 @@
+boost1.36 (1.36.0-9) unstable; urgency=low
+
+  * patches/system-error-code.patch: New.  Restore function
+    get_posix_category().  Closes: #503917.  Thanks to Deng Xiyue for
+    researching the fix.
+
+ -- Steve M. Robbins <smr at debian.org>  Sat, 22 Nov 2008 22:55:04 -0600
+
 boost1.36 (1.36.0-8) unstable; urgency=low
 
   * patches/atomic_count_gcc.patch: Fix detection of GCC >= 4.2.

Modified: boost/branches/1.36.0/debian/patches/series
===================================================================
--- boost/branches/1.36.0/debian/patches/series	2008-11-22 12:01:15 UTC (rev 14333)
+++ boost/branches/1.36.0/debian/patches/series	2008-11-23 04:57:53 UTC (rev 14334)
@@ -1,3 +1,4 @@
+system-error-code.patch
 no-long-double-math.patch
 add-disable-long-double.patch
 math_tools_config.patch

Added: boost/branches/1.36.0/debian/patches/system-error-code.patch
===================================================================
--- boost/branches/1.36.0/debian/patches/system-error-code.patch	                        (rev 0)
+++ boost/branches/1.36.0/debian/patches/system-error-code.patch	2008-11-23 04:57:53 UTC (rev 14334)
@@ -0,0 +1,26 @@
+Changeset 49717 from Boost SVN.
+Applies to 1.36, 1.37.  Should be fixed upstream post 1.37.
+
+Fixes upstream https://svn.boost.org/trac/boost/ticket/2461
+Debian http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503917
+
+
+--- boost1.36-1.36.0.orig/boost/system/error_code.hpp
++++ boost1.36-1.36.0/boost/system/error_code.hpp
+@@ -207,6 +207,7 @@
+     
+ # ifndef BOOST_SYSTEM_NO_DEPRECATED
+     //  deprecated synonyms
++    inline const error_category &  get_posix_category() { return get_generic_category(); }
+     static const error_category &  posix_category = get_generic_category();
+     static const error_category &  errno_ecat     = get_generic_category();
+     static const error_category &  native_ecat    = get_system_category();
+@@ -214,7 +215,7 @@
+ 
+     //  class error_condition  -----------------------------------------------//
+ 
+-    //  error_conditions are portable, error_codes are system or lib specific
++    //  error_conditions are portable, error_codes are system or library specific
+ 
+     class error_condition
+     {




More information about the pkg-boost-commits mailing list