diff options
Diffstat (limited to 'academic/scidavis/scidavis.SlackBuild')
-rw-r--r-- | academic/scidavis/scidavis.SlackBuild | 10 |
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 |