summaryrefslogtreecommitdiff
path: root/graphics/leocad/leocad.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-04-01 14:03:35 +0100
committerRobby Workman <rworkman@slackbuilds.org>2016-04-03 02:30:24 -0500
commitff3692ccac30e4c373c4cb0d3f83470b7f1c9e35 (patch)
tree72d6b2039d980a14046d8610cbfd090d226ed2b1 /graphics/leocad/leocad.SlackBuild
parent38e87f1e7c7ae0ee510bfabf70544e13b9da452a (diff)
downloadslackbuilds-ff3692ccac30e4c373c4cb0d3f83470b7f1c9e35.tar.gz
graphics/leocad: Updated for version 0.82.2.
Patched to fix build failure. Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics/leocad/leocad.SlackBuild')
-rw-r--r--graphics/leocad/leocad.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/leocad/leocad.SlackBuild b/graphics/leocad/leocad.SlackBuild
index 0dca063423..f2b361aea1 100644
--- a/graphics/leocad/leocad.SlackBuild
+++ b/graphics/leocad/leocad.SlackBuild
@@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=leocad
-VERSION=${VERSION:-0.82.1}
+VERSION=${VERSION:-0.82.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,6 +70,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i -e 's/isnan/std::isnan/g' common/camera.cpp
+
# This seems to be an error in de qrc file
sed -i 's/leocad_pt.qm/leocad_pt.ts/' leocad.qrc