diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:30:23 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:30:23 +0000 |
commit | ac0f5a1ebada5cd8df1c8e6e52332cfdd4adcb02 (patch) | |
tree | 991359ae92f4a3cc0e3cd0cb045a278e3d23cbd6 /debian/patches/01_hurd_ftbfs.patch | |
parent | Adding upstream version 2.10.34. (diff) | |
download | gimp-debian/2.10.34-1+deb12u2.tar.xz gimp-debian/2.10.34-1+deb12u2.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/01_hurd_ftbfs.patch')
-rw-r--r-- | debian/patches/01_hurd_ftbfs.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/patches/01_hurd_ftbfs.patch b/debian/patches/01_hurd_ftbfs.patch new file mode 100644 index 0000000..087cba2 --- /dev/null +++ b/debian/patches/01_hurd_ftbfs.patch @@ -0,0 +1,24 @@ +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: https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/424 +Applied-upstream: no +--- + libgimpbase/gimpreloc.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/libgimpbase/gimpreloc.c b/libgimpbase/gimpreloc.c +index b9fa4df..8cd72f9 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 |