summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/pidgin-musictracker/files/pidgin-musictracker-0.4.22-fno-common.patch12
-rw-r--r--x11-plugins/pidgin-musictracker/pidgin-musictracker-0.4.22.ebuild17
2 files changed, 22 insertions, 7 deletions
diff --git a/x11-plugins/pidgin-musictracker/files/pidgin-musictracker-0.4.22-fno-common.patch b/x11-plugins/pidgin-musictracker/files/pidgin-musictracker-0.4.22-fno-common.patch
new file mode 100644
index 000000000000..0378523c3469
--- /dev/null
+++ b/x11-plugins/pidgin-musictracker/files/pidgin-musictracker-0.4.22-fno-common.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/717424
+--- a/src/utils.h
++++ b/src/utils.h
+@@ -21,7 +21,7 @@ pcre* regex(const char* pattern, int options);
+ int capture(pcre* re, const char *text, int len, ...);
+
+ #ifndef WIN32
+-DBusGConnection *connection;
++extern DBusGConnection *connection;
+ gboolean dbus_g_init_connection(void);
+ gboolean dbus_g_running(const char *name);
+ #endif
diff --git a/x11-plugins/pidgin-musictracker/pidgin-musictracker-0.4.22.ebuild b/x11-plugins/pidgin-musictracker/pidgin-musictracker-0.4.22.ebuild
index e576da2c7f0d..4b5624846494 100644
--- a/x11-plugins/pidgin-musictracker/pidgin-musictracker-0.4.22.ebuild
+++ b/x11-plugins/pidgin-musictracker/pidgin-musictracker-0.4.22.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit autotools
@@ -14,15 +14,18 @@ SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="debug"
-DEPEND=">=net-im/pidgin-2.0.0[gtk]
- >=dev-libs/dbus-glib-0.73
+DEPEND="
+ dev-libs/dbus-glib
dev-libs/libpcre
- >=sys-devel/gettext-0.17"
+ net-im/pidgin[gtk]"
RDEPEND="${DEPEND}"
+BDEPEND="sys-devel/gettext"
+
+PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )
src_prepare() {
default
- sed -i -e "s/DOMAIN/PACKAGE/g" po/Makefile.in.in || die "sed failed"
+ sed -i -e "s/DOMAIN/PACKAGE/g" po/Makefile.in.in || die
eautoreconf
}
@@ -34,5 +37,5 @@ src_configure() {
src_install() {
default
- find "${D}" -name "*.la" -delete || die "error cleaning la file."
+ find "${ED}" -name '*.la' -delete || die
}