Hello community,

here is the log from the commit of package mpc-qt for openSUSE:Factory checked 
in at 2018-06-19 11:55:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mpc-qt (Old)
 and      /work/SRC/openSUSE:Factory/.mpc-qt.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mpc-qt"

Tue Jun 19 11:55:17 2018 rev:7 rq:616012 version:18.03

Changes:
--------
--- /work/SRC/openSUSE:Factory/mpc-qt/mpc-qt.changes    2018-03-12 
12:12:18.442219060 +0100
+++ /work/SRC/openSUSE:Factory/.mpc-qt.new/mpc-qt.changes       2018-06-19 
11:55:20.548568937 +0200
@@ -1,0 +2,5 @@
+Mon Jun 11 11:55:39 UTC 2018 - [email protected]
+
+- Added mpc-qt-Qt511.patch to fix build with Qt 5.11
+
+-------------------------------------------------------------------

New:
----
  mpc-qt-Qt511.patch

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

Other differences:
------------------
++++++ mpc-qt.spec ++++++
--- /var/tmp/diff_new_pack.SQnNs4/_old  2018-06-19 11:55:21.860520229 +0200
+++ /var/tmp/diff_new_pack.SQnNs4/_new  2018-06-19 11:55:21.864520080 +0200
@@ -20,11 +20,13 @@
 Version:        18.03
 Release:        0
 Summary:        Media Player Classic Qute Theater
-License:        GPL-2.0
+License:        GPL-2.0-only
 Group:          Productivity/Multimedia/Video/Players
 Url:            https://github.com/cmdrkotori/mpc-qt
 Source0:        
https://github.com/cmdrkotori/mpc-qt/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:        %{name}.changes
+# PATCH-FIX-UPSTREAM mpc-qt-Qt511.patch
+Patch0:         mpc-qt-Qt511.patch
 BuildRequires:  libqt5-linguist
 BuildRequires:  pkgconfig(Qt5Core)
 BuildRequires:  pkgconfig(Qt5DBus)
@@ -33,7 +35,7 @@
 BuildRequires:  pkgconfig(Qt5Widgets) >= 5.4
 BuildRequires:  pkgconfig(Qt5X11Extras)
 BuildRequires:  pkgconfig(mpv) >= 0.24
-%if 0%{?suse_version} > 1320
+%if 0%{?suse_version} >= 1500
 BuildRequires:  gcc-c++
 %else
 BuildRequires:  gcc7-c++
@@ -44,6 +46,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 rm -rf mpv-dev
 # fix builddate info
 # Remove build time references so build-compare can do its work

++++++ mpc-qt-Qt511.patch ++++++
From: Luigi Baldoni <[email protected]>
Date: 2018-06-18 13:44:22 +0200
Subject: Add missing include statement
Upstream: submitted

Qt 5.11 requires more explicit include statements

---
Index: mpc-qt-18.03/mainwindow.cpp
===================================================================
--- mpc-qt-18.03.orig/mainwindow.cpp
+++ mpc-qt-18.03/mainwindow.cpp
@@ -20,6 +20,7 @@
 #include <QMessageBox>
 #include <QLibraryInfo>
 #include <QToolTip>
+#include <QStyle>
 
 using namespace Helpers;
 

Reply via email to