summaryrefslogtreecommitdiff
path: root/audio/rhythmbox-devel/files/patch-sources_itunesdb.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2005-01-21 15:36:45 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2005-01-21 15:36:45 +0000
commit7011c19a8c96a2f8fb7c04d61cb28cdc507584a6 (patch)
tree22c0efaf2b6bb5b461389f9bac9542c7e3a5909a /audio/rhythmbox-devel/files/patch-sources_itunesdb.c
parentNow buildable on 4.x, still broken on >= 5.x. (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_11_0'.release/4.11.0
Diffstat (limited to 'audio/rhythmbox-devel/files/patch-sources_itunesdb.c')
-rw-r--r--audio/rhythmbox-devel/files/patch-sources_itunesdb.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/audio/rhythmbox-devel/files/patch-sources_itunesdb.c b/audio/rhythmbox-devel/files/patch-sources_itunesdb.c
deleted file mode 100644
index 6270d9f74cc1..000000000000
--- a/audio/rhythmbox-devel/files/patch-sources_itunesdb.c
+++ /dev/null
@@ -1,22 +0,0 @@
---- 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)