diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-06 08:29:22 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-06 08:29:22 +0700 |
commit | 7fdf75558e306e8625970508b2de7cff7a1abdf4 (patch) | |
tree | 673d823b93105eaf93a19365a63adc36e51829bf /libraries/cal3d | |
parent | 8ac8893a4d2851c6db0f966a252f2c8f4b3d94fa (diff) | |
download | slackbuilds-7fdf75558e306e8625970508b2de7cff7a1abdf4.tar.gz |
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.SlackBuild | 1 |
1 files changed, 1 insertions, 0 deletions
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" \ |