summaryrefslogtreecommitdiffstats
path: root/academic/scidavis/scidavis.SlackBuild
diff options
context:
space:
mode:
author Fellype do Nascimento2017-11-29 18:28:58 +0100
committer Willy Sudiarto Raharjo2017-12-02 00:31:04 +0100
commitb285d0650e849850b2ccf3acdb2614d343d74841 (patch)
treeae5c1bae086b9cbdd405893a221027258ebee0f2 /academic/scidavis/scidavis.SlackBuild
parent20970278afd68598cd1f861bbbdab02f6250831b (diff)
downloadslackbuilds-b285d0650e849850b2ccf3acdb2614d343d74841.tar.gz
academic/scidavis: Patched to fix crashes.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'academic/scidavis/scidavis.SlackBuild')
-rw-r--r--academic/scidavis/scidavis.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/academic/scidavis/scidavis.SlackBuild b/academic/scidavis/scidavis.SlackBuild
index d1c9670bb7..17883a6a20 100644
--- a/academic/scidavis/scidavis.SlackBuild
+++ b/academic/scidavis/scidavis.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=scidavis
VERSION=${VERSION:-1.22}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -71,6 +71,14 @@ sed -i -e 's#share/man/man1/scidavis.1#man/man1#' scidavis/scidavis.pro
# Correction needed in order to find qwtplot3d in its default path
grep -rl "qwtplot3d/" libscidavis/src/ | xargs sed -i "s:<qwtplot3d/:<:"
+# Patch to fix crashes using integration in python scripts
+# See https://sourceforge.net/p/scidavis/scidavis-bugs/320/
+patch -p1 < $CWD/integration_with_python_crash_bug_320.patch libscidavis/src/PythonScript.cpp
+
+# Patch to fix crashes when integration is performed with less points than required by interpolation method
+# See https://sourceforge.net/p/scidavis/scidavis-bugs/321/
+patch -p1 < $CWD/crash_integration_with_too_few_points_bug_321.patch libscidavis/src/Integration.cpp
+
## For some unknown reason, to build in Slackware we need to run qmake twice in order to get the app icons working properly
## See https://sourceforge.net/p/scidavis/scidavis-bugs/259/
qmake