diff options
author | drochner <drochner@pkgsrc.org> | 2009-03-30 17:07:46 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2009-03-30 17:07:46 +0000 |
commit | b7cc668b36d39099f15cf7dc0e7089900a273652 (patch) | |
tree | 7f78ebfe35cc4c16028093900b373fb2e516db16 /multimedia | |
parent | 2233fd895c601812f838d5033718030cea8a5bce (diff) | |
download | pkgsrc-b7cc668b36d39099f15cf7dc0e7089900a273652.tar.gz |
make this build with 64-bit time_t
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mediatomb/distinfo | 5 | ||||
-rw-r--r-- | multimedia/mediatomb/patches/patch-ba | 12 | ||||
-rw-r--r-- | multimedia/mediatomb/patches/patch-bb | 12 | ||||
-rw-r--r-- | multimedia/mediatomb/patches/patch-bc | 13 |
4 files changed, 41 insertions, 1 deletions
diff --git a/multimedia/mediatomb/distinfo b/multimedia/mediatomb/distinfo index 52cb4096761..fb39980c96f 100644 --- a/multimedia/mediatomb/distinfo +++ b/multimedia/mediatomb/distinfo @@ -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-ag) = 932f8f4d2764c6cb098e0e78e7476527561b198e 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 --git a/multimedia/mediatomb/patches/patch-ba b/multimedia/mediatomb/patches/patch-ba new file mode 100644 index 00000000000..ad310b1f4d4 --- /dev/null +++ b/multimedia/mediatomb/patches/patch-ba @@ -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 --git a/multimedia/mediatomb/patches/patch-bb b/multimedia/mediatomb/patches/patch-bb new file mode 100644 index 00000000000..bec86e6ed94 --- /dev/null +++ b/multimedia/mediatomb/patches/patch-bb @@ -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 --git a/multimedia/mediatomb/patches/patch-bc b/multimedia/mediatomb/patches/patch-bc new file mode 100644 index 00000000000..98aa9594445 --- /dev/null +++ b/multimedia/mediatomb/patches/patch-bc @@ -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()) |