aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/xmms
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2004-02-05 05:10:00 +0800
committerfjoe <fjoe@FreeBSD.org>2004-02-05 05:10:00 +0800
commit3ffd9e04d8833cb2c130378cf02f317d95f2e11c (patch)
tree92765046062f5f8b1bf2e1b6bf0307ebcee19476 /multimedia/xmms
parent39d393689c55b10e9997a611fa67435326eb3b81 (diff)
downloadfreebsd-ports-gnome-3ffd9e04d8833cb2c130378cf02f317d95f2e11c.tar.gz
freebsd-ports-gnome-3ffd9e04d8833cb2c130378cf02f317d95f2e11c.tar.zst
freebsd-ports-gnome-3ffd9e04d8833cb2c130378cf02f317d95f2e11c.zip
Fix building ru-xmms with vorbis output plugin.
Diffstat (limited to 'multimedia/xmms')
-rw-r--r--multimedia/xmms/Makefile1
-rw-r--r--multimedia/xmms/files/Input-vorbis-fileinfo.c.diff19
2 files changed, 20 insertions, 0 deletions
diff --git a/multimedia/xmms/Makefile b/multimedia/xmms/Makefile
index e82e7be8e69b..eee89110f495 100644
--- a/multimedia/xmms/Makefile
+++ b/multimedia/xmms/Makefile
@@ -123,6 +123,7 @@ pre-extract:
post-patch:
.if defined(WITH_ENCODING_PATCH)
@${PATCH} -s -p1 -d ${WRKSRC} < ${WRKDIR}/xmms-ds-recode.patch
+ @${PATCH} -s -p0 -d ${WRKSRC} < ${FILESDIR}/Input-vorbis-fileinfo.c.diff
.endif
@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
's|\(datadir\)/aclocal|(prefix)/share/aclocal|g'
diff --git a/multimedia/xmms/files/Input-vorbis-fileinfo.c.diff b/multimedia/xmms/files/Input-vorbis-fileinfo.c.diff
new file mode 100644
index 000000000000..f29cda908c1f
--- /dev/null
+++ b/multimedia/xmms/files/Input-vorbis-fileinfo.c.diff
@@ -0,0 +1,19 @@
+--- Input/vorbis/fileinfo.c.orig Thu Feb 5 02:42:36 2004
++++ Input/vorbis/fileinfo.c Thu Feb 5 02:43:19 2004
+@@ -455,6 +455,7 @@
+ gchar *description, *version, *isrc, *copyright, *organization;
+ gchar *location;
+ gchar *rg_track_gain, *rg_album_gain, *rg_track_peak, *rg_album_peak;
++ gchar *cfilename;
+
+ gint time, minutes, seconds, bitrate, rate, channels, filesize, i;
+
+@@ -916,7 +917,7 @@
+ gtk_entry_set_text(GTK_ENTRY(isrc_entry), isrc);
+ gtk_entry_set_text(GTK_ENTRY(location_entry), location);
+ #endif
+- gchar *cfilename=xmms_charset_recode_fsout(vte.filename,0,NULL);
++ cfilename=xmms_charset_recode_fsout(vte.filename,0,NULL);
+ if (cfilename) {
+ gtk_entry_set_text(GTK_ENTRY(filename_entry), cfilename);
+ g_free(cfilename);