summaryrefslogtreecommitdiff
path: root/repo/media/giflib/giflib-restore-deprecated-functions.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-28 19:37:22 +0100
committerdavidovski <david@davidovski.xyz>2022-05-28 19:37:22 +0100
commit5170f5c85fe0e84fe8af55c6a024c7b6e844b0f1 (patch)
tree105f4e0fc05bac2fbdc03ab446987eaaa477988c /repo/media/giflib/giflib-restore-deprecated-functions.patch
parent4615385d6c8203001962a7a31dd02cdb1a73544b (diff)
fixed packages
Diffstat (limited to 'repo/media/giflib/giflib-restore-deprecated-functions.patch')
-rw-r--r--repo/media/giflib/giflib-restore-deprecated-functions.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/media/giflib/giflib-restore-deprecated-functions.patch b/repo/media/giflib/giflib-restore-deprecated-functions.patch
new file mode 100644
index 0000000..770cb16
--- /dev/null
+++ b/repo/media/giflib/giflib-restore-deprecated-functions.patch
@@ -0,0 +1,17 @@
+Source: Gentoo, written by Gary Stein
+Upstream: No
+Reason: restores deprecated GifQuantizeBuffer which some packages (notably libgdiplus) still use
+--- a/Makefile 2019-03-28 14:57:23.000000000 -0400
++++ b/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)
+