public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/giflib/, media-libs/giflib/files/
Date: Wed, 25 Dec 2019 17:44:05 +0000 (UTC)	[thread overview]
Message-ID: <1577295819.76ebdaa3d46dc8fcc23375cd365039ef272fd74d.soap@gentoo> (raw)

commit:     76ebdaa3d46dc8fcc23375cd365039ef272fd74d
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 25 17:43:39 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Dec 25 17:43:39 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76ebdaa3

media-libs/giflib: Add patch for GifQuantizeBuffer API

* Patch taken from Archlinux

Bug: https://bugs.gentoo.org/682198
Package-Manager: Portage-2.3.83, Repoman-2.3.20
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 ...ib-5.2.1-fix-missing-quantize-API-symbols.patch | 32 ++++++++++++++++++++++
 ...{giflib-5.2.1.ebuild => giflib-5.2.1-r1.ebuild} |  1 +
 2 files changed, 33 insertions(+)

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
new file mode 100644
index 00000000000..5948f454685
--- /dev/null
+++ b/media-libs/giflib/files/giflib-5.2.1-fix-missing-quantize-API-symbols.patch
@@ -0,0 +1,32 @@
+From ff8d9a59e79b79657e64430730c35835a84db619 Mon Sep 17 00:00:00 2001
+From: anthraxx <levente@leventepolyak.net>
+Date: Tue, 2 Apr 2019 11:46:18 +0200
+Subject: [PATCH] fix missing quantize API symbols
+
+GifQuantizeBuffer is required by many libs and applications
+like mplayer, libgdiplus (mono) and others.
+---
+ Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index e4ded69..17d0a5c 100644
+--- a/Makefile
++++ b/Makefile
+@@ -29,11 +29,11 @@ LIBPOINT=0
+ LIBVER=$(LIBMAJOR).$(LIBMINOR).$(LIBPOINT)
+ 
+ SOURCES = dgif_lib.c egif_lib.c gifalloc.c gif_err.c gif_font.c \
+-	gif_hash.c openbsd-reallocarray.c
++	gif_hash.c openbsd-reallocarray.c quantize.c
+ HEADERS = gif_hash.h  gif_lib.h  gif_lib_private.h
+ OBJECTS = $(SOURCES:.c=.o)
+ 
+-USOURCES = qprintf.c quantize.c getarg.c 
++USOURCES = qprintf.c getarg.c
+ UHEADERS = getarg.h
+ UOBJECTS = $(USOURCES:.c=.o)
+ 
+-- 
+2.21.0
+

diff --git a/media-libs/giflib/giflib-5.2.1.ebuild b/media-libs/giflib/giflib-5.2.1-r1.ebuild
similarity index 96%
rename from media-libs/giflib/giflib-5.2.1.ebuild
rename to media-libs/giflib/giflib-5.2.1-r1.ebuild
index 55389387dae..00d52ae80e3 100644
--- a/media-libs/giflib/giflib-5.2.1.ebuild
+++ b/media-libs/giflib/giflib-5.2.1-r1.ebuild
@@ -18,6 +18,7 @@ DEPEND="doc? ( app-text/xmlto )"
 
 PATCHES=(
 	"${FILESDIR}"/${PN}-5.1.9-gentoo.patch
+	"${FILESDIR}"/${PN}-5.2.1-fix-missing-quantize-API-symbols.patch
 )
 
 src_prepare() {


             reply	other threads:[~2019-12-25 17:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-25 17:44 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-03-29 17:11 [gentoo-commits] repo/gentoo:master commit in: media-libs/giflib/, media-libs/giflib/files/ Lars Wendler
2019-02-13 22:41 Lars Wendler
2018-03-31 15:35 Sebastian Pipping

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1577295819.76ebdaa3d46dc8fcc23375cd365039ef272fd74d.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox