aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2013-11-18 22:17:16 +0800
committerfjoe <fjoe@FreeBSD.org>2013-11-18 22:17:16 +0800
commit2b8d3dd3b60ea5330759ea2718a02bcd1a7f43c9 (patch)
tree9d2364d60e8d2bd47ed8ca31b1f517769e5aee60
parent675fe80f494b8171aa1aa8fd9f34ab8b1b6b1c7f (diff)
downloadfreebsd-ports-gnome-2b8d3dd3b60ea5330759ea2718a02bcd1a7f43c9.tar.gz
freebsd-ports-gnome-2b8d3dd3b60ea5330759ea2718a02bcd1a7f43c9.tar.zst
freebsd-ports-gnome-2b8d3dd3b60ea5330759ea2718a02bcd1a7f43c9.zip
Unbreak clang build.
-rw-r--r--databases/libodbc++/files/patch-isql++-isql++.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/libodbc++/files/patch-isql++-isql++.h b/databases/libodbc++/files/patch-isql++-isql++.h
new file mode 100644
index 000000000000..4e7e8c450365
--- /dev/null
+++ b/databases/libodbc++/files/patch-isql++-isql++.h
@@ -0,0 +1,11 @@
+--- isql++/isql++.h.orig 2013-11-18 21:03:56.000000000 +0700
++++ isql++/isql++.h 2013-11-18 21:04:06.000000000 +0700
+@@ -115,7 +115,7 @@
+ string buffer_;
+
+ struct ltcasestr {
+- bool operator()(const string& s1, const string& s2) {
++ bool operator()(const string& s1, const string& s2) const {
+ return strcasecmp(s1.c_str(),s2.c_str())<0;
+ }
+ };