diff options
Diffstat (limited to 'app-misc/lcd-stuff/files/lcd-stuff-0.1.2-mpd.patch')
-rw-r--r-- | app-misc/lcd-stuff/files/lcd-stuff-0.1.2-mpd.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app-misc/lcd-stuff/files/lcd-stuff-0.1.2-mpd.patch b/app-misc/lcd-stuff/files/lcd-stuff-0.1.2-mpd.patch new file mode 100644 index 000000000000..f8f5cdb9ea36 --- /dev/null +++ b/app-misc/lcd-stuff/files/lcd-stuff-0.1.2-mpd.patch @@ -0,0 +1,23 @@ +Patch by Andrej Kacian <ticho@gentoo.org> from bug #177587 + + +diff -ur lcd-stuff-0.1.2-orig/src/mpd.c lcd-stuff-0.1.2/src/mpd.c +--- lcd-stuff-0.1.2-orig/src/mpd.c 2007-05-10 23:26:55.000000000 +0200 ++++ lcd-stuff-0.1.2/src/mpd.c 2007-05-10 23:27:59.000000000 +0200 +@@ -119,14 +119,13 @@ + case MPD_DATA_TYPE_PLAYLIST: + g_ptr_array_add(array, g_path_get_basename(data->playlist)); + g_free(data->playlist); ++ data->playlist = NULL; + break; + + case MPD_DATA_TYPE_DIRECTORY: +- g_free(data->directory); +- break; +- + case MPD_INFO_ENTITY_TYPE_SONG: + g_free(data->directory); ++ data->directory = NULL; + break; + + default: |