]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
tools/cmake: Update to 3.11.0
authorDaniel Engberg <daniel.engberg.lists@pyret.net>
Wed, 4 Apr 2018 08:02:32 +0000 (10:02 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Wed, 11 Apr 2018 19:02:29 +0000 (21:02 +0200)
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@pyret.net>
tools/cmake/Makefile
tools/cmake/patches/100-disable_qt_tests.patch
tools/cmake/patches/110-alpine_musl-compat.patch [deleted file]
tools/cmake/patches/110-libarchive-fix-libressl-compat.patch [moved from tools/cmake/patches/120-libarchive-fix-libressl-compat.patch with 100% similarity]
tools/cmake/patches/120-curl-fix-libressl-linking.patch [moved from tools/cmake/patches/130-curl-fix-libressl-linking.patch with 100% similarity]
tools/cmake/patches/130-bootstrap_parallel_make_flag.patch [moved from tools/cmake/patches/140-bootstrap_parallel_make_flag.patch with 89% similarity]

index f11b92061103e92f1eb899259f5bf5d9c2939b5c..8211c8d44b188728ff3b338e63f65f8951275537 100644 (file)
@@ -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
index 6e8307dea4dca10a575e6f572defb3755300dfcb..46cdc945638b357ab009efa92d71ee19aa80be1a 100644 (file)
@@ -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 (file)
index a2c84fc..0000000
+++ /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
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 a3cdefbb167723590a30261c24b58c323d422efb..de5137ee3875319d33d1fc8f1f72f1b699d8bb43 100644 (file)
@@ -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