summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-12-27 22:55:47 +0000
committerSam James <sam@gentoo.org>2023-12-27 22:55:47 +0000
commit60c37bb01235c28144854631e3230c894a63621a (patch)
tree04c16daabbdf73d2e9ff8256a4f390ea6c0c89c7 /media-gfx
parentmedia-gfx/graphicsmagick: fix perl build w/ autoconf-2.72 (diff)
downloadgentoo-60c37bb01235c28144854631e3230c894a63621a.tar.gz
gentoo-60c37bb01235c28144854631e3230c894a63621a.tar.bz2
gentoo-60c37bb01235c28144854631e3230c894a63621a.zip
media-gfx/graphicsmagick: enhance patch description
Bug: https://bugs.gentoo.org/920788 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/graphicsmagick/files/graphicsmagick-1.3.42-autoconf-2.72-perl-lfs.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-gfx/graphicsmagick/files/graphicsmagick-1.3.42-autoconf-2.72-perl-lfs.patch b/media-gfx/graphicsmagick/files/graphicsmagick-1.3.42-autoconf-2.72-perl-lfs.patch
index 4092a7303dc9..05e151c1efab 100644
--- a/media-gfx/graphicsmagick/files/graphicsmagick-1.3.42-autoconf-2.72-perl-lfs.patch
+++ b/media-gfx/graphicsmagick/files/graphicsmagick-1.3.42-autoconf-2.72-perl-lfs.patch
@@ -1,5 +1,17 @@
+Sent upstream by mail.
+
https://bugs.gentoo.org/920788
https://github.com/ImageMagick/ImageMagick/pull/6978
+
+configure.ac: fixup LFS check for autoconf-2.72
+
+For the 'other' case, we were using the value of ac_cv_sys_file_offset_bits for
+-D_FILE_OFFSET_BITS to pass down into the Perl module build, but autoconf-2.72
+drops the use of ac_cv_sys_file_offset_bits in cf09f48841b66fe76f606dd6018bb3a93242a7c9,
+so this ends up defining '-D_FILE_OFFSET_BITS=' which then breaks the build.
+
+I've just added a hack to preserve the old behaviour to avoid passing a blank
+value.
--- a/configure.ac
+++ b/configure.ac
@@ -386,7 +386,7 @@ AC_FUNC_FSEEKO