1 |
commit: 76ebdaa3d46dc8fcc23375cd365039ef272fd74d |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 25 17:43:39 2019 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 25 17:43:39 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76ebdaa3 |
7 |
|
8 |
media-libs/giflib: Add patch for GifQuantizeBuffer API |
9 |
|
10 |
* Patch taken from Archlinux |
11 |
|
12 |
Bug: https://bugs.gentoo.org/682198 |
13 |
Package-Manager: Portage-2.3.83, Repoman-2.3.20 |
14 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
15 |
|
16 |
...ib-5.2.1-fix-missing-quantize-API-symbols.patch | 32 ++++++++++++++++++++++ |
17 |
...{giflib-5.2.1.ebuild => giflib-5.2.1-r1.ebuild} | 1 + |
18 |
2 files changed, 33 insertions(+) |
19 |
|
20 |
diff --git a/media-libs/giflib/files/giflib-5.2.1-fix-missing-quantize-API-symbols.patch b/media-libs/giflib/files/giflib-5.2.1-fix-missing-quantize-API-symbols.patch |
21 |
new file mode 100644 |
22 |
index 00000000000..5948f454685 |
23 |
--- /dev/null |
24 |
+++ b/media-libs/giflib/files/giflib-5.2.1-fix-missing-quantize-API-symbols.patch |
25 |
@@ -0,0 +1,32 @@ |
26 |
+From ff8d9a59e79b79657e64430730c35835a84db619 Mon Sep 17 00:00:00 2001 |
27 |
+From: anthraxx <levente@×××××××××××××.net> |
28 |
+Date: Tue, 2 Apr 2019 11:46:18 +0200 |
29 |
+Subject: [PATCH] fix missing quantize API symbols |
30 |
+ |
31 |
+GifQuantizeBuffer is required by many libs and applications |
32 |
+like mplayer, libgdiplus (mono) and others. |
33 |
+--- |
34 |
+ Makefile | 4 ++-- |
35 |
+ 1 file changed, 2 insertions(+), 2 deletions(-) |
36 |
+ |
37 |
+diff --git a/Makefile b/Makefile |
38 |
+index e4ded69..17d0a5c 100644 |
39 |
+--- a/Makefile |
40 |
++++ b/Makefile |
41 |
+@@ -29,11 +29,11 @@ LIBPOINT=0 |
42 |
+ LIBVER=$(LIBMAJOR).$(LIBMINOR).$(LIBPOINT) |
43 |
+ |
44 |
+ SOURCES = dgif_lib.c egif_lib.c gifalloc.c gif_err.c gif_font.c \ |
45 |
+- gif_hash.c openbsd-reallocarray.c |
46 |
++ gif_hash.c openbsd-reallocarray.c quantize.c |
47 |
+ HEADERS = gif_hash.h gif_lib.h gif_lib_private.h |
48 |
+ OBJECTS = $(SOURCES:.c=.o) |
49 |
+ |
50 |
+-USOURCES = qprintf.c quantize.c getarg.c |
51 |
++USOURCES = qprintf.c getarg.c |
52 |
+ UHEADERS = getarg.h |
53 |
+ UOBJECTS = $(USOURCES:.c=.o) |
54 |
+ |
55 |
+-- |
56 |
+2.21.0 |
57 |
+ |
58 |
|
59 |
diff --git a/media-libs/giflib/giflib-5.2.1.ebuild b/media-libs/giflib/giflib-5.2.1-r1.ebuild |
60 |
similarity index 96% |
61 |
rename from media-libs/giflib/giflib-5.2.1.ebuild |
62 |
rename to media-libs/giflib/giflib-5.2.1-r1.ebuild |
63 |
index 55389387dae..00d52ae80e3 100644 |
64 |
--- a/media-libs/giflib/giflib-5.2.1.ebuild |
65 |
+++ b/media-libs/giflib/giflib-5.2.1-r1.ebuild |
66 |
@@ -18,6 +18,7 @@ DEPEND="doc? ( app-text/xmlto )" |
67 |
|
68 |
PATCHES=( |
69 |
"${FILESDIR}"/${PN}-5.1.9-gentoo.patch |
70 |
+ "${FILESDIR}"/${PN}-5.2.1-fix-missing-quantize-API-symbols.patch |
71 |
) |
72 |
|
73 |
src_prepare() { |