summaryrefslogtreecommitdiff
path: root/databases/p5-DBD-InterBase
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2002-09-12 08:22:16 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2002-09-12 08:22:16 +0000
commitb27c57992480ba6a3fbdd562a645fff856dbf656 (patch)
tree75382ca197107314d5b7d3964c0a2556cf4cb86a /databases/p5-DBD-InterBase
parentFix DISTNAME. (diff)
Minor change (%ll -> %q)
Notes
Notes: svn path=/head/; revision=66180
Diffstat (limited to 'databases/p5-DBD-InterBase')
-rw-r--r--databases/p5-DBD-InterBase/files/patch-dbdimp.c41
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 405a0f6eb012..9446d55a5290 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