Hello community,

here is the log from the commit of package qimageblitz for openSUSE:Factory 
checked in at 2019-08-07 13:57:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qimageblitz (Old)
 and      /work/SRC/openSUSE:Factory/.qimageblitz.new.9556 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qimageblitz"

Wed Aug  7 13:57:26 2019 rev:3 rq:720215 version:0.0.6+svn1515099

Changes:
--------
--- /work/SRC/openSUSE:Factory/qimageblitz/qimageblitz.changes  2018-05-19 
15:38:33.355211816 +0200
+++ /work/SRC/openSUSE:Factory/.qimageblitz.new.9556/qimageblitz.changes        
2019-08-07 13:57:28.088855468 +0200
@@ -1,0 +2,6 @@
+Wed Jul 31 15:17:29 UTC 2019 - Fabian Vogt <[email protected]>
+
+- Add patch to fix build with newer CMake:
+  * remove-ansi-option.patch
+
+-------------------------------------------------------------------

New:
----
  remove-ansi-option.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ qimageblitz.spec ++++++
--- /var/tmp/diff_new_pack.pTkRxI/_old  2019-08-07 13:57:29.604855451 +0200
+++ /var/tmp/diff_new_pack.pTkRxI/_new  2019-08-07 13:57:29.608855451 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package qimageblitz
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -30,6 +30,8 @@
 Source0:        %{name}-%{version}.tar.xz
 # PATCH-FEATURE-OPENSUSE qimageblitz-qt5-fix-soname.patch [email protected] 
-- Change the soname for Qt5 to fix a conflict with Qt4.
 Patch0:         qimageblitz-qt5-fix-soname.patch
+# PATCH-FIX-UPSTREAM
+Patch1:         remove-ansi-option.patch
 BuildRequires:  cmake
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(Qt5Core)
@@ -80,8 +82,7 @@
 This package contains development files for libqimageblitz5.
 
 %prep
-%setup -q
-%patch0 -p1
+%autosetup -p1
 
 %build
 WORKDIR="$PWD"

++++++ remove-ansi-option.patch ++++++
From: Luca Beltrame <[email protected]>
Subject: Remove -ansi option

It is equivalent to "-std=c++98", which breaks building as Qt relies on C++11.

---
Index: qimageblitz-0.0.6+svn1515099/CMakeLists.txt
===================================================================
--- qimageblitz-0.0.6+svn1515099.orig/CMakeLists.txt
+++ qimageblitz-0.0.6+svn1515099/CMakeLists.txt
@@ -32,7 +32,7 @@ set(LIB_INSTALL_DIR          "${EXEC_INS
 
 if (CMAKE_COMPILER_IS_GNUCXX)
    if (CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME STREQUAL GNU)
-       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-exceptions -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-exceptions -fno-check-new -fno-common")
        add_definitions(-DQT_NO_EXCEPTIONS)
    endif (CMAKE_SYSTEM_NAME MATCHES Linux OR CMAKE_SYSTEM_NAME STREQUAL GNU)
 endif (CMAKE_COMPILER_IS_GNUCXX)

Reply via email to