diff options
-rw-r--r-- | graphics/exact-image/exact-image.SlackBuild | 5 | ||||
-rw-r--r-- | graphics/exact-image/includes.patch | 12 |
2 files changed, 16 insertions, 1 deletions
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 <unistd.h> + #include <endian.h> + #include <algorithm> + #include <iostream> |