diff options
author | Nick White <git@njw.me.uk> | 2010-08-04 13:23:54 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2010-08-04 13:23:54 +0100 |
commit | 24ce76e6c26317e940358fee2465862f2b472584 (patch) | |
tree | 30f6a092af07f6df5bf0c8986d60d063776e8efc /media-sound/modplugtools/files | |
parent | cfeaa63fc50335db2daab2bcdfaf38a642e5a60c (diff) | |
download | njw-gentoo-local-24ce76e6c26317e940358fee2465862f2b472584.tar.bz2 njw-gentoo-local-24ce76e6c26317e940358fee2465862f2b472584.zip |
Removing modplugtools; now in main tree
Diffstat (limited to 'media-sound/modplugtools/files')
-rw-r--r-- | media-sound/modplugtools/files/modplug-nooverflow.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/media-sound/modplugtools/files/modplug-nooverflow.patch b/media-sound/modplugtools/files/modplug-nooverflow.patch deleted file mode 100644 index 2f7d504..0000000 --- a/media-sound/modplugtools/files/modplug-nooverflow.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- mp123/modplug123.c 2010-04-11 08:29:58.000000000 +0100 -+++ mp123/modplug123.c 2010-08-02 20:30:52.739025706 +0100 -@@ -354,8 +354,8 @@ for (song=1; song<argc; song++) { - - - set_keypress(); -- strcpy(songname, ModPlug_GetName(f2)); -- if (strlen(songname)==0) strcpy(songname,argv[song]); -+ strncpy(songname, ModPlug_GetName(f2), 41); -+ if (strlen(songname)==0) strncpy(songname,argv[song], 41); - sprintf(status,"[1Gplaying %s (%%d.%%d/%d\") (%%d/%%d/%%d%%s) \b\b\b\b",songname,ModPlug_GetLength(f2)/1000,format.rate,format.channels,settings.mBits,order); - if (loop) sprintf(status,"[1Glooping %s (%%d.%%d/%d\") (%%d/%%d/%%d%%s) \b\b\b\b",songname,ModPlug_GetLength(f2)/1000,format.rate,format.channels,settings.mBits,order); - ---- mpplay/modplugplay.c 2010-04-11 09:12:50.000000000 +0100 -+++ mpplay/modplugplay.c 2010-08-02 20:30:41.298200678 +0100 -@@ -441,8 +441,8 @@ for (song=1; song<argc; song++) { - // [rev--dly--] [sur--dly--] [bas--rng--] - - set_keypress(); -- strcpy(songname, ModPlug_GetName(f2)); -- if (strlen(songname)==0) strcpy(songname,argv[song]); -+ strncpy(songname, ModPlug_GetName(f2), 41); -+ if (strlen(songname)==0) strncpy(songname,argv[song], 41); - sprintf(status,"[1Gplaying %s (%%d.%%d/%d\") (%%d/%%d/%%d%%s) \b\b\b\b",songname,ModPlug_GetLength(f2)/1000,speed,channels,settings.mBits,order); - if (loop) sprintf(status,"[1Glooping %s (%%d.%%d/%d\") (%%d/%%d/%%d%%s) \b\b\b\b",songname,ModPlug_GetLength(f2)/1000,speed,channels,settings.mBits,order); - |