From c88a288b8daac5c4d322d9469db96302b0ada181 Mon Sep 17 00:00:00 2001 From: dsomero Date: Mon, 24 Sep 2012 22:05:14 -0400 Subject: graphics/exact-image: Patched to include unistd.h Signed-off-by: dsomero --- graphics/exact-image/exact-image.SlackBuild | 5 ++++- graphics/exact-image/includes.patch | 12 ++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 graphics/exact-image/includes.patch (limited to 'graphics') diff --git a/graphics/exact-image/exact-image.SlackBuild b/graphics/exact-image/exact-image.SlackBuild index c3c920c02d..746c809d07 100644 --- a/graphics/exact-image/exact-image.SlackBuild +++ b/graphics/exact-image/exact-image.SlackBuild @@ -4,7 +4,7 @@ PRGNAM=exact-image VERSION=${VERSION:-0.8.7} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -49,6 +49,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Fix includes +patch -p1 -i $CWD/includes.patch + # Patch to fix libpng linkage patch -p1 --verbose < $CWD/png.cc-libpng14.diff diff --git a/graphics/exact-image/includes.patch b/graphics/exact-image/includes.patch new file mode 100644 index 0000000000..c1bdbec993 --- /dev/null +++ b/graphics/exact-image/includes.patch @@ -0,0 +1,12 @@ +Index: exact-image-0.8.7/edisplay/edisplay.cc +=================================================================== +--- exact-image-0.8.7.orig/edisplay/edisplay.cc ++++ exact-image-0.8.7/edisplay/edisplay.cc +@@ -27,6 +27,7 @@ + #include "Evas_Engine_GL_X11.h" + #endif + ++#include + #include + #include + #include -- cgit v1.2.3