From 32de3b2c940a21936f18287bb7e87e5a744d8e92 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 2 Aug 2017 11:48:01 -0700 Subject: hurd-i386 build fix patch --- debian/patches/hurd_maxpathlen.patch | 23 +++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 24 insertions(+) create mode 100644 debian/patches/hurd_maxpathlen.patch (limited to 'debian/patches') diff --git a/debian/patches/hurd_maxpathlen.patch b/debian/patches/hurd_maxpathlen.patch new file mode 100644 index 0000000..53d70cc --- /dev/null +++ b/debian/patches/hurd_maxpathlen.patch @@ -0,0 +1,23 @@ +Description: Fix FTBFS on hurd-i386 +Author: Svante Signell +--- scm.orig/findexec.c ++++ scm/findexec.c +@@ -51,7 +51,7 @@ Wed Feb 21 23:06:35 1996 Aubrey Jaffer + # include + # include + # endif +-# if defined(linux) || defined(__GLIBC__) ++# if defined(linux) || defined(__GLIBC__) || defined(__GNU__) + # include + # include + # include +@@ -122,6 +122,9 @@ Wed Feb 21 23:06:35 1996 Aubrey Jaffer + # include + # include + # endif ++# ifndef MAXPATHLEN ++# define MAXPATHLEN 256 ++# endif + # ifdef GO32 + # include + # endif diff --git a/debian/patches/series b/debian/patches/series index 08793dc..102a07f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -3,3 +3,4 @@ kfreebsd_support.patch texinfo5_fixes.patch ppc64_short_int.patch arm64_short_int.patch +hurd_maxpathlen.patch -- cgit v1.2.3