diff options
author | Michael Januszewski <spock@gentoo.org> | 2006-03-06 18:17:14 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2006-03-06 18:17:14 +0000 |
commit | 1ea3553af8cd53fd7378eb67da981b0c62aede5a (patch) | |
tree | c007c79fff09fe17cf7a029fe7bc9d871d1f281b /app-emulation/uade/files | |
parent | remove old version; quote strings containing env vars (diff) | |
download | gentoo-2-1ea3553af8cd53fd7378eb67da981b0c62aede5a.tar.gz gentoo-2-1ea3553af8cd53fd7378eb67da981b0c62aede5a.tar.bz2 gentoo-2-1ea3553af8cd53fd7378eb67da981b0c62aede5a.zip |
Removed all references to beep-media-player.
(Portage version: 2.1_pre5-r4)
Diffstat (limited to 'app-emulation/uade/files')
-rw-r--r-- | app-emulation/uade/files/uade-0.91-bmp-fix.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/app-emulation/uade/files/uade-0.91-bmp-fix.patch b/app-emulation/uade/files/uade-0.91-bmp-fix.patch deleted file mode 100644 index 8ead959c7d7a..000000000000 --- a/app-emulation/uade/files/uade-0.91-bmp-fix.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff -u -r uade-0.91-org/plugindir/beepmp/uade.c uade-0.91/plugindir/beepmp/uade.c ---- uade-0.91-org/plugindir/beepmp/uade.c 2004-09-10 21:36:16.569584744 +0300 -+++ uade-0.91/plugindir/beepmp/uade.c 2004-09-10 21:36:33.496011536 +0300 -@@ -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"); -@@ -648,6 +651,10 @@ - int *songdata; - char *tempname; - int have_name_hash; -+ const char *prefix = "file://"; -+ -+ if (strncasecmp(filename, prefix, strlen(prefix)) == 0) -+ filename += strlen(prefix); - - if (playingbit) { - fprintf(stderr, "uade: A serious bug has been detected:\n"); -@@ -1059,6 +1066,10 @@ - static void get_song_info(char *filename, char **title, int *length) { - char *temp; - char md5namehash[33]; -+ const char *prefix = "file://"; -+ -+ if (strncasecmp(filename, prefix, strlen(prefix)) == 0) -+ filename += strlen(prefix); - - temp = strrchr(filename, (int) '/'); - if (temp) { |