]> git.pld-linux.org Git - packages/kp5-discover.git/commitdiff
- fix incorrect extern C linkage
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 17 Apr 2021 20:55:02 +0000 (22:55 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 17 Apr 2021 20:55:02 +0000 (22:55 +0200)
cxx-linkage.patch [new file with mode: 0644]
kp5-discover.spec

diff --git a/cxx-linkage.patch b/cxx-linkage.patch
new file mode 100644 (file)
index 0000000..f355f9c
--- /dev/null
@@ -0,0 +1,12 @@
+--- discover-5.21.4/libdiscover/backends/FlatpakBackend/FlatpakTransactionThread.h~    2021-04-06 14:16:29.000000000 +0200
++++ discover-5.21.4/libdiscover/backends/FlatpakBackend/FlatpakTransactionThread.h     2021-04-17 22:29:21.010317076 +0200
+@@ -7,8 +7,8 @@
+ #ifndef FLATPAKTRANSACTIONTHREAD_H
+ #define FLATPAKTRANSACTIONTHREAD_H
+-extern "C" {
+ #include <flatpak.h>
++extern "C" {
+ #include <gio/gio.h>
+ #include <glib.h>
+ }
index cb809922e57ac2873b4e7bdbaf05d87aaed4fcdf..2c65aa967dd9956b681cebf7055f7abbd4a849e4 100644 (file)
@@ -9,6 +9,7 @@ License:        GPL v2+/LGPL v2.1+
 Group:         X11/Libraries
 Source0:       http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
 # Source0-md5: 5e47b7079ddf8633c7fa3fe5dc1f5a79
+Patch0:                cxx-linkage.patch
 URL:           http://www.kde.org/
 BuildRequires: Qt5Concurrent-devel >= %{qtver}
 BuildRequires: Qt5Core-devel >= %{qtver}
@@ -31,7 +32,9 @@ BuildRequires:        kf5-kdbusaddons-devel
 BuildRequires: kf5-kdeclarative-devel
 BuildRequires: kf5-ki18n-devel
 BuildRequires: kf5-kiconthemes-devel
+BuildRequires: kf5-kidletime-devel
 BuildRequires: kf5-kio-devel
+BuildRequires: kf5-kitemmodels-devel
 BuildRequires: kf5-kitemviews-devel
 BuildRequires: kf5-knewstuff-devel
 BuildRequires: kf5-knotifications-devel
@@ -51,6 +54,7 @@ discover
 
 %prep
 %setup -q -n %{kpname}-%{version}
+%patch0 -p1
 
 %build
 install -d build
This page took 0.286869 seconds and 4 git commands to generate.