[SCM] gdal branch, master, updated. upstream/1.10.1+dfsg-83-g13b1eb8

Bas Couwenberg sebastic at xs4all.nl
Fri Jan 10 19:22:21 UTC 2014


The following commit has been merged in the master branch:
commit 13b1eb82c3dd3f8f2d71d3ad76c351b59bd59be0
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Jan 10 20:21:26 2014 +0100

    Add patch to fix FTBFS on hurd-i386 which doesn't defined PATH_MAX.

diff --git a/debian/changelog b/debian/changelog
index 0f8e3f4..ff4a6dc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+gdal (1.10.1+dfsg-3) UNRELEASED; urgency=low
+
+  * Add patch to fix FTBFS on hurd-i386 which doesn't defined PATH_MAX.
+
+ -- Bas Couwenberg <sebastic at xs4all.nl>  Fri, 10 Jan 2014 20:19:50 +0100
+
 gdal (1.10.1+dfsg-2) unstable; urgency=medium
 
   * Moved to libhdf5-dev b-d with the right versioning. 
diff --git a/debian/patches/hurd-i386-pathmax b/debian/patches/hurd-i386-pathmax
new file mode 100644
index 0000000..d48e149
--- /dev/null
+++ b/debian/patches/hurd-i386-pathmax
@@ -0,0 +1,16 @@
+Description: Fix FTBFS on hurd-i386 which doesn't define PATH_MAX
+Author: Bas Couwenberg <sebastic at xs4all.nl>
+Last-Update: 2013-01-10
+--- a/ogr/ogrsf_frmts/ili/iom/iom_p.h
++++ b/ogr/ogrsf_frmts/ili/iom/iom_p.h
+@@ -69,6 +69,10 @@
+    #define dbgnew   new
+ #endif // _DEBUG
+ 
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ #ifdef _MSC_VER
+ #define IOM_PATH_MAX _MAX_PATH
+ #else
diff --git a/debian/patches/series b/debian/patches/series
index 811006b..5343ece 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -27,3 +27,4 @@ algoritm-typo
 allows-typo
 doc-brief
 hardening
+hurd-i386-pathmax

-- 
GDAL/OGR library and tools



More information about the Pkg-grass-devel mailing list