From 09af97704abd10479170018ee0feadb9b78e0d0b Mon Sep 17 00:00:00 2001 From: Helmut Pozimski Date: Mon, 15 Apr 2019 19:10:16 +0200 Subject: [PATCH] giflib: add patch to restore deprecated GifQuantizeBuffer for compatibility --- .../restore-deprecated-utility-functions.patch | 16 ++++++++++++++++ srcpkgs/giflib/template | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/giflib/patches/restore-deprecated-utility-functions.patch diff --git a/srcpkgs/giflib/patches/restore-deprecated-utility-functions.patch b/srcpkgs/giflib/patches/restore-deprecated-utility-functions.patch new file mode 100644 index 00000000000..d2b349f68a2 --- /dev/null +++ b/srcpkgs/giflib/patches/restore-deprecated-utility-functions.patch @@ -0,0 +1,16 @@ +Source: Gentoo, written by Gary Stein +Upstream: No +Reason: restores deprecated GifQuantizeBuffer which some packages (notably libgdiplus) still use +--- Makefile 2019-03-28 14:57:23.000000000 -0400 ++++ Makefile 2019-03-31 23:38:20.700603561 -0400 +@@ -67,8 +67,8 @@ + + $(UTILS):: libgif.a libutil.a + +-libgif.so: $(OBJECTS) $(HEADERS) +- $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname -Wl,libgif.so.$(LIBMAJOR) -o libgif.so $(OBJECTS) ++libgif.so: $(OBJECTS) $(HEADERS) $(UOBJECTS) ++ $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname -Wl,libgif.so.$(LIBMAJOR) -o libgif.so $(OBJECTS) $(UOBJECTS) + + libgif.a: $(OBJECTS) $(HEADERS) + $(AR) rcs libgif.a $(OBJECTS) diff --git a/srcpkgs/giflib/template b/srcpkgs/giflib/template index a3ed5a1c445..699fc2c9972 100644 --- a/srcpkgs/giflib/template +++ b/srcpkgs/giflib/template @@ -1,7 +1,7 @@ # Template file for 'giflib' pkgname=giflib version=5.1.9 -revision=1 +revision=2 build_style=gnu-makefile hostmakedepends="xmlto" short_desc="Library to handle, display and manipulate GIF images"