diff options
Diffstat (limited to 'media-sound/rhythmbox/files/rhythmbox-0.6.8-amd64.patch')
-rw-r--r-- | media-sound/rhythmbox/files/rhythmbox-0.6.8-amd64.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/media-sound/rhythmbox/files/rhythmbox-0.6.8-amd64.patch b/media-sound/rhythmbox/files/rhythmbox-0.6.8-amd64.patch new file mode 100644 index 000000000000..1d25131365a9 --- /dev/null +++ b/media-sound/rhythmbox/files/rhythmbox-0.6.8-amd64.patch @@ -0,0 +1,26 @@ +diff -ur rhythmbox-0.6.5/monkey-media/monkey-media-player-gst-tmp.c rhythmbox-0.6.5-patched/monkey-media/monkey-media-player-gst-tmp.c +--- rhythmbox-0.6.5/monkey-media/monkey-media-player-gst-tmp.c 2004-01-18 03:57:40.000000000 +0100 ++++ rhythmbox-0.6.5-patched/monkey-media/monkey-media-player-gst-tmp.c 2004-02-13 21:12:12.000000000 +0100 +@@ -347,7 +347,7 @@ + { + char *ret = NULL, *cset; + va_list args; +- int bytes_read, bytes_written; ++ gsize bytes_read, bytes_written; + + if (g_utf8_validate (str, len, NULL)) + return g_strndup (str, len >= 0 ? len : strlen (str)); +@@ -356,10 +356,10 @@ + while ((cset = va_arg (args, char *)) != NULL) + { + if (!strcmp (cset, "locale")) +- ret = g_locale_to_utf8 (str, len, &bytes_read, ++ ret = g_locale_to_utf8 (str, (gsize) len, &bytes_read, + &bytes_written, NULL); + else +- ret = g_convert (str, len, "UTF-8", cset, ++ ret = g_convert (str, (gsize) len, "UTF-8", cset, + &bytes_read, &bytes_written, NULL); + if (ret) + break; + |