From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsixel/, media-libs/libsixel/files/
Date: Sat, 27 Feb 2016 06:04:13 +0000 (UTC) [thread overview]
Message-ID: <1456552919.2947c44e67e81a55aa085cbdf516310d91448e22.hattya@gentoo> (raw)
commit: 2947c44e67e81a55aa085cbdf516310d91448e22
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 27 06:01:59 2016 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat Feb 27 06:01:59 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2947c44e
media-libs/libsixel: fix build
Gentoo-Bug: 570068
Package-Manager: portage-2.2.26
media-libs/libsixel/files/libsixel-gd.patch | 11 +++++++++++
media-libs/libsixel/libsixel-1.5.2.ebuild | 9 +++++++--
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/media-libs/libsixel/files/libsixel-gd.patch b/media-libs/libsixel/files/libsixel-gd.patch
new file mode 100644
index 0000000..6c94749
--- /dev/null
+++ b/media-libs/libsixel/files/libsixel-gd.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -354,7 +354,7 @@
+ [gdImageCreateFromGifPtr],
+ [AC_CHECK_DECLS([gdImageCreateFromGifPtr], [], [], [ #include <gd.h> ])])
+ AC_CHECK_LIB([gd],
+- [gdImageCreateFromBmpPtr],
++ [gdImageCreateFromPngPtr],
+ [AC_CHECK_DECLS([gdImageCreateFromPngPtr], [], [], [ #include <gd.h> ])])
+ AC_CHECK_LIB([gd],
+ [gdImageCreateFromBmpPtr],
diff --git a/media-libs/libsixel/libsixel-1.5.2.ebuild b/media-libs/libsixel/libsixel-1.5.2.ebuild
index ef878d2..076be8b 100644
--- a/media-libs/libsixel/libsixel-1.5.2.ebuild
+++ b/media-libs/libsixel/libsixel-1.5.2.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
-inherit bash-completion-r1
+inherit autotools bash-completion-r1 eutils
DESCRIPTION="A lightweight, fast implementation of DEC SIXEL graphics codec"
HOMEPAGE="https://github.com/saitoha/libsixel"
@@ -23,6 +23,11 @@ RDEPEND="curl? ( net-misc/curl )
DEPEND="${RDEPEND}
virtual/pkgconfig"
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-gd.patch
+ eautoreconf
+}
+
src_configure() {
econf \
--disable-python \
next reply other threads:[~2016-02-27 6:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-27 6:04 Akinori Hattori [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-10-02 13:12 [gentoo-commits] repo/gentoo:master commit in: media-libs/libsixel/, media-libs/libsixel/files/ Akinori Hattori
2022-02-16 1:42 Sam James
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=1456552919.2947c44e67e81a55aa085cbdf516310d91448e22.hattya@gentoo \
--to=hattya@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