aboutsummaryrefslogtreecommitdiff
path: root/libraries/cal3d
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-06 08:29:22 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-06 08:29:22 +0700
commit7fdf75558e306e8625970508b2de7cff7a1abdf4 (patch)
tree673d823b93105eaf93a19365a63adc36e51829bf /libraries/cal3d
parent8ac8893a4d2851c6db0f966a252f2c8f4b3d94fa (diff)
libraries/cal3d: Fix build on -current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/cal3d')
-rw-r--r--libraries/cal3d/cal3d.SlackBuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/libraries/cal3d/cal3d.SlackBuild b/libraries/cal3d/cal3d.SlackBuild
index 15dc52eb44707..e78c7c3a4153c 100644
--- a/libraries/cal3d/cal3d.SlackBuild
+++ b/libraries/cal3d/cal3d.SlackBuild
@@ -70,6 +70,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch -p1 < $CWD/cpp.patch
+sed -i -e "s|return false|return 0|g" src/cal3d/loader.cpp
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \