summaryrefslogtreecommitdiff
path: root/databases/libodbc++/files/patch-src-datastream.h
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2006-11-12 13:50:54 +0000
committerMax Khon <fjoe@FreeBSD.org>2006-11-12 13:50:54 +0000
commit972df48076a53d00c30a1a2d2eabad99530f6522 (patch)
tree0c04357eda7180f953221dd7cfa35d508fe30de6 /databases/libodbc++/files/patch-src-datastream.h
parent- Add a patch to not close shared dbus connections (diff)
Fix build on 64-bit arches (amd64).
Pointed out by: kris (via pointyhat)
Diffstat (limited to '')
-rw-r--r--databases/libodbc++/files/patch-src-datastream.h31
1 files changed, 29 insertions, 2 deletions
diff --git a/databases/libodbc++/files/patch-src-datastream.h b/databases/libodbc++/files/patch-src-datastream.h
index 8d12037d48b0..a33c0f879f27 100644
--- a/databases/libodbc++/files/patch-src-datastream.h
+++ b/databases/libodbc++/files/patch-src-datastream.h
@@ -1,5 +1,14 @@
---- src/datastream.h.orig Wed Jun 2 12:44:31 2004
-+++ src/datastream.h Wed Jun 2 12:51:48 2004
+--- src/datastream.h.orig Mon Apr 21 16:28:38 2003
++++ src/datastream.h Sun Nov 12 13:36:35 2006
+@@ -49,7 +49,7 @@
+ SQLHSTMT hstmt_;
+ int column_;
+ int cType_;
+- SQLINTEGER& dataStatus_;
++ SQLLEN& dataStatus_;
+ size_t bufferSize_;
+
+ virtual int underflow();
@@ -63,7 +63,13 @@
return 0;
}
@@ -15,3 +24,21 @@
if(this->gptr() < this->egptr()) {
return this->egptr() - this->gptr();
}
+@@ -71,7 +77,7 @@
+ }
+
+ DataStreamBuf(ErrorHandler* eh, SQLHSTMT hstmt, int col, int cType,
+- SQLINTEGER& dataStatus);
++ SQLLEN& dataStatus);
+ virtual ~DataStreamBuf();
+ };
+
+@@ -102,7 +108,7 @@
+ friend class Rowset;
+ private:
+ DataStream(ErrorHandler* eh, SQLHSTMT hstmt, int column, int cType,
+- SQLINTEGER& ds)
++ SQLLEN& ds)
+ :
+ #if !defined(ODBCXX_HAVE_ISO_CXXLIB)
+ DataStreamBase(eh,hstmt,column,cType,ds),std::istream(this->rdbuf())