From 7fdf75558e306e8625970508b2de7cff7a1abdf4 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Thu, 6 Jul 2017 08:29:22 +0700 Subject: libraries/cal3d: Fix build on -current. Signed-off-by: Willy Sudiarto Raharjo --- libraries/cal3d/cal3d.SlackBuild | 1 + 1 file changed, 1 insertion(+) (limited to 'libraries/cal3d') diff --git a/libraries/cal3d/cal3d.SlackBuild b/libraries/cal3d/cal3d.SlackBuild index 15dc52eb44..e78c7c3a41 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" \ -- cgit v1.2.3