diff options
author | Joe McCann <joem@gentoo.org> | 2007-02-02 21:50:32 +0000 |
---|---|---|
committer | Joe McCann <joem@gentoo.org> | 2007-02-02 21:50:32 +0000 |
commit | f5a944def2bbaa24407dfcd31c76413eb0b211d6 (patch) | |
tree | 4c817fce79244eb098de5094f7fbf47b63a9b27c /media-sound/rhythmbox/files | |
parent | prune older releases (diff) | |
download | gentoo-2-f5a944def2bbaa24407dfcd31c76413eb0b211d6.tar.gz gentoo-2-f5a944def2bbaa24407dfcd31c76413eb0b211d6.tar.bz2 gentoo-2-f5a944def2bbaa24407dfcd31c76413eb0b211d6.zip |
Adding patch to fix playback from daap shares. See bug 162956 for more info. Also added gst-plugins-cdparanoia dep as per bug 164983
(Portage version: 2.1.2-r6)
Diffstat (limited to 'media-sound/rhythmbox/files')
-rw-r--r-- | media-sound/rhythmbox/files/digest-rhythmbox-0.9.7-r1 | 3 | ||||
-rw-r--r-- | media-sound/rhythmbox/files/rhythmbox-0.9.7-daap_fix.patch | 38 |
2 files changed, 41 insertions, 0 deletions
diff --git a/media-sound/rhythmbox/files/digest-rhythmbox-0.9.7-r1 b/media-sound/rhythmbox/files/digest-rhythmbox-0.9.7-r1 new file mode 100644 index 000000000000..9b731a17d661 --- /dev/null +++ b/media-sound/rhythmbox/files/digest-rhythmbox-0.9.7-r1 @@ -0,0 +1,3 @@ +MD5 3ca989c655c5931ce056af7ff311885b rhythmbox-0.9.7.tar.bz2 3231718 +RMD160 547643b40b36e4e0c18b6d817c37426ce585119f rhythmbox-0.9.7.tar.bz2 3231718 +SHA256 2fac1912a15c19841d4ca3188df7aa8c7aaa37dbbffb279b24259cc1281ff995 rhythmbox-0.9.7.tar.bz2 3231718 diff --git a/media-sound/rhythmbox/files/rhythmbox-0.9.7-daap_fix.patch b/media-sound/rhythmbox/files/rhythmbox-0.9.7-daap_fix.patch new file mode 100644 index 000000000000..817add8c7bed --- /dev/null +++ b/media-sound/rhythmbox/files/rhythmbox-0.9.7-daap_fix.patch @@ -0,0 +1,38 @@ +--- daapsharing/rb-daap-src.c 2007/01/07 12:16:12 4725 ++++ daapsharing/rb-daap-src.c 2007/01/27 02:34:51 4760 +@@ -601,6 +601,7 @@ + gchar *request; + gchar *response; + gchar *end_headers; ++ gchar first_byte; + size_t readsize; + gboolean ok = TRUE; + guint http_status; +@@ -704,10 +705,13 @@ + } + + /* libsoup wants the headers null-terminated, despite taking a parameter +- * specifying how long they are. ++ * specifying how long they are. since the byte we overwrite to null- ++ * terminate the headers is the first byte of the response body, we need ++ * to restore it once we've parsed the response headers. + */ +- end_headers[2] = '\0'; +- end_headers += 4; ++ first_byte = end_headers[4]; ++ end_headers[4] = '\0'; ++ end_headers += 2; + + header_table = g_hash_table_new (soup_str_case_hash, soup_str_case_equal); + if (soup_headers_parse_response (response, +@@ -758,6 +762,10 @@ + g_free (http_status_phrase); + g_hash_table_destroy (header_table); + ++ /* restore the first response body byte and move on */ ++ end_headers += 2; ++ *end_headers = first_byte; ++ + /* copy remaining data into a new buffer */ + if (ok) { + src->buffer_size = readsize - (end_headers - response); |