diff options
author | fjoe <fjoe@FreeBSD.org> | 2004-02-04 21:10:00 +0000 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2004-02-04 21:10:00 +0000 |
commit | 3ffd9e04d8833cb2c130378cf02f317d95f2e11c (patch) | |
tree | 92765046062f5f8b1bf2e1b6bf0307ebcee19476 /multimedia | |
parent | 39d393689c55b10e9997a611fa67435326eb3b81 (diff) | |
download | FreeBSD-ports-3ffd9e04d8833cb2c130378cf02f317d95f2e11c.zip FreeBSD-ports-3ffd9e04d8833cb2c130378cf02f317d95f2e11c.tar.gz |
Fix building ru-xmms with vorbis output plugin.
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/xmms/Makefile | 1 | ||||
-rw-r--r-- | multimedia/xmms/files/Input-vorbis-fileinfo.c.diff | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/multimedia/xmms/Makefile b/multimedia/xmms/Makefile index e82e7be..eee8911 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 0000000..f29cda9 --- /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); |