summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2004-09-09 14:04:23 +0000
committerMichael Januszewski <spock@gentoo.org>2004-09-09 14:04:23 +0000
commit79b9d82927876cca999205584916d554ec3819c2 (patch)
tree765eb692a0c3d8c36c9fdeb8aeaa21852b8d9225 /app-emulation/uade/files
parentAdded beepmp USE flag for app-emulation/uade. (diff)
downloadhistorical-79b9d82927876cca999205584916d554ec3819c2.tar.gz
historical-79b9d82927876cca999205584916d554ec3819c2.tar.bz2
historical-79b9d82927876cca999205584916d554ec3819c2.zip
Added support for the Beep Media Player (beepmp USE flag). Closes bug #62463.
Diffstat (limited to 'app-emulation/uade/files')
-rw-r--r--app-emulation/uade/files/digest-uade-0.91-r11
-rw-r--r--app-emulation/uade/files/uade-0.91-bmp-fix.patch29
2 files changed, 30 insertions, 0 deletions
diff --git a/app-emulation/uade/files/digest-uade-0.91-r1 b/app-emulation/uade/files/digest-uade-0.91-r1
new file mode 100644
index 000000000000..0489ad326287
--- /dev/null
+++ b/app-emulation/uade/files/digest-uade-0.91-r1
@@ -0,0 +1 @@
+MD5 3b7fa0899e3456e0d37c50048685881e uade-0.91.tar.bz2 2117195
diff --git a/app-emulation/uade/files/uade-0.91-bmp-fix.patch b/app-emulation/uade/files/uade-0.91-bmp-fix.patch
new file mode 100644
index 000000000000..97d3f98adc60
--- /dev/null
+++ b/app-emulation/uade/files/uade-0.91-bmp-fix.patch
@@ -0,0 +1,29 @@
+diff -Naur uade-0.91-orig/plugindir/beepmp/uade.c uade-0.91/plugindir/beepmp/uade.c
+--- uade-0.91-orig/plugindir/beepmp/uade.c 2004-07-27 16:22:37.000000000 +0200
++++ uade-0.91/plugindir/beepmp/uade.c 2004-09-09 15:37:24.609571008 +0200
+@@ -305,9 +305,12 @@
+ /* xmms calls this function to check song */
+ static int is_our_file(char *filename) {
+ int ours;
++ const char *prefix = "file://";
+ if(!uade_is_operational) {
+ return FALSE;
+ }
++ if (strncasecmp(filename, prefix, strlen(prefix)) == 0)
++ filename += strlen(prefix);
+ ours = check_my_file(filename, 0, 0);
+ if (ours) {
+ FILE *f = fopen(filename, "rb");
+diff -Naur uade-0.91-orig/src/uade.c uade-0.91/src/uade.c
+--- uade-0.91-orig/src/uade.c 2004-07-27 16:22:37.000000000 +0200
++++ uade-0.91/src/uade.c 2004-09-09 15:38:58.252335144 +0200
+@@ -443,6 +443,9 @@
+ {
+ int bytesread, status;
+ FILE *file;
++ const char *prefix = "file://";
++ if (strncasecmp(name, prefix, strlen(prefix)) == 0)
++ name += strlen(prefix);
+ file = fopen(name, "rb");
+ if (!file) {
+ fprintf(stderr,"uade: couldn't load %s %s\n", expl, name);