commit:     36b4ac4bbe37933548f5dda20ddee059aae58fa2
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  2 23:16:35 2018 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Mar  2 23:18:11 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36b4ac4b

net-nntp/kwooty: backport patch from upstream removing unused dependency

Closes: https://bugs.gentoo.org/649374
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../kwooty/files/kwooty-1.1.0_p20150623-dep.patch  | 24 ++++++++++++++++++++++
 net-nntp/kwooty/kwooty-1.1.0_p20150623.ebuild      |  4 +++-
 2 files changed, 27 insertions(+), 1 deletion(-)

diff --git a/net-nntp/kwooty/files/kwooty-1.1.0_p20150623-dep.patch 
b/net-nntp/kwooty/files/kwooty-1.1.0_p20150623-dep.patch
new file mode 100644
index 00000000000..2dc7b98f538
--- /dev/null
+++ b/net-nntp/kwooty/files/kwooty-1.1.0_p20150623-dep.patch
@@ -0,0 +1,24 @@
+From 4def0398b312ff3f4d769ef39897a12516a52a83 Mon Sep 17 00:00:00 2001
+From: Michael Palimaka <kensing...@gentoo.org>
+Date: Sat, 3 Mar 2018 10:13:10 +1100
+Subject: [PATCH] Remove unused dependency.
+
+---
+ CMakeLists.txt | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 6200c66..e40df79 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -23,7 +23,6 @@ include(ECMAddAppIcon)
+ set(KF5_VERSION "5.9.0")
+ find_package(KF5Wallet ${KF5_VERSION} CONFIG REQUIRED)
+ find_package(KF5KDELibs4Support ${KF5_VERSION} CONFIG REQUIRED)
+-find_package(KF5NotifyConfig ${KF5_VERSION} CONFIG REQUIRED)
+ find_package(KF5Config ${KF5_VERSION} CONFIG REQUIRED)
+ find_package(KF5Service ${KF5_VERSION} CONFIG REQUIRED)
+ find_package(KF5DBusAddons ${KF5_VERSION} CONFIG REQUIRED)
+-- 
+2.16.1
+

diff --git a/net-nntp/kwooty/kwooty-1.1.0_p20150623.ebuild 
b/net-nntp/kwooty/kwooty-1.1.0_p20150623.ebuild
index 63904060a2a..4013bbe362b 100644
--- a/net-nntp/kwooty/kwooty-1.1.0_p20150623.ebuild
+++ b/net-nntp/kwooty/kwooty-1.1.0_p20150623.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -38,6 +38,8 @@ RDEPEND="${DEPEND}
        !net-nntp/kwooty:4
 "
 
+PATCHES=( "${FILESDIR}/${P}-dep.patch" )
+
 src_prepare() {
        kde5_src_prepare
 

Reply via email to