diff options
author | Sam James <sam@gentoo.org> | 2023-12-27 22:48:18 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-12-27 22:48:18 +0000 |
commit | 53ad9b81118ada34df80b4a85208e4ec2d04a0bb (patch) | |
tree | a03d4b9c83125d4e7eb119e7b03b4f46f9d6e585 /media-gfx | |
parent | media-gfx/imagemagick: fix perl build w/ autoconf-2.72 (diff) | |
download | gentoo-53ad9b81118ada34df80b4a85208e4ec2d04a0bb.tar.gz gentoo-53ad9b81118ada34df80b4a85208e4ec2d04a0bb.tar.bz2 gentoo-53ad9b81118ada34df80b4a85208e4ec2d04a0bb.zip |
media-gfx/graphicsmagick: fix perl build w/ autoconf-2.72
Closes: 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.patch | 13 | ||||
-rw-r--r-- | media-gfx/graphicsmagick/graphicsmagick-1.3.42.ebuild | 1 |
2 files changed, 14 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..4092a7303dc9 --- /dev/null +++ b/media-gfx/graphicsmagick/files/graphicsmagick-1.3.42-autoconf-2.72-perl-lfs.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/920788 +https://github.com/ImageMagick/ImageMagick/pull/6978 +--- 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 diff --git a/media-gfx/graphicsmagick/graphicsmagick-1.3.42.ebuild b/media-gfx/graphicsmagick/graphicsmagick-1.3.42.ebuild index e06b4db947e2..e95dedd071e0 100644 --- a/media-gfx/graphicsmagick/graphicsmagick-1.3.42.ebuild +++ b/media-gfx/graphicsmagick/graphicsmagick-1.3.42.ebuild @@ -68,6 +68,7 @@ BDEPEND+=" virtual/pkgconfig" PATCHES=( "${FILESDIR}"/${PN}-1.3.41-flags.patch "${FILESDIR}"/${PN}-1.3.41-perl.patch + "${FILESDIR}"/${PN}-1.3.42-autoconf-2.72-perl-lfs.patch ) pkg_pretend() { |