aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-04-29 01:20:25 +0800
committermiwi <miwi@FreeBSD.org>2008-04-29 01:20:25 +0800
commit1b76ee36227333c01d3a42bb15b202846f4c0e81 (patch)
tree701da142fb6d424bc31ed517a8c08b6c811c6061
parenta01e04dfc038d748d820dfd313979a515dc70340 (diff)
downloadfreebsd-ports-gnome-1b76ee36227333c01d3a42bb15b202846f4c0e81.tar.gz
freebsd-ports-gnome-1b76ee36227333c01d3a42bb15b202846f4c0e81.tar.zst
freebsd-ports-gnome-1b76ee36227333c01d3a42bb15b202846f4c0e81.zip
- Fix build
PR: 123057 Submitted by: Ganael Laplanche <ganael.laplanche@martymac.com> Approved by: maintainer
-rw-r--r--multimedia/gxmms/Makefile3
-rw-r--r--multimedia/gxmms/files/patch-src-interface.c11
-rw-r--r--multimedia/gxmms/files/patch-src-xmmsctrl.c12
3 files changed, 20 insertions, 6 deletions
diff --git a/multimedia/gxmms/Makefile b/multimedia/gxmms/Makefile
index fafa2e15690f..2d4b1700613a 100644
--- a/multimedia/gxmms/Makefile
+++ b/multimedia/gxmms/Makefile
@@ -18,10 +18,9 @@ COMMENT= A simple GNOME panel applet for controlling XMMS
BUILD_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
-BROKEN= Does not compile
-
USE_GMAKE= yes
USE_GNOME= gnomehack gnomepanel gnomeprefix intlhack
+USE_GETTEXT= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/multimedia/gxmms/files/patch-src-interface.c b/multimedia/gxmms/files/patch-src-interface.c
new file mode 100644
index 000000000000..4c12cd24a00a
--- /dev/null
+++ b/multimedia/gxmms/files/patch-src-interface.c
@@ -0,0 +1,11 @@
+--- src/interface.c.orig 2008-04-24 15:30:43.000000000 +0200
++++ src/interface.c 2008-04-24 15:31:31.000000000 +0200
+@@ -224,7 +224,7 @@
+ gdouble width;
+ GtkWidget *progress;
+ BonoboUIComponent *popup;
+- gchar info[256] = _("No track");
++ gchar info[256] = "No track";
+
+ progress = xmms->track_control.progress;
+ if (!xmms_remote_is_running(xmms->session))
diff --git a/multimedia/gxmms/files/patch-src-xmmsctrl.c b/multimedia/gxmms/files/patch-src-xmmsctrl.c
index 2e14c7e83b7d..cdde4c8a32f1 100644
--- a/multimedia/gxmms/files/patch-src-xmmsctrl.c
+++ b/multimedia/gxmms/files/patch-src-xmmsctrl.c
@@ -1,7 +1,11 @@
---- src/xmmsctrl.c.orig Fri Sep 3 00:19:54 2004
-+++ src/xmmsctrl.c Thu Nov 4 14:36:56 2004
-@@ -48,13 +48,14 @@
- static gchar *msg_error = _("Sorry, unable to launch XMMS.");
+--- src/xmmsctrl.c.orig 2004-09-03 00:19:54.000000000 +0200
++++ src/xmmsctrl.c 2008-04-24 15:36:57.000000000 +0200
+@@ -45,16 +45,17 @@
+ xmms_start(XMMSData *xmms)
+ {
+ static gchar *exec_cmd = "xmms";
+- static gchar *msg_error = _("Sorry, unable to launch XMMS.");
++ gchar *msg_error = _("Sorry, unable to launch XMMS.");
gint timer;
time_t lt;
+ gchar *exec_this;