diff options
author | skv <skv@FreeBSD.org> | 2002-09-12 08:22:16 +0000 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2002-09-12 08:22:16 +0000 |
commit | e3d51239b11fcfa57c9da8982466da9ab2b9cde1 (patch) | |
tree | 3dc02b01c5ea2bd1f95971cf6061bd4906e0add7 /databases/p5-DBD-InterBase/files | |
parent | fde32bacd29fdf0f552ca0884b7a92fe0a9817ae (diff) | |
download | FreeBSD-ports-e3d51239b11fcfa57c9da8982466da9ab2b9cde1.zip FreeBSD-ports-e3d51239b11fcfa57c9da8982466da9ab2b9cde1.tar.gz |
Minor change (%ll -> %q)
Diffstat (limited to 'databases/p5-DBD-InterBase/files')
-rw-r--r-- | databases/p5-DBD-InterBase/files/patch-dbdimp.c | 41 |
1 files changed, 30 insertions, 11 deletions
diff --git a/databases/p5-DBD-InterBase/files/patch-dbdimp.c b/databases/p5-DBD-InterBase/files/patch-dbdimp.c index 405a0f6..9446d55 100644 --- a/databases/p5-DBD-InterBase/files/patch-dbdimp.c +++ b/databases/p5-DBD-InterBase/files/patch-dbdimp.c @@ -1,16 +1,35 @@ ---- dbdimp.c.orig Thu Aug 29 06:28:30 2002 -+++ dbdimp.c Tue Sep 10 16:35:15 2002 -@@ -2430,8 +2430,13 @@ +--- dbdimp.c Thu Aug 29 06:28:30 2002 ++++ dbi-interbase/dbdimp.c Thu Sep 12 12:15:32 2002 +@@ -1,5 +1,5 @@ + /* +- $Id: dbdimp.c,v 1.96 2002/08/12 16:04:26 danielritz Exp $ ++ $Id: dbdimp.c,v 1.97 2002/09/10 13:30:07 danielritz Exp $ + + Copyright (c) 1999-2002 Edwin Pratomo + Portions Copyright (c) 2001-2002 Daniel Ritz +@@ -1329,7 +1329,10 @@ + #elif defined(__BORLANDC__) /* Borland compiler/library */ + # define P_INT64_RPEC "%.*Lf" + # define P_INT64_FULL "%s%Ld%s" +-#else /* others: linux, xBSD, solaris, hp-ux, ... */ ++#elif defined (__FreeBSD__) /* FreeBSD */ ++# define P_INT64_RPEC "%.*Lf" ++# define P_INT64_FULL "%s%qd%s" ++#else /* others: linux, various unices */ + # define P_INT64_RPEC "%.*Lf" + # define P_INT64_FULL "%s%lld%s" + #endif +@@ -2429,7 +2432,12 @@ + # define S_INT64_NOSCALE "%%Ld.%%1Ld" # define S_INT64_DEC_FULL ".%%%dLd%%1Ld" # define S_INT64_DEC_NOSCALE ".%%1Ld" - #else /* others: linux, xBSD, solaris, hp-ux, ... */ -+#ifdef __FreeBSD__ -+# define S_INT64_FULL "%%qd.%%%dlld%%1lld" -+# define S_INT64_NOSCALE "%%qd.%%1lld" -+#else +-#else /* others: linux, xBSD, solaris, hp-ux, ... */ ++#elif defined (__FreeBSD__) /* FreeBSD */ ++# define S_INT64_FULL "%%qd.%%%dqd%%1qd" ++# define S_INT64_NOSCALE "%%qd.%%1qd" ++# define S_INT64_DEC_FULL ".%%%dqd%%1qd" ++# define S_INT64_DEC_NOSCALE ".%%1qd" ++#else /* others: linux, various unices */ # define S_INT64_FULL "%%lld.%%%dlld%%1lld" # define S_INT64_NOSCALE "%%lld.%%1lld" -+#endif # define S_INT64_DEC_FULL ".%%%dlld%%1lld" - # define S_INT64_DEC_NOSCALE ".%%1lld" - #endif |