Package: gimp / 2.10.8-2

01_hurd_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
From: Svante Signell <svante.signell@telia.com>
Date: Sun, 1 Apr 2018 17:43:04 -0400
Subject: Define PATH_MAX to fix build on the Hurd.

Forwarded: no
---
 libgimpbase/gimpreloc.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libgimpbase/gimpreloc.c b/libgimpbase/gimpreloc.c
index c00d64c..bc7324a 100644
--- a/libgimpbase/gimpreloc.c
+++ b/libgimpbase/gimpreloc.c
@@ -27,6 +27,9 @@
 
 #include "gimpreloc.h"
 
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
 
 /*
  * Find the canonical filename of the executable. Returns the filename