cmake: Upgrade to 3.8.2
PATCH v2 1/1 cmake: Upgrade to 3.8.2
There was a set of changes, those are:
- CMake now requires librhash for build and as there is no other users in OE-Core we make it use its internal copy instead;
- Copyright.txt checksum has change due new contrubutors and 2017 year additions;
- Patch avoid-gcc-warnings-with-Wstrict-prototypes.patch was removed as it is not need anymore;
- Patch 0001-KWIML-tests-Remove-format-security-from-flags.patch was removed as it is included in this release.
Signed-off-by Otavio Salvador <[email protected]>
---
Changes in v2:
- Update to 3.8.2 (Khem)
...cmake-native_3.7.2.bb => cmake-native_3.8.2.bb} | 1 +
meta/recipes-devtools/cmake/cmake.inc | 8 ++---
...L-tests-Remove-format-security-from-flags.patch | 33 -----------------
...void-gcc-warnings-with-Wstrict-prototypes.patch | 42 ----------------------
.../cmake/{cmake_3.7.2.bb => cmake_3.8.2.bb} | 1 +
5 files changed, 5 insertions(+), 80 deletions(-)
rename meta/recipes-devtools/cmake/{cmake-native_3.7.2.bb => cmake-native_3.8.2.bb} (94%)
delete mode 100644 meta/recipes-devtools/cmake/cmake/0001-KWIML-tests-Remove-format-security-from-flags.patch
delete mode 100644 meta/recipes-devtools/cmake/cmake/avoid-gcc-warnings-with-Wstrict-prototypes.patch
rename meta/recipes-devtools/cmake/{cmake_3.7.2.bb => cmake_3.8.2.bb} (97%)meta/recipes-devtools/cmake/cmake-native_3.8.2.bb renamed from meta/recipes-devtools/cmake/cmake-native_3.7.2.bb +1 -0
@@ -18,6 +18,7 @@ CMAKE_EXTRACONF = "\ -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=0 \ -DCMAKE_USE_SYSTEM_LIBRARY_LIBARCHIVE=0 \ -DCMAKE_USE_SYSTEM_LIBRARY_LIBUV=0 \ + -DCMAKE_USE_SYSTEM_LIBRARY_LIBRHASH=0 \ -DENABLE_ACL=0 -DHAVE_ACL_LIBACL_H=0 \ -DHAVE_SYS_ACL_H=0 \ "
meta/recipes-devtools/cmake/cmake.inc +3 -5
@@ -6,7 +6,7 @@ HOMEPAGE = "http://www.cmake.org/" BUGTRACKER = "http://public.kitware.com/Bug/my_view_page.php" SECTION = "console/utils" LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://Copyright.txt;md5=7a64bc564202bf7401d9a8ef33c9564d \ +LIC_FILES_CHKSUM = "file://Copyright.txt;md5=8d8c7bc32f8797d23f5cf605d9339d2d \ file://Source/cmake.h;beginline=1;endline=3;md5=4494dee184212fc89c469c3acd555a14" CMAKE_MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:2])}"
@@ -14,12 +14,10 @@ CMAKE_MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:2])}" SRC_URI = "https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \ file://support-oe-qt4-tools-names.patch \ file://qt4-fail-silent.patch \ - file://avoid-gcc-warnings-with-Wstrict-prototypes.patch \ - file://0001-KWIML-tests-Remove-format-security-from-flags.patch \ " -SRC_URI[md5sum] = "79bd7e65cd81ea3aa2619484ad6ff25a" -SRC_URI[sha256sum] = "dc1246c4e6d168ea4d6e042cfba577c1acd65feea27e56f5ff37df920c30cae0" +SRC_URI[md5sum] = "b5dff61f6a7f1305271ab3f6ae261419" +SRC_URI[sha256sum] = "da3072794eb4c09f2d782fcee043847b99bb4cf8d4573978d9b2024214d6e92d" UPSTREAM_CHECK_REGEX = "cmake-(?P<pver>\d+(\.\d+)+)\.tar"
meta/recipes-devtools/cmake/cmake/0001-KWIML-tests-Remove-format-security-from-flags.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From 0941395b146804abcd87004589ff6e7a2953412d Mon Sep 17 00:00:00 2001 -From: Jussi Kukkonen <[email protected]> -Date: Thu, 16 Mar 2017 14:39:04 +0200 -Subject: [PATCH] KWIML tests: Remove format-security from flags - -For the tests where "format" is removed from flags, "format-security" -should be removed as well. Otherwise building cmake with -"-Wformat -Wformat-security" fails: - -| cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security] - -Upstream-Status: Backport [part of commit f77420cfc9] -Signed-off-by: Jussi Kukkonen <[email protected]> ---- - Utilities/KWIML/test/CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Utilities/KWIML/test/CMakeLists.txt b/Utilities/KWIML/test/CMakeLists.txt -index 4f6f37b..1bf93bb 100644 ---- a/Utilities/KWIML/test/CMakeLists.txt -+++ b/Utilities/KWIML/test/CMakeLists.txt -@@ -10,7 +10,7 @@ endif() - # Suppress printf/scanf format warnings; we test if the sizes match. - foreach(lang C CXX) - if(KWIML_LANGUAGE_${lang} AND CMAKE_${lang}_COMPILER_ID STREQUAL "GNU") -- set(CMAKE_${lang}_FLAGS "${CMAKE_${lang}_FLAGS} -Wno-format") -+ set(CMAKE_${lang}_FLAGS "${CMAKE_${lang}_FLAGS} -Wno-format -Wno-format-security") - endif() - endforeach() - --- -2.1.4 -
meta/recipes-devtools/cmake/cmake/avoid-gcc-warnings-with-Wstrict-prototypes.patch deleted +0 -42
42 lines not on this page · raw message
meta/recipes-devtools/cmake/cmake_3.8.2.bb renamed from meta/recipes-devtools/cmake/cmake_3.7.2.bb +1 -0
@@ -28,6 +28,7 @@ EXTRA_OECMAKE=" \ -DCMAKE_USE_SYSTEM_LIBRARIES=1 \ -DCMAKE_USE_SYSTEM_LIBRARY_JSONCPP=0 \ -DCMAKE_USE_SYSTEM_LIBRARY_LIBUV=0 \ + -DCMAKE_USE_SYSTEM_LIBRARY_LIBRHASH=0 \ -DKWSYS_CHAR_IS_SIGNED=1 \ -DBUILD_CursesDialog=0 \ -DKWSYS_LFS_WORKS=1 \
Signature · 1 line
2.13.0