Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libsixel/, media-libs/libsixel/files/
Date: Sat, 27 Feb 2016 06:04:18
Message-Id: 1456552919.2947c44e67e81a55aa085cbdf516310d91448e22.hattya@gentoo
1 commit: 2947c44e67e81a55aa085cbdf516310d91448e22
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 27 06:01:59 2016 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 27 06:01:59 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2947c44e
7
8 media-libs/libsixel: fix build
9
10 Gentoo-Bug: 570068
11
12 Package-Manager: portage-2.2.26
13
14 media-libs/libsixel/files/libsixel-gd.patch | 11 +++++++++++
15 media-libs/libsixel/libsixel-1.5.2.ebuild | 9 +++++++--
16 2 files changed, 18 insertions(+), 2 deletions(-)
17
18 diff --git a/media-libs/libsixel/files/libsixel-gd.patch b/media-libs/libsixel/files/libsixel-gd.patch
19 new file mode 100644
20 index 0000000..6c94749
21 --- /dev/null
22 +++ b/media-libs/libsixel/files/libsixel-gd.patch
23 @@ -0,0 +1,11 @@
24 +--- a/configure.ac
25 ++++ b/configure.ac
26 +@@ -354,7 +354,7 @@
27 + [gdImageCreateFromGifPtr],
28 + [AC_CHECK_DECLS([gdImageCreateFromGifPtr], [], [], [ #include <gd.h> ])])
29 + AC_CHECK_LIB([gd],
30 +- [gdImageCreateFromBmpPtr],
31 ++ [gdImageCreateFromPngPtr],
32 + [AC_CHECK_DECLS([gdImageCreateFromPngPtr], [], [], [ #include <gd.h> ])])
33 + AC_CHECK_LIB([gd],
34 + [gdImageCreateFromBmpPtr],
35
36 diff --git a/media-libs/libsixel/libsixel-1.5.2.ebuild b/media-libs/libsixel/libsixel-1.5.2.ebuild
37 index ef878d2..076be8b 100644
38 --- a/media-libs/libsixel/libsixel-1.5.2.ebuild
39 +++ b/media-libs/libsixel/libsixel-1.5.2.ebuild
40 @@ -1,10 +1,10 @@
41 -# Copyright 1999-2015 Gentoo Foundation
42 +# Copyright 1999-2016 Gentoo Foundation
43 # Distributed under the terms of the GNU General Public License v2
44 # $Id$
45
46 EAPI="5"
47
48 -inherit bash-completion-r1
49 +inherit autotools bash-completion-r1 eutils
50
51 DESCRIPTION="A lightweight, fast implementation of DEC SIXEL graphics codec"
52 HOMEPAGE="https://github.com/saitoha/libsixel"
53 @@ -23,6 +23,11 @@ RDEPEND="curl? ( net-misc/curl )
54 DEPEND="${RDEPEND}
55 virtual/pkgconfig"
56
57 +src_prepare() {
58 + epatch "${FILESDIR}"/${PN}-gd.patch
59 + eautoreconf
60 +}
61 +
62 src_configure() {
63 econf \
64 --disable-python \