giflib: fix macOS build (#31234)

This commit is contained in:
Adam J. Stewart 2022-06-24 02:28:44 -07:00 committed by GitHub
parent 1375b1975b
commit 9fad3ed5f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,6 +22,10 @@ class Giflib(MakefilePackage, SourceforgePackage):
depends_on('m4', type='build', when='@:5.2.0')
depends_on('libtool', type='build', when='@:5.2.0')
# https://sourceforge.net/p/giflib/bugs/133/
patch('https://sourceforge.net/p/giflib/bugs/_discuss/thread/4e811ad29b/c323/attachment/Makefile.patch',
sha256='a94e7bdd8840a31cecacc301684dfdbf7b98773ad824aeaab611fabfdc513036',
level=0, when='@5.2:')
patch('bsd-head.patch')
def prefix_and_libversion_args(self):