Author: malat
Date: 2013-12-31 10:39:23 +0000 (Tue, 31 Dec 2013)
New Revision: 15687

Added:
   trunk/packages/socket++/trunk/debian/patches/sys_errlist.patch
Modified:
   trunk/packages/socket++/trunk/debian/changelog
   trunk/packages/socket++/trunk/debian/patches/series
Log:
Final touch for hurd

Modified: trunk/packages/socket++/trunk/debian/changelog
===================================================================
--- trunk/packages/socket++/trunk/debian/changelog      2013-12-31 09:18:26 UTC 
(rev 15686)
+++ trunk/packages/socket++/trunk/debian/changelog      2013-12-31 10:39:23 UTC 
(rev 15687)
@@ -1,3 +1,9 @@
+socket++ (1.12.13-7) unstable; urgency=low
+
+  * Hurd does not support sys_errlist
+
+ -- Mathieu Malaterre <[email protected]>  Tue, 31 Dec 2013 11:39:02 +0100
+
 socket++ (1.12.13-6) unstable; urgency=low
 
   * Final fixes for Hurd

Modified: trunk/packages/socket++/trunk/debian/patches/series
===================================================================
--- trunk/packages/socket++/trunk/debian/patches/series 2013-12-31 09:18:26 UTC 
(rev 15686)
+++ trunk/packages/socket++/trunk/debian/patches/series 2013-12-31 10:39:23 UTC 
(rev 15687)
@@ -3,3 +3,4 @@
 hurd3.patch
 hurd4.patch
 hurd5.patch
+sys_errlist.patch

Added: trunk/packages/socket++/trunk/debian/patches/sys_errlist.patch
===================================================================
--- trunk/packages/socket++/trunk/debian/patches/sys_errlist.patch              
                (rev 0)
+++ trunk/packages/socket++/trunk/debian/patches/sys_errlist.patch      
2013-12-31 10:39:23 UTC (rev 15687)
@@ -0,0 +1,16 @@
+Description: Fix compilation issue on HURD
+ 
http://www.gnu.org/software/hurd/hurd/porting/guidelines.html#sys_errlist_tt_vs_strerror_tt_
+Author: Mathieu Malaterre <[email protected]>
+Forwarded: no
+
+--- socket++-1.12.13.orig/socket++/sockstream.cpp
++++ socket++-1.12.13/socket++/sockstream.cpp
+@@ -127,7 +127,7 @@ using namespace std;
+ const char* sockerr::errstr () const
+ {
+ #ifndef WIN32
+-  return SYS_ERRLIST [err];
++  return strerror(err);
+ #else
+       return 0; // TODO
+ #endif


_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to