summaryrefslogtreecommitdiffstats
path: root/audio/rhythmbox-devel/files
diff options
context:
space:
mode:
Diffstat (limited to 'audio/rhythmbox-devel/files')
-rw-r--r--audio/rhythmbox-devel/files/patch-corba_Makefile.in11
-rw-r--r--audio/rhythmbox-devel/files/patch-sources_itunesdb.c22
-rw-r--r--audio/rhythmbox-devel/files/patch-sources_rb-ipod-source.c18
3 files changed, 51 insertions, 0 deletions
diff --git a/audio/rhythmbox-devel/files/patch-corba_Makefile.in b/audio/rhythmbox-devel/files/patch-corba_Makefile.in
new file mode 100644
index 000000000..723285dfa
--- /dev/null
+++ b/audio/rhythmbox-devel/files/patch-corba_Makefile.in
@@ -0,0 +1,11 @@
+--- corba/Makefile.in.orig Wed Aug 27 04:19:40 2003
++++ corba/Makefile.in Wed Aug 27 04:19:56 2003
+@@ -237,7 +237,7 @@
+
+ noinst_HEADERS = Rhythmbox.h
+
+-idldir = $(prefix)/share/idl
++idldir = $(datadir)/idl
+ idl_DATA = Rhythmbox.idl
+
+ CLEAN_FILES = $(rhythmbox_interface_idl_sources)
diff --git a/audio/rhythmbox-devel/files/patch-sources_itunesdb.c b/audio/rhythmbox-devel/files/patch-sources_itunesdb.c
new file mode 100644
index 000000000..6270d9f74
--- /dev/null
+++ b/audio/rhythmbox-devel/files/patch-sources_itunesdb.c
@@ -0,0 +1,22 @@
+--- sources/itunesdb.c.orig Fri Mar 19 12:20:13 2004
++++ sources/itunesdb.c Fri Apr 2 21:39:39 2004
+@@ -729,8 +729,9 @@
+ gchar data[4];
+ guint32 header_length, entry_length, entry_num, i=0;
+ time_t tt = time (NULL);
++ struct tm *tmt;
+
+- localtime (&tt); /* set the ext. variable 'timezone' (see below) */
++ tmt = localtime (&tt); /* set the ext. variable 'timezone' (see below) */
+ if (seek_get_n_bytes (plycts, data, 0, 4) != 4) break;
+ if (cmp_n_bytes (data, "mhdp", 4) == FALSE) break;
+ header_length = get4int (plycts, 4);
+@@ -768,7 +769,7 @@
+ * way to do that ?
+ */
+ if (playcount->time_played)
+- playcount->time_played += __timezone;
++ playcount->time_played += tmt->tm_gmtoff;
+
+ /* rating only exists if the entry length is at least 0x10 */
+ if (entry_length >= 0x10)
diff --git a/audio/rhythmbox-devel/files/patch-sources_rb-ipod-source.c b/audio/rhythmbox-devel/files/patch-sources_rb-ipod-source.c
new file mode 100644
index 000000000..61fbb19a5
--- /dev/null
+++ b/audio/rhythmbox-devel/files/patch-sources_rb-ipod-source.c
@@ -0,0 +1,18 @@
+--- sources/rb-ipod-source.c.orig Sun Sep 19 17:05:37 2004
++++ sources/rb-ipod-source.c Sun Sep 19 17:05:49 2004
+@@ -234,6 +234,7 @@
+ }
+
+ /* Set disc number */
++ /*
+ if (song->cd_nr != 0) {
+ GValue value = {0, };
+ g_value_init (&value, G_TYPE_ULONG);
+@@ -243,6 +244,7 @@
+ &value);
+ g_value_unset (&value);
+ }
++ */
+
+ /* Set bitrate */
+ if (song->bitrate != 0) {