summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2004-06-02 20:03:34 +0000
committerMax Khon <fjoe@FreeBSD.org>2004-06-02 20:03:34 +0000
commit2a9374d10f95fd42ab1ec7ac9aa8c80b9e9a681a (patch)
tree1da76fcb77c7305faa9cfe35249041f58035c5c9 /databases
parent- Unbreak: gmake is needed for patch stage (diff)
Fix build on 64-bit architectures.
Noticed by: kris (bento)
Notes
Notes: svn path=/head/; revision=110701
Diffstat (limited to 'databases')
-rw-r--r--databases/libodbc++/files/patch-src-datastream.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/databases/libodbc++/files/patch-src-datastream.h b/databases/libodbc++/files/patch-src-datastream.h
new file mode 100644
index 000000000000..8d12037d48b0
--- /dev/null
+++ b/databases/libodbc++/files/patch-src-datastream.h
@@ -0,0 +1,17 @@
+--- src/datastream.h.orig Wed Jun 2 12:44:31 2004
++++ src/datastream.h Wed Jun 2 12:51:48 2004
+@@ -63,7 +63,13 @@
+ return 0;
+ }
+
+- virtual int showmanyc() {
++ virtual
++#if !defined(ODBCXX_HAVE_ISO_CXXLIB)
++ int
++#else
++ std::streamsize
++#endif
++ showmanyc() {
+ if(this->gptr() < this->egptr()) {
+ return this->egptr() - this->gptr();
+ }