diff options
author | Akinori Hattori <hattya@gentoo.org> | 2016-02-27 15:01:59 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2016-02-27 15:01:59 +0900 |
commit | 2947c44e67e81a55aa085cbdf516310d91448e22 (patch) | |
tree | 0bdaf735279582f636331875fd08d29ce0536196 /media-libs/libsixel | |
parent | media-libs/libsixel: drop old (diff) | |
download | gentoo-2947c44e67e81a55aa085cbdf516310d91448e22.tar.gz gentoo-2947c44e67e81a55aa085cbdf516310d91448e22.tar.bz2 gentoo-2947c44e67e81a55aa085cbdf516310d91448e22.zip |
media-libs/libsixel: fix build
Gentoo-Bug: 570068
Package-Manager: portage-2.2.26
Diffstat (limited to 'media-libs/libsixel')
-rw-r--r-- | media-libs/libsixel/files/libsixel-gd.patch | 11 | ||||
-rw-r--r-- | 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 000000000000..6c947490a0c5 --- /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 ef878d281e61..076be8b219ff 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 \ |