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

Mathieu Malaterre malat-guest at alioth.debian.org
Thu Feb 2 12:42:05 UTC 2012


Author: malat-guest
Date: 2012-02-02 12:42:05 +0000 (Thu, 02 Feb 2012)
New Revision: 9544

Added:
   trunk/packages/gdcm/trunk/debian/patches/fixhurd.patch
Modified:
   trunk/packages/gdcm/trunk/debian/changelog
   trunk/packages/gdcm/trunk/debian/patches/series
Log:
Fix comp on hurd

Modified: trunk/packages/gdcm/trunk/debian/changelog
===================================================================
--- trunk/packages/gdcm/trunk/debian/changelog	2012-02-02 09:10:44 UTC (rev 9543)
+++ trunk/packages/gdcm/trunk/debian/changelog	2012-02-02 12:42:05 UTC (rev 9544)
@@ -1,3 +1,9 @@
+gdcm (2.2.0-4) unstable; urgency=low
+
+  * Fix compilation on hurd-i386 (PATH_MAX).
+
+ -- Mathieu Malaterre <mathieu.malaterre at gmail.com>  Thu, 02 Feb 2012 13:41:43 +0100
+
 gdcm (2.2.0-3) unstable; urgency=low
 
   * Another compilation fix for kFreeBSD.

Added: trunk/packages/gdcm/trunk/debian/patches/fixhurd.patch
===================================================================
--- trunk/packages/gdcm/trunk/debian/patches/fixhurd.patch	                        (rev 0)
+++ trunk/packages/gdcm/trunk/debian/patches/fixhurd.patch	2012-02-02 12:42:05 UTC (rev 9544)
@@ -0,0 +1,15 @@
+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
++++ gdcm-2.2.0/Source/Common/gdcmSystem.cxx	2012-02-02 13:40:29.000000000 +0100
+@@ -363,6 +363,10 @@
+   return Rmdir(source) == 0;
+ }
+ 
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ // return size of file; also returns zero if no file exists
+ size_t System::FileSize(const char* filename)
+ {

Modified: trunk/packages/gdcm/trunk/debian/patches/series
===================================================================
--- trunk/packages/gdcm/trunk/debian/patches/series	2012-02-02 09:10:44 UTC (rev 9543)
+++ trunk/packages/gdcm/trunk/debian/patches/series	2012-02-02 12:42:05 UTC (rev 9544)
@@ -7,3 +7,4 @@
 activiz.net.patch
 kfreebsdfix.patch
 removepythonlink.patch
+fixhurd.patch




More information about the debian-med-commit mailing list