Author: malat-guest Date: 2012-02-02 15:42:18 +0000 (Thu, 02 Feb 2012) New Revision: 9549
Modified: trunk/packages/gdcm/trunk/debian/changelog trunk/packages/gdcm/trunk/debian/patches/fixhurd.patch Log: hurd compilation fix Modified: trunk/packages/gdcm/trunk/debian/changelog =================================================================== --- trunk/packages/gdcm/trunk/debian/changelog 2012-02-02 15:34:44 UTC (rev 9548) +++ trunk/packages/gdcm/trunk/debian/changelog 2012-02-02 15:42:18 UTC (rev 9549) @@ -1,3 +1,9 @@ +gdcm (2.2.0-5) unstable; urgency=low + + * Another compilation fix for hurd-i386. + + -- Mathieu Malaterre <[email protected]> Thu, 02 Feb 2012 16:41:42 +0100 + gdcm (2.2.0-4) unstable; urgency=low * Fix compilation on hurd-i386 (PATH_MAX). Modified: trunk/packages/gdcm/trunk/debian/patches/fixhurd.patch =================================================================== --- trunk/packages/gdcm/trunk/debian/patches/fixhurd.patch 2012-02-02 15:34:44 UTC (rev 9548) +++ trunk/packages/gdcm/trunk/debian/patches/fixhurd.patch 2012-02-02 15:42:18 UTC (rev 9549) @@ -13,3 +13,18 @@ // return size of file; also returns zero if no file exists size_t System::FileSize(const char* filename) { +Index: gdcm-2.2.0/Source/DataDictionary/gdcmGlobal.cxx +=================================================================== +--- gdcm-2.2.0.orig/Source/DataDictionary/gdcmGlobal.cxx 2012-02-02 16:40:05.000000000 +0100 ++++ gdcm-2.2.0/Source/DataDictionary/gdcmGlobal.cxx 2012-02-02 16:40:40.000000000 +0100 +@@ -131,6 +131,10 @@ + return true; + } + ++#ifndef PATH_MAX ++#define PATH_MAX 4096 ++#endif ++ + const char *Global::Locate(const char *resfile) const + { + #ifdef _WIN32 _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
