summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-08-08 18:53:57 +0200
committerDavid Seifert <soap@gentoo.org>2020-08-08 18:53:57 +0200
commit33cbbb4779a63532b4ddbe6226faf5e8e421d980 (patch)
tree6c32d86c766c30278f7c006d875331f4832b3c15 /media-sound/gimmix
parentmedia-sound/pwavecat: Fix building under -fno-common (diff)
downloadgentoo-33cbbb4779a63532b4ddbe6226faf5e8e421d980.tar.gz
gentoo-33cbbb4779a63532b4ddbe6226faf5e8e421d980.tar.bz2
gentoo-33cbbb4779a63532b4ddbe6226faf5e8e421d980.zip
media-sound/gimmix: Fix building under -fno-common
Closes: https://bugs.gentoo.org/707640 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-sound/gimmix')
-rw-r--r--media-sound/gimmix/files/gimmix-0.5.7.2-fno-common.patch11
-rw-r--r--media-sound/gimmix/gimmix-0.5.7.2-r1.ebuild5
2 files changed, 14 insertions, 2 deletions
diff --git a/media-sound/gimmix/files/gimmix-0.5.7.2-fno-common.patch b/media-sound/gimmix/files/gimmix-0.5.7.2-fno-common.patch
new file mode 100644
index 000000000000..f9987181bb1b
--- /dev/null
+++ b/media-sound/gimmix/files/gimmix-0.5.7.2-fno-common.patch
@@ -0,0 +1,11 @@
+--- a/src/gimmix-playlist.c
++++ b/src/gimmix-playlist.c
+@@ -60,7 +60,7 @@
+ static gchar *invalid_dir_error = "You have specified an invalid music directory. Do you want to specify the correct music directory now ?";
+
+ GtkWidget *search_combo;
+-GtkWidget *search_entry;
++extern GtkWidget *search_entry;
+ GtkWidget *search_box;
+
+ static GtkWidget *gimmix_statusbar;
diff --git a/media-sound/gimmix/gimmix-0.5.7.2-r1.ebuild b/media-sound/gimmix/gimmix-0.5.7.2-r1.ebuild
index 7d875e3d3fd6..94b5fc0b68b1 100644
--- a/media-sound/gimmix/gimmix-0.5.7.2-r1.ebuild
+++ b/media-sound/gimmix/gimmix-0.5.7.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -34,8 +34,9 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-0.5.7.1-curl-headers.patch
- "${FILESDIR}"/${P}-format-security.patch
+ "${FILESDIR}"/${PN}-0.5.7.2-format-security.patch
"${FILESDIR}"/${PN}-0.5.7.2-QA-desktop-file.patch
+ "${FILESDIR}"/${PN}-0.5.7.2-fno-common.patch
)
src_prepare() {