summaryrefslogtreecommitdiff
path: root/academic/gwyddion/gwyddion.SlackBuild
diff options
context:
space:
mode:
authorDaniil Bratashov <dn2010@gmail.com>2016-11-04 19:42:30 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-04 19:43:11 +0700
commit60671019569dce950389657bce42d025519edd83 (patch)
treea2481b7c984d2c0f5a7a546563943ce69205a1d9 /academic/gwyddion/gwyddion.SlackBuild
parenteb10d74a9b54d52fc781a93859d0302c91cfa9b7 (diff)
downloadslackbuilds-60671019569dce950389657bce42d025519edd83.tar.gz
academic/gwyddion: Add more patches.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/gwyddion/gwyddion.SlackBuild')
-rw-r--r--academic/gwyddion/gwyddion.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/academic/gwyddion/gwyddion.SlackBuild b/academic/gwyddion/gwyddion.SlackBuild
index 04397682e1..841442a94c 100644
--- a/academic/gwyddion/gwyddion.SlackBuild
+++ b/academic/gwyddion/gwyddion.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=gwyddion
VERSION=${VERSION:-2.46}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,8 +69,9 @@ 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 {} \;
-# patch for 2.46 version atoi problem
-patch -p0 < $CWD/gwyddion-2.46-no-minizip.patch
+# official post-release patches for problems in version 2.46
+patch -p1 < $CWD/gwyddion-2.46-jpkscan-no-minizip.patch
+patch -p1 < $CWD/gwyddion-2.46-selection-set-data.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \