--- /dev/null
+--- 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],
-# 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"
DEPEND="${RDEPEND}
virtual/pkgconfig"
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-gd.patch
+ eautoreconf
+}
+
src_configure() {
econf \
--disable-python \