[openwrt/openwrt] tools/cmake: Update to 3.11.0

LEDE Commits lede-commits at lists.infradead.org
Wed Apr 11 12:03:03 PDT 2018


dedeckeh pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/a8c315192b750453e1b821ab735bdabca43a4d0e

commit a8c315192b750453e1b821ab735bdabca43a4d0e
Author: Daniel Engberg <daniel.engberg.lists at pyret.net>
AuthorDate: Wed Apr 4 10:02:32 2018 +0200

    tools/cmake: Update to 3.11.0
    
    Update cmake to 3.11.0
    Remove 110-alpine_musl-compat.patch as it's integrated upstream
    Rename and refresh patches
    
    Signed-off-by: Daniel Engberg <daniel.engberg.lists at pyret.net>
---
 tools/cmake/Makefile                                     |  6 +++---
 tools/cmake/patches/100-disable_qt_tests.patch           |  4 ++--
 tools/cmake/patches/110-alpine_musl-compat.patch         | 16 ----------------
 ...at.patch => 110-libarchive-fix-libressl-compat.patch} |  0
 ...linking.patch => 120-curl-fix-libressl-linking.patch} |  0
 ...flag.patch => 130-bootstrap_parallel_make_flag.patch} |  2 +-
 6 files changed, 6 insertions(+), 22 deletions(-)

diff --git a/tools/cmake/Makefile b/tools/cmake/Makefile
index f11b920..8211c8d 100644
--- a/tools/cmake/Makefile
+++ b/tools/cmake/Makefile
@@ -7,13 +7,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=cmake
-PKG_VERSION:=3.10.1
+PKG_VERSION:=3.11.0
 PKG_CPE_ID:=cpe:/a:kitware:cmake
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://cmake.org/files/v3.10/ \
+PKG_SOURCE_URL:=https://cmake.org/files/v3.11/ \
 		https://fossies.org/linux/misc/
-PKG_HASH:=7be36ee24b0f5928251b644d29f5ff268330a916944ef4a75e23ba01e7573284
+PKG_HASH:=c313bee371d4d255be2b4e96fd59b11d58bc550a7c78c021444ae565709a656b
 
 HOST_BUILD_PARALLEL:=1
 HOST_CONFIGURE_PARALLEL:=1
diff --git a/tools/cmake/patches/100-disable_qt_tests.patch b/tools/cmake/patches/100-disable_qt_tests.patch
index 6e8307d..46cdc94 100644
--- a/tools/cmake/patches/100-disable_qt_tests.patch
+++ b/tools/cmake/patches/100-disable_qt_tests.patch
@@ -1,6 +1,6 @@
 --- a/Tests/RunCMake/CMakeLists.txt
 +++ b/Tests/RunCMake/CMakeLists.txt
-@@ -273,15 +273,6 @@ add_RunCMake_test(no_install_prefix)
+@@ -284,15 +284,6 @@ add_RunCMake_test(no_install_prefix)
  add_RunCMake_test(configure_file)
  add_RunCMake_test(CTestTimeoutAfterMatch)
  
@@ -18,7 +18,7 @@
    add_RunCMake_test(FindPkgConfig)
 --- a/Tests/CMakeLists.txt
 +++ b/Tests/CMakeLists.txt
-@@ -407,13 +407,6 @@ if(BUILD_TESTING)
+@@ -422,13 +422,6 @@ if(BUILD_TESTING)
  
    list(APPEND TEST_BUILD_DIRS ${CMake_TEST_INSTALL_PREFIX})
  
diff --git a/tools/cmake/patches/110-alpine_musl-compat.patch b/tools/cmake/patches/110-alpine_musl-compat.patch
deleted file mode 100644
index a2c84fc..0000000
--- a/tools/cmake/patches/110-alpine_musl-compat.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- a/Utilities/cmjsoncpp/include/json/assertions.h
-+++ b/Utilities/cmjsoncpp/include/json/assertions.h
-@@ -6,11 +6,12 @@
- #ifndef CPPTL_JSON_ASSERTIONS_H_INCLUDED
- #define CPPTL_JSON_ASSERTIONS_H_INCLUDED
- 
-+#include <stdlib.h>
-+
- #if !defined(JSON_IS_AMALGAMATION)
- #include "config.h"
- #endif // if !defined(JSON_IS_AMALGAMATION)
- 
--#include <stdlib.h>
- #include <sstream>
- 
- /** It should not be possible for a maliciously designed file to
diff --git a/tools/cmake/patches/120-libarchive-fix-libressl-compat.patch b/tools/cmake/patches/110-libarchive-fix-libressl-compat.patch
similarity index 100%
rename from tools/cmake/patches/120-libarchive-fix-libressl-compat.patch
rename to tools/cmake/patches/110-libarchive-fix-libressl-compat.patch
diff --git a/tools/cmake/patches/130-curl-fix-libressl-linking.patch b/tools/cmake/patches/120-curl-fix-libressl-linking.patch
similarity index 100%
rename from tools/cmake/patches/130-curl-fix-libressl-linking.patch
rename to tools/cmake/patches/120-curl-fix-libressl-linking.patch
diff --git a/tools/cmake/patches/140-bootstrap_parallel_make_flag.patch b/tools/cmake/patches/130-bootstrap_parallel_make_flag.patch
similarity index 89%
rename from tools/cmake/patches/140-bootstrap_parallel_make_flag.patch
rename to tools/cmake/patches/130-bootstrap_parallel_make_flag.patch
index a3cdefb..de5137e 100644
--- a/tools/cmake/patches/140-bootstrap_parallel_make_flag.patch
+++ b/tools/cmake/patches/130-bootstrap_parallel_make_flag.patch
@@ -1,6 +1,6 @@
 --- a/bootstrap
 +++ b/bootstrap
-@@ -1130,7 +1130,10 @@ int main(){ printf("1%c", (char)0x0a); r
+@@ -1149,7 +1149,10 @@ int main(){ printf("1%c", (char)0x0a); r
  ' > "test.c"
  cmake_original_make_flags="${cmake_make_flags}"
  if [ "x${cmake_parallel_make}" != "x" ]; then



More information about the lede-commits mailing list