[SCM] LHAPDF: Les Houches Accord PDF Interface branch, master, updated. upstream/5.8.7-3-ge2b6a20

Lifeng Sun lifongsun at gmail.com
Sun Jun 3 06:06:37 UTC 2012


The following commit has been merged in the master branch:
commit e2b6a20e77b977672fea94094bc6004c311069e3
Author: Lifeng Sun <lifongsun at gmail.com>
Date:   Sun Jun 3 14:05:48 2012 +0800

    Define PATH_MAX to fix FTBFS on hurd-i386.

diff --git a/debian/changelog b/debian/changelog
index e39bdca..ec6674d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+lhapdf (5.8.7-2) unstable; urgency=low
+
+  * Define PATH_MAX to fix FTBFS on hurd-i386.
+
+ -- Lifeng Sun <lifongsun at gmail.com>  Sun, 03 Jun 2012 00:07:33 +0800
+
 lhapdf (5.8.7-1) unstable; urgency=low
 
   * Initial release (Closes: #636978)
diff --git a/debian/patches/path-max.patch b/debian/patches/path-max.patch
new file mode 100644
index 0000000..b209dc9
--- /dev/null
+++ b/debian/patches/path-max.patch
@@ -0,0 +1,13 @@
+--- a/src/binreloc.c
++++ b/src/binreloc.c
+@@ -24,6 +24,10 @@
+ #include <string.h>
+ #include "binreloc.h"
+ 
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif /* __cplusplus */
diff --git a/debian/patches/series b/debian/patches/series
index 4e5baf1..7f2e32a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ fix-lhapdf-config.patch
 dont-build-and-install-doc-by-default.patch
 fix-test-environment.patch
 fix-typo.patch
+path-max.patch

-- 
LHAPDF: Les Houches Accord PDF Interface



More information about the debian-science-commits mailing list