From 9fad3ed5f19f0ad61f382e0ef4f46692294cb95c Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Fri, 24 Jun 2022 02:28:44 -0700 Subject: [PATCH] giflib: fix macOS build (#31234) --- var/spack/repos/builtin/packages/giflib/package.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/var/spack/repos/builtin/packages/giflib/package.py b/var/spack/repos/builtin/packages/giflib/package.py index 3b6a59a584..ae9522d392 100644 --- a/var/spack/repos/builtin/packages/giflib/package.py +++ b/var/spack/repos/builtin/packages/giflib/package.py @@ -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):