aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2004-02-04 21:10:00 +0000
committerMax Khon <fjoe@FreeBSD.org>2004-02-04 21:10:00 +0000
commitefb4313abfd1a4a8994db949c5b59b7618e74d5e (patch)
treed97077ed79c884ddae3b6766a13b295dd68abe94 /multimedia
parent1fae79f5a0159eea99067da79cc481d225f5c765 (diff)
downloadports-efb4313abfd1a4a8994db949c5b59b7618e74d5e.tar.gz
ports-efb4313abfd1a4a8994db949c5b59b7618e74d5e.zip
Notes
Diffstat (limited to 'multimedia')
-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);