# install
all:: $($(X_MODULE)_BINARY)
-diff -ur -urp exact-image-0.8.5.orig/codecs/png.cc exact-image-0.8.5/codecs/png.cc
---- exact-image-0.8.5.orig/codecs/png.cc 2010-03-03 22:04:44.000000000 +0100
-+++ exact-image-0.8.5/codecs/png.cc 2011-05-14 00:28:20.000000000 +0200
-@@ -16,7 +16,7 @@
- */
-
- #include <stdlib.h>
--#include <png.h>
-+#include <libpng12/png.h>
-
- #include <iostream>
-
diff -ur -urp exact-image-0.8.5.orig/configure exact-image-0.8.5/configure
--- exact-image-0.8.5.orig/configure 2010-11-21 11:01:04.000000000 +0100
+++ exact-image-0.8.5/configure 2011-05-14 00:22:45.000000000 +0200
-@@ -63,7 +63,7 @@ fi
-
- pkgcheck libjpeg header LIBJPEG cc jconfig.h
- pkgcheck libtiff header LIBTIFF c++ tiffconf.h tiffio.h # tiffio.hxx
--pkgcheck libpng pkg-config LIBPNG atleast 1.2
-+pkgcheck libpng12 pkg-config LIBPNG atleast 1.2
- pkgcheck libungif header LIBUNGIF c++ gif_lib.h
- pkgcheck jasper header JASPER c++ jasper/jasper.h
- if pkgcheck expat header EXPAT c++ expat.h; then # just for the SVG parser
@@ -91,7 +91,7 @@ pkgcheck swig shell SWIG 'swig -version
# supported swig target languages so far
pkgcheck perl shell PERL 'perl -version 2>/dev/null | sed -n "s/This is perl.*v\([0-9.]*\).*built.*/\1/p"' atleast 5.8.0 &&
PERLINCS="`perl -MExtUtils::Embed -e ccopts`"
-diff -ur -x .svn -x .git -x .bzr -x CVS -urN exact-image-0.8.9/codecs/Makefile b/codecs/Makefile
---- exact-image-0.8.9/codecs/Makefile 2011-06-30 23:23:25.000000000 +0200
-+++ b/codecs/Makefile 2014-10-06 14:17:34.479107173 +0200
-@@ -13,7 +13,7 @@
- endif
-
- ifeq "$(WITHLIBPNG)" "1"
--LDFLAGS += -lpng
-+LDFLAGS += -lpng12
- else
- NOT_SRCS += png.cc
- endif