diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2019-12-18 17:21:44 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-12-21 11:02:50 +0700 |
commit | 19b619ab5e538dee44dac2f1a2d77887b43b34d0 (patch) | |
tree | bcb10f9be8139700d8ba706001a442ea876f7a33 /libraries/libxlsxwriter | |
parent | c53cbc8407c182f6db3e5e139806a1e9e97e8f23 (diff) |
libraries/libxlsxwriter: Updated for version 0.8.9.
Diffstat (limited to 'libraries/libxlsxwriter')
-rw-r--r-- | libraries/libxlsxwriter/cmake_version_check.patch | 16 | ||||
-rw-r--r-- | libraries/libxlsxwriter/libxlsxwriter.SlackBuild | 4 | ||||
-rw-r--r-- | libraries/libxlsxwriter/libxlsxwriter.info | 6 |
3 files changed, 22 insertions, 4 deletions
diff --git a/libraries/libxlsxwriter/cmake_version_check.patch b/libraries/libxlsxwriter/cmake_version_check.patch new file mode 100644 index 0000000000000..c997d6d33c52c --- /dev/null +++ b/libraries/libxlsxwriter/cmake_version_check.patch @@ -0,0 +1,16 @@ +diff -Naur a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt 2019-12-16 21:07:03.000000000 +0000 ++++ b/CMakeLists.txt 2019-12-18 17:18:01.270919658 +0000 +@@ -99,9 +99,9 @@ + # The use of the word ZLIB_ROOT should still work prior to "3.12.0", + # just it's been generalized for all packages now. Just set the policy + # to new, so we use it, and it will be used prior to 3.12 anyway. +-if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.12") +- cmake_policy(SET CMP0074 NEW) +-endif() ++#if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.12") ++# cmake_policy(SET CMP0074 NEW) ++#endif() + + # OPTIONS + # ------- diff --git a/libraries/libxlsxwriter/libxlsxwriter.SlackBuild b/libraries/libxlsxwriter/libxlsxwriter.SlackBuild index 3621658f274d6..fc82c163bb678 100644 --- a/libraries/libxlsxwriter/libxlsxwriter.SlackBuild +++ b/libraries/libxlsxwriter/libxlsxwriter.SlackBuild @@ -22,7 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libxlsxwriter -VERSION=${VERSION:-0.8.7} +VERSION=${VERSION:-0.8.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -68,6 +68,8 @@ 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 -p1 --verbose <$CWD/cmake_version_check.patch + mkdir -p build cd build cmake \ diff --git a/libraries/libxlsxwriter/libxlsxwriter.info b/libraries/libxlsxwriter/libxlsxwriter.info index 3c5ce10168ed3..66312b0c5d9a2 100644 --- a/libraries/libxlsxwriter/libxlsxwriter.info +++ b/libraries/libxlsxwriter/libxlsxwriter.info @@ -1,8 +1,8 @@ PRGNAM="libxlsxwriter" -VERSION="0.8.7" +VERSION="0.8.9" HOMEPAGE="https://libxlsxwriter.github.io/" -DOWNLOAD="https://github.com/jmcnamara/libxlsxwriter/archive/RELEASE_0.8.7/libxlsxwriter-RELEASE_0.8.7.tar.gz" -MD5SUM="fd994fc6a15d6e0545288c23ac588ccd" +DOWNLOAD="https://github.com/jmcnamara/libxlsxwriter/archive/RELEASE_0.8.9/libxlsxwriter-RELEASE_0.8.9.tar.gz" +MD5SUM="b52fe19f45b8d769dd5a5e89b9957aa4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |