From 39934a83eb749ca335d36aa2894ab3f3caf89b08 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Mon, 7 Feb 2022 21:08:38 +1300 Subject: audio/gimmix: Fix build. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- audio/gimmix/gimmix-0.5.7.2-fno-common.patch | 11 +++++++++++ audio/gimmix/gimmix.SlackBuild | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 audio/gimmix/gimmix-0.5.7.2-fno-common.patch (limited to 'audio') diff --git a/audio/gimmix/gimmix-0.5.7.2-fno-common.patch b/audio/gimmix/gimmix-0.5.7.2-fno-common.patch new file mode 100644 index 000000000000..f9987181bb1b --- /dev/null +++ b/audio/gimmix/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/audio/gimmix/gimmix.SlackBuild b/audio/gimmix/gimmix.SlackBuild index 832992a7692a..2c210ff6eda2 100644 --- a/audio/gimmix/gimmix.SlackBuild +++ b/audio/gimmix/gimmix.SlackBuild @@ -7,7 +7,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=gimmix VERSION=${VERSION:-0.5.7.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -62,6 +62,7 @@ find -L . \ # Fix curl includes. patch -p1 -i $CWD/gimmix-0.5.7.1-curl-headers.patch +patch -p1 -i $CWD/gimmix-0.5.7.2-fno-common.patch intltoolize -- cgit v1.2.3