summaryrefslogtreecommitdiff
path: root/academic/gwyddion/gwyddion-2.46-no-minizip.patch
diff options
context:
space:
mode:
authorDaniil Bratashov <dn2010@gmail.com>2016-10-20 21:45:36 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-20 21:45:36 +0700
commit2e92d45fb981d3003eec9b2b900c51dd5cf11f88 (patch)
treebf46974edb8b9562670bde42f6201de988856ff6 /academic/gwyddion/gwyddion-2.46-no-minizip.patch
parent7bcc6d2c0997d43594d163ff3aa8c6ae983a03f0 (diff)
downloadslackbuilds-2e92d45fb981d3003eec9b2b900c51dd5cf11f88.tar.gz
academic/gwyddion: Allow build without libminizip.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/gwyddion/gwyddion-2.46-no-minizip.patch')
-rw-r--r--academic/gwyddion/gwyddion-2.46-no-minizip.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/academic/gwyddion/gwyddion-2.46-no-minizip.patch b/academic/gwyddion/gwyddion-2.46-no-minizip.patch
new file mode 100644
index 0000000000..fc851e3637
--- /dev/null
+++ b/academic/gwyddion/gwyddion-2.46-no-minizip.patch
@@ -0,0 +1,12 @@
+Index: modules/file/jpkscan.c
+===================================================================
+--- modules/file/jpkscan.c (revision 19092)
++++ modules/file/jpkscan.c (working copy)
+@@ -52,6 +52,7 @@
+
+ #include "config.h"
+ #include <string.h>
++#include <stdlib.h>
+ #include <libgwyddion/gwymacros.h>
+ #include <libgwyddion/gwymath.h>
+ #include <libgwyddion/gwyutils.h>