diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-11-18 22:52:43 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | 27a8de224cb1655929e432a481ce87b1c51adc5d (patch) | |
tree | 84046e6aa7e9f1410b33d639a3c08905d2acba24 /academic/Kst/Kst.SlackBuild | |
parent | 25ccacc72f00d786c2c2fc70057b2a5029230c92 (diff) |
academic/Kst: Patched for gsl-2.1.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/Kst/Kst.SlackBuild')
-rw-r--r-- | academic/Kst/Kst.SlackBuild | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/academic/Kst/Kst.SlackBuild b/academic/Kst/Kst.SlackBuild index 0ab614f03d35e..527bc6ba1b6ed 100644 --- a/academic/Kst/Kst.SlackBuild +++ b/academic/Kst/Kst.SlackBuild @@ -45,6 +45,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 {} \; +# Fix build failure with gsl-2.1 (gsl API change) +patch -p1 < $CWD/Kst_gsl2.patch + sed -i "s/find_package\(PythonLibs REQUIRED\)/SET \(PythonLibs \"\/usr\/lib${LIBDIRSUFFIX}\/libpython2.7.so\"\)/" \ ./cmake/pyKst/CMakeLists.txt sed -i "s/\${NUMPY_VERSION_PATCH}/0/" ./cmake/modules/FindNumPy.cmake |