Hello community, here is the log from the commit of package grantlee5 for openSUSE:Factory checked in at 2019-08-07 13:54:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/grantlee5 (Old) and /work/SRC/openSUSE:Factory/.grantlee5.new.9556 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grantlee5" Wed Aug 7 13:54:03 2019 rev:5 rq:720081 version:5.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/grantlee5/grantlee5.changes 2019-04-15 11:50:13.238479282 +0200 +++ /work/SRC/openSUSE:Factory/.grantlee5.new.9556/grantlee5.changes 2019-08-07 13:54:05.288857706 +0200 @@ -1,0 +2,6 @@ +Wed Jul 31 14:55:56 UTC 2019 - Fabian Vogt <[email protected]> + +- Add patch to fix build with newer CMake: + * 0001-Remove-vestigial-ansi-flag.patch + +------------------------------------------------------------------- New: ---- 0001-Remove-vestigial-ansi-flag.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ grantlee5.spec ++++++ --- /var/tmp/diff_new_pack.a76FKC/_old 2019-08-07 13:54:06.528857692 +0200 +++ /var/tmp/diff_new_pack.a76FKC/_new 2019-08-07 13:54:06.528857692 +0200 @@ -29,6 +29,8 @@ Patch0: includes.diff # PATCH-FIX-UPSTREAM fix-build-with-Qt-5.13.patch Patch1: fix-build-with-Qt-5.13.patch +# PATCH-FIX-UPSTREAM +Patch2: 0001-Remove-vestigial-ansi-flag.patch BuildRequires: cmake >= 3.1 BuildRequires: doxygen BuildRequires: pkgconfig @@ -53,9 +55,7 @@ grantlee. %prep -%setup -q -n grantlee-%{version} -%patch0 -p1 -%patch1 -p1 +%autosetup -p1 -n grantlee-%{version} %build %cmake \ ++++++ 0001-Remove-vestigial-ansi-flag.patch ++++++ >From 9c70e731d1498a366172da7b497ea76252ad8267 Mon Sep 17 00:00:00 2001 From: Stephen Kelly <[email protected]> Date: Sun, 21 Jul 2019 16:00:41 +0100 Subject: [PATCH] Remove vestigial -ansi flag This causes the compiler to not operate in C++11 mode, meaning that headers such as <type_traits> issue errors. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1324566..049fa4f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,7 +56,7 @@ endif() if (CMAKE_COMPILER_IS_GNUCXX) set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common") - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-check-new -fno-common ") + set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-check-new -fno-common ") if (CMAKE_BUILD_TYPE MATCHES TestCocoon) # Needed on 64 bit -- 2.22.0
