[med-svn] r9481 - in trunk/packages/gdcm/trunk/debian: . patches

Mathieu Malaterre malat-guest at alioth.debian.org
Sat Jan 28 14:43:38 UTC 2012


Author: malat-guest
Date: 2012-01-28 14:43:37 +0000 (Sat, 28 Jan 2012)
New Revision: 9481

Added:
   trunk/packages/gdcm/trunk/debian/patches/kfreebsdfix.patch
Modified:
   trunk/packages/gdcm/trunk/debian/changelog
   trunk/packages/gdcm/trunk/debian/patches/series
Log:
Fix on kfreebsd

Modified: trunk/packages/gdcm/trunk/debian/changelog
===================================================================
--- trunk/packages/gdcm/trunk/debian/changelog	2012-01-28 14:33:07 UTC (rev 9480)
+++ trunk/packages/gdcm/trunk/debian/changelog	2012-01-28 14:43:37 UTC (rev 9481)
@@ -1,3 +1,9 @@
+gdcm (2.2.0-2) UNRELEASED; urgency=low
+
+  * Fix compilation on kFreeBSD
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Sat, 28 Jan 2012 15:43:10 +0100
+
 gdcm (2.2.0-1) experimental; urgency=low
 
   * New upstream. Closes: #655783, #656969

Added: trunk/packages/gdcm/trunk/debian/patches/kfreebsdfix.patch
===================================================================
--- trunk/packages/gdcm/trunk/debian/patches/kfreebsdfix.patch	                        (rev 0)
+++ trunk/packages/gdcm/trunk/debian/patches/kfreebsdfix.patch	2012-01-28 14:43:37 UTC (rev 9481)
@@ -0,0 +1,28 @@
+Index: gdcm-2.2.0/Utilities/socketxx/socket++/local.h
+===================================================================
+--- gdcm-2.2.0.orig/Utilities/socketxx/socket++/local.h	2012-01-28 15:41:05.000000000 +0100
++++ gdcm-2.2.0/Utilities/socketxx/socket++/local.h	2012-01-28 15:41:25.000000000 +0100
+@@ -98,7 +98,7 @@
+ // the above breaks on some old MacOSX system where prototype is:
+ //  extern "C" int gethostname (char* hostname, int len);
+ #if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__))
+-  extern char* SYS_SIGLIST [];
++//  extern char* SYS_SIGLIST [];
+ #endif
+ #endif
+ 
+Index: gdcm-2.2.0/Utilities/socketxx/socket++/sockstream.h
+===================================================================
+--- gdcm-2.2.0.orig/Utilities/socketxx/socket++/sockstream.h	2012-01-28 15:41:55.000000000 +0100
++++ gdcm-2.2.0/Utilities/socketxx/socket++/sockstream.h	2012-01-28 15:42:48.000000000 +0100
+@@ -166,8 +166,10 @@
+             msg_dontroute    = MSG_DONTROUTE
+ 
+ #if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__))
++#ifdef MSG_MAXIOVLEN
+             ,msg_maxiovlen    = MSG_MAXIOVLEN
+ #endif
++#endif
+         };
+         enum shuthow {
+             shut_read,

Modified: trunk/packages/gdcm/trunk/debian/patches/series
===================================================================
--- trunk/packages/gdcm/trunk/debian/patches/series	2012-01-28 14:33:07 UTC (rev 9480)
+++ trunk/packages/gdcm/trunk/debian/patches/series	2012-01-28 14:43:37 UTC (rev 9481)
@@ -5,3 +5,4 @@
 doxygen_svg.patch
 stableapi.patch
 activiz.net.patch
+kfreebsdfix.patch




More information about the debian-med-commit mailing list