[Pkg-opt-media-team] [dvdisaster] 42/61: Fix FTBFS for hurd-i386.
Takaki Taniguchi
takaki at moszumanska.debian.org
Thu Feb 2 13:48:43 UTC 2017
This is an automated email from the git hooks/post-receive script.
takaki pushed a commit to branch master
in repository dvdisaster.
commit f85bbb920acd1844e8b1eba21e07e1b81af11845
Author: Carlos Maddela <e7appew at gmail.com>
Date: Wed Jan 4 04:02:30 2017 +1100
Fix FTBFS for hurd-i386.
Hurd does not have path length restrictions, so doesn't define
PATH_MAX. Assuming a PATH_MAX of 4096 as a quick workaround.
---
debian/patches/22-fix-hurd-i386-ftbfs.patch | 32 +++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 33 insertions(+)
diff --git a/debian/patches/22-fix-hurd-i386-ftbfs.patch b/debian/patches/22-fix-hurd-i386-ftbfs.patch
new file mode 100644
index 0000000..26540ca
--- /dev/null
+++ b/debian/patches/22-fix-hurd-i386-ftbfs.patch
@@ -0,0 +1,32 @@
+From: Carlos Maddela <e7appew at gmail.com>
+Date: Wed, 4 Jan 2017 03:55:58 +1100
+Subject: Fix FTBFS for hurd-i386.
+
+Description: Fix FTBFS for hurd-i386.
+ Hurd does not have path length restrictions, so doesn't define
+ PATH_MAX. Assuming a PATH_MAX of 4096 as a quick workaround.
+Author: Carlos Maddela <e7appew at gmail.com>
+Origin: vendor
+Forwarded: no
+Last-Update: 2017-01-04
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+---
+ menubar.c | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/menubar.c b/menubar.c
+index 33e6ba4..0a40e1a 100644
+--- a/menubar.c
++++ b/menubar.c
+@@ -23,6 +23,10 @@
+
+ #include <limits.h>
+
++#ifndef PATH_MAX
++ #define PATH_MAX 4096
++#endif
++
+ /***
+ *** Forward declarations
+ ***/
diff --git a/debian/patches/series b/debian/patches/series
index 89feb8e..46f0432 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -18,3 +18,4 @@
19-show-text-files-with-abs-path.patch
20-display-changelog-credits-and-todo.patch
21-fix-privacy-breach-in-doco.patch
+22-fix-hurd-i386-ftbfs.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opt-media/dvdisaster.git
More information about the Pkg-opt-media-team
mailing list