commit:     33cbbb4779a63532b4ddbe6226faf5e8e421d980
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  8 16:53:57 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Aug  8 16:53:57 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33cbbb47

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 <AT> gentoo.org>

 media-sound/gimmix/files/gimmix-0.5.7.2-fno-common.patch | 11 +++++++++++
 media-sound/gimmix/gimmix-0.5.7.2-r1.ebuild              |  5 +++--
 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 00000000000..f9987181bb1
--- /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 7d875e3d3fd..94b5fc0b68b 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() {

Reply via email to