summaryrefslogtreecommitdiffstats
path: root/debian/patches/02_hurd_ftbfs.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:30:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:30:23 +0000
commitac0f5a1ebada5cd8df1c8e6e52332cfdd4adcb02 (patch)
tree991359ae92f4a3cc0e3cd0cb045a278e3d23cbd6 /debian/patches/02_hurd_ftbfs.patch
parentAdding upstream version 2.10.34. (diff)
downloadgimp-ac0f5a1ebada5cd8df1c8e6e52332cfdd4adcb02.tar.xz
gimp-ac0f5a1ebada5cd8df1c8e6e52332cfdd4adcb02.zip
Adding debian version 2.10.34-1+deb12u2.debian/2.10.34-1+deb12u2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/02_hurd_ftbfs.patch')
-rw-r--r--debian/patches/02_hurd_ftbfs.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/02_hurd_ftbfs.patch b/debian/patches/02_hurd_ftbfs.patch
new file mode 100644
index 0000000..f4c1fc7
--- /dev/null
+++ b/debian/patches/02_hurd_ftbfs.patch
@@ -0,0 +1,25 @@
+From: Svante Signell <svante.signell@gmail.com>
+Date: Tue, 6 Aug 2019 21:04:22 +0200
+Subject: qbist: Define PATH_MAX on Hurd
+
+Bug-Debian: https://bugs.debian.org/934077
+Forwarded: https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/424
+Applied-upstream: no
+---
+ plug-ins/common/qbist.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/plug-ins/common/qbist.c b/plug-ins/common/qbist.c
+index f8f94d4..6f1b582 100644
+--- a/plug-ins/common/qbist.c
++++ b/plug-ins/common/qbist.c
+@@ -38,6 +38,9 @@
+
+ #include "libgimp/stdplugins-intl.h"
+
++#ifndef PATH_MAX
++#define PATH_MAX 4096
++#endif
+
+ /** qbist renderer ***********************************************************/
+