[med-svn] r10021 - trunk/packages/gdcm/trunk/debian/patches
Mathieu Malaterre
malat-guest at alioth.debian.org
Mon Mar 19 08:49:43 UTC 2012
Author: malat-guest
Date: 2012-03-19 08:49:42 +0000 (Mon, 19 Mar 2012)
New Revision: 10021
Modified:
trunk/packages/gdcm/trunk/debian/patches/fixhurd.patch
Log:
rework the GNU/Hurd port
Modified: trunk/packages/gdcm/trunk/debian/patches/fixhurd.patch
===================================================================
--- trunk/packages/gdcm/trunk/debian/patches/fixhurd.patch 2012-03-18 17:48:14 UTC (rev 10020)
+++ trunk/packages/gdcm/trunk/debian/patches/fixhurd.patch 2012-03-19 08:49:42 UTC (rev 10021)
@@ -1,3 +1,5 @@
+According to explanation from:
+http://www.gnu.org/software/hurd/hurd/porting/guidelines.html#GNU_specific_define_tt_
Index: gdcm-2.2.0/Source/Common/gdcmSystem.cxx
===================================================================
--- gdcm-2.2.0.orig/Source/Common/gdcmSystem.cxx 2012-02-02 13:39:38.000000000 +0100
@@ -37,7 +39,7 @@
msg_dontroute = MSG_DONTROUTE
-#if !(defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__))
-+#if !(defined(__FreeBSD__) || defined(__GNU_HURD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__))
++#if !(defined(__FreeBSD__) || defined(__GNU__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__))
,msg_maxiovlen = MSG_MAXIOVLEN
#endif
};
@@ -50,7 +52,7 @@
// the above breaks on some old MacOSX system where prototype is:
// extern "C" int gethostname (char* hostname, int len);
-#if !(defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__))
-+#if !(defined(__FreeBSD__) || defined(__GNU_HURD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__))
++#if !(defined(__FreeBSD__) || defined(__GNU__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__))
extern char* SYS_SIGLIST [];
#endif
#endif
More information about the debian-med-commit
mailing list