Hello community,

here is the log from the commit of package qelectrotech for openSUSE:Factory 
checked in at 2018-06-13 15:46:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qelectrotech (Old)
 and      /work/SRC/openSUSE:Factory/.qelectrotech.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qelectrotech"

Wed Jun 13 15:46:42 2018 rev:5 rq:616160 version:0.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/qelectrotech/qelectrotech.changes        
2018-03-20 22:00:14.741929042 +0100
+++ /work/SRC/openSUSE:Factory/.qelectrotech.new/qelectrotech.changes   
2018-06-13 15:46:49.616155364 +0200
@@ -1,0 +2,6 @@
+Mon Jun 11 19:46:57 UTC 2018 - [email protected]
+
+- Added a patch (fix_build_with_qt5.11.patch), taken from upstream,
+  to fix build failure with Qt 5.11.
+
+-------------------------------------------------------------------

New:
----
  fix_build_with_qt5.11.patch

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

Other differences:
------------------
++++++ qelectrotech.spec ++++++
--- /var/tmp/diff_new_pack.X3yd8R/_old  2018-06-13 15:46:51.016104060 +0200
+++ /var/tmp/diff_new_pack.X3yd8R/_new  2018-06-13 15:46:51.020103913 +0200
@@ -24,8 +24,10 @@
 Summary:        Application to design electric diagrams
 License:        GPL-2.0-or-later AND CC-BY-3.0
 Group:          Productivity/Scientific/Electronics
-Url:            https://qelectrotech.org/
+URL:            https://qelectrotech.org/
 Source0:        
https://download.tuxfamily.org/qet/tags/%{src_date}/%{name}-%{version}-src.tar.gz
+# PATCH-FIX-UPSTREAM fix_build_with_qt5.11.patch [email protected] -- 
Fix build failure with Qt 5.11
+Patch0:         fix_build_with_qt5.11.patch
 BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  pkgconfig
@@ -52,6 +54,7 @@
 
 %prep
 %setup -q -n %{name}-%{version}-src
+%patch0 -p1
 
 # Fix compilation and installation paths
 sed -e s,%{_prefix}/local/,%{_prefix}/, \
@@ -105,7 +108,7 @@
 %dir %{_mandir}/be
 %dir %{_mandir}/fr.ISO8859-1
 %dir %{_mandir}/fr.UTF-8
-%{_mandir}/man1/qelectrotech.1%{ext_man}
+%{_mandir}/man1/qelectrotech.1%{?ext_man}
 %{_datadir}/mime/application/x-qet-element.xml
 %{_datadir}/mime/application/x-qet-project.xml
 %{_datadir}/mime/application/x-qet-titleblock.xml

++++++ fix_build_with_qt5.11.patch ++++++
---
 sources/ui/importelementdialog.cpp |    1 +
 1 file changed, 1 insertion(+)

Index: qelectrotech-0.6-src/sources/ui/importelementdialog.cpp
===================================================================
--- qelectrotech-0.6-src.orig/sources/ui/importelementdialog.cpp
+++ qelectrotech-0.6-src/sources/ui/importelementdialog.cpp
@@ -17,6 +17,7 @@
 */
 #include "importelementdialog.h"
 #include "ui_importelementdialog.h"
+#include <QButtonGroup>
 
 ImportElementDialog::ImportElementDialog(QWidget *parent) :
        QDialog(parent),

Reply via email to