diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-28 01:37:43 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-28 01:37:43 +0000 |
commit | e67d5b4ba05349b3bf4229d0cf7d069809c4420e (patch) | |
tree | 0fe2174d8edf159924d772ad279f37faba8d5b6a /media-gfx/graphicsmagick/files | |
parent | 249ae8c1a241b514fc83737660927ee175091346 (diff) |
gentoo auto-resync : 28:12:2023 - 01:37:43
Diffstat (limited to 'media-gfx/graphicsmagick/files')
-rw-r--r-- | media-gfx/graphicsmagick/files/graphicsmagick-1.3.42-autoconf-2.72-perl-lfs.patch | 25 |
1 files changed, 25 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 new file mode 100644 index 000000000000..05e151c1efab --- /dev/null +++ b/media-gfx/graphicsmagick/files/graphicsmagick-1.3.42-autoconf-2.72-perl-lfs.patch @@ -0,0 +1,25 @@ +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 + LFS_CPPFLAGS='' + if test "$enable_largefile" != no + then +- if test "$ac_cv_sys_file_offset_bits" != 'no' ++ if test "$ac_cv_sys_file_offset_bits" != 'no' && test -n "$ac_cv_sys_file_offset_bits" + then + LFS_CPPFLAGS="$LFS_CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits" + fi |