pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/mediatomb make this build with 64-bit time_t
details: https://anonhg.NetBSD.org/pkgsrc/rev/9b7fe86d5fed
branches: trunk
changeset: 556695:9b7fe86d5fed
user: drochner <drochner%pkgsrc.org@localhost>
date: Mon Mar 30 17:07:46 2009 +0000
description:
make this build with 64-bit time_t
diffstat:
multimedia/mediatomb/distinfo | 5 ++++-
multimedia/mediatomb/patches/patch-ba | 12 ++++++++++++
multimedia/mediatomb/patches/patch-bb | 12 ++++++++++++
multimedia/mediatomb/patches/patch-bc | 13 +++++++++++++
4 files changed, 41 insertions(+), 1 deletions(-)
diffs (65 lines):
diff -r bb457d2598c9 -r 9b7fe86d5fed multimedia/mediatomb/distinfo
--- a/multimedia/mediatomb/distinfo Mon Mar 30 14:14:19 2009 +0000
+++ b/multimedia/mediatomb/distinfo Mon Mar 30 17:07:46 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2009/01/27 04:05:50 jmcneill Exp $
+$NetBSD: distinfo,v 1.6 2009/03/30 17:07:46 drochner Exp $
SHA1 (mediatomb-0.11.0.tar.gz) = 1d7c86924686f9999a359ba96092aa36d30832a6
RMD160 (mediatomb-0.11.0.tar.gz) = 11c53d5757da3a689c025107331526c0486befc4
@@ -13,3 +13,6 @@
SHA1 (patch-ah) = 9b12a346a61bdeb7d5cc7a7289c0b4046a7a6255
SHA1 (patch-ai) = e9cad8e72f7e4e9d6eb7448d1380da3bcc8c28df
SHA1 (patch-aj) = b3893ec5c8fc518673a144cb74a12eaa7e34f008
+SHA1 (patch-ba) = ee8b711de0a10bb58adb2ef25720f764e19b3ab2
+SHA1 (patch-bb) = 94f180b618dce3d0f12a009fd29a0e640667cdcc
+SHA1 (patch-bc) = 348bd87b5f586a0f16326aaafcf7f1b5e039a8b2
diff -r bb457d2598c9 -r 9b7fe86d5fed multimedia/mediatomb/patches/patch-ba
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mediatomb/patches/patch-ba Mon Mar 30 17:07:46 2009 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ba,v 1.1 2009/03/30 17:07:46 drochner Exp $
+
+--- src/storage/sql_storage.h.orig 2008-03-01 23:48:34.000000000 +0100
++++ src/storage/sql_storage.h
+@@ -78,6 +78,7 @@ public:
+ virtual zmm::String quote(unsigned int val) = 0;
+ virtual zmm::String quote(long val) = 0;
+ virtual zmm::String quote(unsigned long val) = 0;
++ virtual zmm::String quote(long long val) = 0;
+ virtual zmm::String quote(bool val) = 0;
+ virtual zmm::String quote(char val) = 0;
+ virtual zmm::Ref<SQLResult> select(const char *query, int length) = 0;
diff -r bb457d2598c9 -r 9b7fe86d5fed multimedia/mediatomb/patches/patch-bb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mediatomb/patches/patch-bb Mon Mar 30 17:07:46 2009 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-bb,v 1.1 2009/03/30 17:07:46 drochner Exp $
+
+--- src/storage/sqlite3/sqlite3_storage.h.orig 2008-03-01 23:48:34.000000000 +0100
++++ src/storage/sqlite3/sqlite3_storage.h
+@@ -148,6 +148,7 @@ private:
+ virtual inline zmm::String quote(unsigned int val) { return zmm::String::from(val); }
+ virtual inline zmm::String quote(long val) { return zmm::String::from(val); }
+ virtual inline zmm::String quote(unsigned long val) { return zmm::String::from(val); }
++ virtual inline zmm::String quote(long long val) { return zmm::String::from(val); }
+ virtual inline zmm::String quote(bool val) { return zmm::String(val ? '1' : '0'); }
+ virtual inline zmm::String quote(char val) { return quote(zmm::String(val)); }
+ virtual zmm::Ref<SQLResult> select(const char *query, int length);
diff -r bb457d2598c9 -r 9b7fe86d5fed multimedia/mediatomb/patches/patch-bc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mediatomb/patches/patch-bc Mon Mar 30 17:07:46 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-bc,v 1.1 2009/03/30 17:07:46 drochner Exp $
+
+--- src/storage/sql_storage.cc.orig 2008-03-01 23:48:34.000000000 +0100
++++ src/storage/sql_storage.cc
+@@ -1908,7 +1908,7 @@ void SQLStorage::autoscanUpdateLM(Ref<Au
+ throw _Exception(_("autoscanUpdateLM called with adir with illegal objectID and location"));
+ }
+ */
+- log_debug("id: %d; last_modified: %d\n", adir->getStorageID(), adir->getPreviousLMT());
++ log_debug("id: %d; last_modified: %lld\n", adir->getStorageID(), (long long)adir->getPreviousLMT());
+ Ref<StringBuffer> q(new StringBuffer());
+ *q << "UPDATE " << TQ(AUTOSCAN_TABLE)
+ << " SET " << TQ("last_modified") << '=' << quote(adir->getPreviousLMT())
Home |
Main Index |
Thread Index |
Old Index