summaryrefslogtreecommitdiff
path: root/libraries/DevIL/DevIL.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/DevIL/DevIL.SlackBuild')
-rw-r--r--libraries/DevIL/DevIL.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/DevIL/DevIL.SlackBuild b/libraries/DevIL/DevIL.SlackBuild
index 5123622278..bcd254b1ce 100644
--- a/libraries/DevIL/DevIL.SlackBuild
+++ b/libraries/DevIL/DevIL.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=DevIL
VERSION=${VERSION:-1.6.8}
PKG_VERSION=${VERSION}_rc2
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -54,6 +54,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fixes a libpng 1.4 problem.
+patch -p1 < $CWD/patches/devil-1.6.8-libpng14.patch
+
# Fix the typo that prevents building with Allegro
# Also patch files to change (ILvoid) to (void) in order to
# fix issues with gcc 4.2.