Hello community,

here is the log from the commit of package qxmledit for openSUSE:Factory 
checked in at 2019-07-23 22:43:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qxmledit (Old)
 and      /work/SRC/openSUSE:Factory/.qxmledit.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qxmledit"

Tue Jul 23 22:43:55 2019 rev:19 rq:717936 version:0.9.13

Changes:
--------
--- /work/SRC/openSUSE:Factory/qxmledit/qxmledit.changes        2019-05-05 
21:21:59.309370212 +0200
+++ /work/SRC/openSUSE:Factory/.qxmledit.new.4126/qxmledit.changes      
2019-07-23 22:43:56.606702393 +0200
@@ -1,0 +2,5 @@
+Mon Jul 22 20:45:55 UTC 2019 - Luigi Baldoni <aloi...@gmx.com>
+
+- Added qxmledit-no_warnings_as_errors.patch to fix Factory build
+
+-------------------------------------------------------------------

New:
----
  qxmledit-no_warnings_as_errors.patch

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

Other differences:
------------------
++++++ qxmledit.spec ++++++
--- /var/tmp/diff_new_pack.5XOYir/_old  2019-07-23 22:43:57.330701732 +0200
+++ /var/tmp/diff_new_pack.5XOYir/_new  2019-07-23 22:43:57.334701728 +0200
@@ -27,6 +27,8 @@
 URL:            http://qxmledit.org/
 Source:         
https://github.com/lbellonda/qxmledit/archive/%{_version}.tar.gz#/%{name}-%{_version}.tar.gz
 Source99:       baselibs.conf
+# PATCH-FIX-UPSTREAM qxmledit-no_warnings_as_errors.patch
+Patch0:         qxmledit-no_warnings_as_errors.patch
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  pkgconfig
 BuildRequires:  update-desktop-files
@@ -101,6 +103,9 @@
 
 %prep
 %setup -q -n %{name}-%{_version}
+%if 0%{?suse_version} > 1500
+%patch0 -p1
+%endif
 
 %build
 export QXMLEDIT_INST_DATA_DIR=%{_datadir}/%{name}/

++++++ qxmledit-no_warnings_as_errors.patch ++++++
From: Luigi Baldoni <aloi...@gmx.com>
Date: 2019-07-22 22:33:15 +0200
Subject: Deprecated functions in Qt 5.13
References: https://github.com/lbellonda/qxmledit/issues/62

Do no fail on warnings for deprecated Qt functions

Index: qxmledit-0.9.13/src/QXmlEditWidget.pro
===================================================================
--- qxmledit-0.9.13.orig/src/QXmlEditWidget.pro
+++ qxmledit-0.9.13/src/QXmlEditWidget.pro
@@ -76,6 +76,7 @@ win32-msvc2010 {
 } else {
     QMAKE_CXXFLAGS += -Wall
     QMAKE_CXXFLAGS +=-Werror
+    QMAKE_CXXFLAGS +=-Wno-error=deprecated-declarations
     #QMAKE_CXXFLAGS += -Winvalid-pch
 }
 
Index: qxmledit-0.9.13/src/sessions/QXmlEditSessions.pro
===================================================================
--- qxmledit-0.9.13.orig/src/sessions/QXmlEditSessions.pro
+++ qxmledit-0.9.13/src/sessions/QXmlEditSessions.pro
@@ -76,6 +76,7 @@ win32-msvc2010 {
 } else {
     QMAKE_CXXFLAGS += -Wall
     QMAKE_CXXFLAGS +=-Werror
+    QMAKE_CXXFLAGS +=-Wno-error=deprecated-declarations
 }
 
 equals(INST_USE_C11, "y") {
Index: qxmledit-0.9.13/src/QXmlEdit.pro
===================================================================
--- qxmledit-0.9.13.orig/src/QXmlEdit.pro
+++ qxmledit-0.9.13/src/QXmlEdit.pro
@@ -98,6 +98,7 @@ win32-msvc2010 {
 } else {
     QMAKE_CXXFLAGS += -Wall
     QMAKE_CXXFLAGS +=-Werror
+    QMAKE_CXXFLAGS +=-Wno-error=deprecated-declarations
 }
 
 lessThan(QT_MAJOR_VERSION, 5) {

Reply via email to