Hello community,

here is the log from the commit of package kcm_tablet for openSUSE:Factory 
checked in at 2019-05-28 09:42:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kcm_tablet (Old)
 and      /work/SRC/openSUSE:Factory/.kcm_tablet.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kcm_tablet"

Tue May 28 09:42:55 2019 rev:6 rq:705635 version:3.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/kcm_tablet/kcm_tablet.changes    2019-01-15 
09:15:38.170276754 +0100
+++ /work/SRC/openSUSE:Factory/.kcm_tablet.new.5148/kcm_tablet.changes  
2019-05-28 09:42:57.985850489 +0200
@@ -1,0 +2,6 @@
+Mon May 27 09:40:00 UTC 2019 - Fabian Vogt <[email protected]>
+
+- Add patch to fix build with GCC 9:
+  * 0001-Supposedly-fix-building-with-gcc9.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Supposedly-fix-building-with-gcc9.patch

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

Other differences:
------------------
++++++ kcm_tablet.spec ++++++
--- /var/tmp/diff_new_pack.ESdGox/_old  2019-05-28 09:42:58.573850285 +0200
+++ /var/tmp/diff_new_pack.ESdGox/_new  2019-05-28 09:42:58.577850284 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package kcm_tablet
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2010 Raymond Wooninck <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -13,7 +13,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/
 #
 
 
@@ -22,10 +22,12 @@
 Version:        3.1.1
 Release:        0
 Summary:        KDE Config Module for Wacom Tablets
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          System/GUI/KDE
 Url:            https://cgit.kde.org/wacomtablet.git/
 Source:         
https://download.kde.org/stable/%{rname}/%{version}/%{rname}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM
+Patch1:         0001-Supposedly-fix-building-with-gcc9.patch
 BuildRequires:  extra-cmake-modules
 BuildRequires:  pkgconfig
 BuildRequires:  update-desktop-files
@@ -67,7 +69,7 @@
 %lang_package
 
 %prep
-%setup -q -n %{rname}-%{version}
+%autosetup -p1 -n %{rname}-%{version}
 
 %build
   %cmake_kf5 -d build

++++++ 0001-Supposedly-fix-building-with-gcc9.patch ++++++
>From 91d821f7efdf4aa929f85ef8cd4cce04fa642a8f Mon Sep 17 00:00:00 2001
From: Valerii Malov <[email protected]>
Date: Sun, 28 Apr 2019 19:10:43 +0300
Subject: [PATCH] (Supposedly) fix building with gcc9

I don't really have access to gcc9 right now to test, but this should
fix "static assertion failed: unique_ptr's deleter must be invocable
with a pointer"

CCBUG: 407015
---
 src/common/libwacomwrapper.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/libwacomwrapper.cpp b/src/common/libwacomwrapper.cpp
index 1d11fc3..92a559a 100644
--- a/src/common/libwacomwrapper.cpp
+++ b/src/common/libwacomwrapper.cpp
@@ -60,7 +60,7 @@ libWacomWrapper::~libWacomWrapper()
 bool libWacomWrapper::lookupTabletInfo(int tabletId, int vendorId, 
TabletInformation &tabletInfo)
 {
     qCDebug(COMMON) << "LibWacom lookup for" << tabletId << vendorId;
-    auto errorDeleter = [](WacomError *&e){libwacom_error_free(&e);};
+    auto errorDeleter = [](WacomError *e){libwacom_error_free(&e);};
     std::unique_ptr<WacomError, decltype(errorDeleter)>
             error(libwacom_error_new(), errorDeleter);
     std::unique_ptr<WacomDevice, decltype(&libwacom_destroy)>
-- 
2.21.0


Reply via email to