Package: dvdisaster / 0.79.5-10

22-fix-hurd-i386-ftbfs.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From: Carlos Maddela <e7appew@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@gmail.com>
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 15ce4ad..df4203c 100644
--- a/menubar.c
+++ b/menubar.c
@@ -24,6 +24,10 @@
 
 #include <limits.h>
 
+#ifndef PATH_MAX
+  #define PATH_MAX 4096
+#endif
+
 /***
  *** Forward declarations
  ***/