diff options
author | Christoph Mende <angelos@gentoo.org> | 2008-08-21 19:50:43 +0000 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2008-08-21 19:50:43 +0000 |
commit | 07420dd1c4eb42d03d38387bdd33d39cb81900bc (patch) | |
tree | acf97d67bbe7214227cd168f7dd8ebaf359e7592 /media-libs/libmpd/files | |
parent | Add ~sparc keyword at user request, bug #234847 (diff) | |
download | gentoo-2-07420dd1c4eb42d03d38387bdd33d39cb81900bc.tar.gz gentoo-2-07420dd1c4eb42d03d38387bdd33d39cb81900bc.tar.bz2 gentoo-2-07420dd1c4eb42d03d38387bdd33d39cb81900bc.zip |
Fix for bug 233582
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo x86_64)
Diffstat (limited to 'media-libs/libmpd/files')
-rw-r--r-- | media-libs/libmpd/files/libmpd-0.15.0-remove-new-parameter.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/media-libs/libmpd/files/libmpd-0.15.0-remove-new-parameter.patch b/media-libs/libmpd/files/libmpd-0.15.0-remove-new-parameter.patch new file mode 100644 index 000000000000..d947c3262bb0 --- /dev/null +++ b/media-libs/libmpd/files/libmpd-0.15.0-remove-new-parameter.patch @@ -0,0 +1,46 @@ +From: Qball Cow <qball@QDesk.site> +Date: Wed, 30 Jul 2008 19:05:48 +0000 (+0200) +Subject: removing new as parameter +X-Git-Url: http://repo.or.cz/w/libmpd.git?a=commitdiff_plain;h=9ff13b4ef0e250a18a2b5231dcb22791704808a5;hp=79fea3d08b05f6fe90441c38441279629fc50df8 + +removing new as parameter +--- + +diff --git a/src/libmpd-database.c b/src/libmpd-database.c +index ebfa92e..e91478e 100644 +--- a/src/libmpd-database.c ++++ b/src/libmpd-database.c +@@ -1001,9 +1001,9 @@ MpdData * mpd_database_get_directory_recursive(MpdObj *mi, const char *path) + } + return mpd_data_get_first(data); + } +-void mpd_database_playlist_rename(MpdObj *mi, const char *old, const char *new) ++void mpd_database_playlist_rename(MpdObj *mi, const char *old_name, const char *new_name) + { +- if(!new || !old) ++ if(!new_name || !old_name) + { + debug_printf(DEBUG_ERROR, "old != NULL && new != NULL failed"); + return; +@@ -1021,7 +1021,7 @@ void mpd_database_playlist_rename(MpdObj *mi, const char *old, const char *new) + return ; + } + +- mpd_sendRenameCommand(mi->connection, (char *)old,(char *)new); ++ mpd_sendRenameCommand(mi->connection, (char *)old_name,(char *)new_name); + mpd_finishCommand(mi->connection); + + mpd_unlock_conn(mi); +diff --git a/src/libmpd-database.h b/src/libmpd-database.h +index 6c37394..66f2e71 100644 +--- a/src/libmpd-database.h ++++ b/src/libmpd-database.h +@@ -311,7 +311,7 @@ void mpd_database_playlist_clear(MpdObj *mi,const char *path); + * Renames a stored playlist + * Needs mpd 0.13.0 + */ +-void mpd_database_playlist_rename(MpdObj *mi, const char *old, const char *new); ++void mpd_database_playlist_rename(MpdObj *mi, const char *old_name, const char *new_name); + + /** + * @param mi a #MpdObj |