summaryrefslogtreecommitdiff
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
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>
-rw-r--r--graphics/leocad/leocad.SlackBuild4
-rw-r--r--graphics/leocad/leocad.info6
2 files changed, 6 insertions, 4 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
diff --git a/graphics/leocad/leocad.info b/graphics/leocad/leocad.info
index f8ddf53177..5f294323b5 100644
--- a/graphics/leocad/leocad.info
+++ b/graphics/leocad/leocad.info
@@ -1,8 +1,8 @@
PRGNAM="leocad"
-VERSION="0.82.1"
+VERSION="0.82.2"
HOMEPAGE="http://www.leocad.org/"
-DOWNLOAD="https://googledrive.com/host/0B4QpN1vpGh_sUWJZSkVVaEtzcW8/LeoCAD-Source-0.82.1.tgz"
-MD5SUM="96e0cd9f36ca0e1370dcf470b1b96f1d"
+DOWNLOAD="https://googledrive.com/host/0B4QpN1vpGh_sUWJZSkVVaEtzcW8/LeoCAD-Source-0.82.2.tgz"
+MD5SUM="dbc6ff61fb687e67cc38d26d453d5fdb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="leocad_pieces"