head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.8 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.6 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.4 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.2 pkgsrc-2011Q2-base:1.2 pkgsrc-2010Q3:1.1.0.8 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.6 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.4 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.2 pkgsrc-2009Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2010.12.03.09.55.33; author abs; state dead; branches; next 1.1; 1.1 date 2009.11.24.21.57.53; author agc; state Exp; branches; next ; desc @@ 1.2 log @Updated textproc/xapian to 1.2.2 tested on NetBSD 5.x amd64 changelog since 1.0.18 runs to 64k with no obvious highlights. @ text @$NetBSD: patch-ab,v 1.1 2009/11/24 21:57:53 agc Exp $ provide a stringise function for systems with 64-bit time_t's. --- common/utils.cc 2009/11/24 21:19:54 1.1 +++ common/utils.cc 2009/11/24 21:20:41 @@@@ -73,16 +73,11 @@@@ CONVERT_TO_STRING("%lu") } -#ifdef __WIN32__ string -om_tostring(__int64 val) +om_tostring(long long val) { - // Avoid a format string warning from GCC - mingw uses the MS C runtime DLL - // which does understand "%I64d", but GCC doesn't know that. - static const char fmt[] = { '%', 'I', '6', '4', 'd', 0 }; - CONVERT_TO_STRING(fmt) + CONVERT_TO_STRING("%lld") } -#endif string om_tostring(double val) @ 1.1 log @Provide a stringise function for 64bit integers, so that xapian will build on systems with 64bit time_t's. @ text @d1 1 a1 1 $NetBSD$ @