aboutsummaryrefslogtreecommitdiff
path: root/academic/scidavis/scidavis.SlackBuild
diff options
context:
space:
mode:
authorFellype do Nascimento <fellype(at)gmail.com>2019-08-10 06:58:55 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-08-10 06:58:55 +0700
commit88571d5b1d25234d113387dff7cd869522d36bad (patch)
tree08b8b41f0d83a24a9c35011ab2db6ee498919922 /academic/scidavis/scidavis.SlackBuild
parente89c08f9da8e92637bc0c9d27a54426632ea0638 (diff)
academic/scidavis: Add patches.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/scidavis/scidavis.SlackBuild')
-rw-r--r--academic/scidavis/scidavis.SlackBuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/academic/scidavis/scidavis.SlackBuild b/academic/scidavis/scidavis.SlackBuild
index fba096240752f..640c46c56280c 100644
--- a/academic/scidavis/scidavis.SlackBuild
+++ b/academic/scidavis/scidavis.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=scidavis
VERSION=${VERSION:-1.25}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -79,6 +79,15 @@ else
export PYTHON=python2
fi
+# Fix for SF bug https://sourceforge.net/p/scidavis/scidavis-bugs/377/
+patch -p1 < $CWD/fix-sf377-all-colors-turn-to-black-after-reload-of-project.patch libscidavis/src/ApplicationWindow.cpp
+
+# Fix for SF bug https://sourceforge.net/p/scidavis/scidavis-bugs/383/
+patch -p1 < $CWD/fix-sf383-offset-and-spacing-of-bar-graphs.patch libscidavis/src/ApplicationWindow.cpp
+
+# Fix for SF bug https://sourceforge.net/p/scidavis/scidavis-bugs/385/
+patch -p1 < $CWD/fix-sf385-crash-using-data-range-selector.patch libscidavis/src/RangeSelectorTool.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