summaryrefslogtreecommitdiffstats
path: root/debian/patches/02_hurd_ftbfs.patch
blob: f4c1fc7c14dcdb4357fd92df987e8b2c8ad74013 (plain)
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
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 ***********************************************************/