diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-01-29 04:52:08 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-01-29 04:52:08 +0800 |
commit | 5348e6b5b68a18d699bdecee3bb6b01861aa3a18 (patch) | |
tree | 435fe914acb79f42c543f1159191458f34261df0 /databases/qdbm-plus | |
parent | 5347e621084110505f70bc7398534fa5cfe18ce5 (diff) | |
download | freebsd-ports-gnome-5348e6b5b68a18d699bdecee3bb6b01861aa3a18.tar.gz freebsd-ports-gnome-5348e6b5b68a18d699bdecee3bb6b01861aa3a18.tar.zst freebsd-ports-gnome-5348e6b5b68a18d699bdecee3bb6b01861aa3a18.zip |
- Fix build with clang
Fixes this error:
./xadbm.h:75:19: error: out-of-line declaration of a member must be a definition [-Wout-of-line-declaration]
Operators are still declared in xqdbm.h included from xadbm.h
Diffstat (limited to 'databases/qdbm-plus')
-rw-r--r-- | databases/qdbm-plus/files/patch-xadbm.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/databases/qdbm-plus/files/patch-xadbm.h b/databases/qdbm-plus/files/patch-xadbm.h new file mode 100644 index 000000000000..764758af9f45 --- /dev/null +++ b/databases/qdbm-plus/files/patch-xadbm.h @@ -0,0 +1,27 @@ +--- xadbm.h.orig 2006-01-01 08:23:58.000000000 +0300 ++++ xadbm.h 2015-01-28 23:44:53.000000000 +0300 +@@ -72,21 +72,21 @@ + * @param latter the latter datum. + * @return reference to a temporary instance. + */ +-qdbm::Datum qdbm::operator +(const qdbm::Datum& former, const qdbm::Datum& latter); ++//qdbm::Datum qdbm::operator +(const qdbm::Datum& former, const qdbm::Datum& latter); + /** + * Temporary concatenation operator for Datum. + * @param datum the former datum. + * @param str the latter string. + * @return reference to a temporary instance. + */ +-qdbm::Datum qdbm::operator +(const qdbm::Datum& datum, const char* str); ++//qdbm::Datum qdbm::operator +(const qdbm::Datum& datum, const char* str); + /** + * Temporary concatenation operator for Datum. + * @param str the former string. + * @param datum the latter datum. + * @return reference to a temporary instance. + */ +-qdbm::Datum qdbm::operator +(const char* str, const qdbm::Datum& datum); ++//qdbm::Datum qdbm::operator +(const char* str, const qdbm::Datum& datum); + + + |