diff options
author | fjoe <fjoe@FreeBSD.org> | 2018-01-27 06:59:12 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2018-01-27 06:59:12 +0800 |
commit | dc7c2e3d4d8a3bae4e734184daf72228e7a5437f (patch) | |
tree | b10559ba6f671c0726c6f5d680d58828b7f3bc9c /databases | |
parent | 76601e3c144ddade3a4ed6835942f8a75c0088ed (diff) | |
download | freebsd-ports-gnome-dc7c2e3d4d8a3bae4e734184daf72228e7a5437f.tar.gz freebsd-ports-gnome-dc7c2e3d4d8a3bae4e734184daf72228e7a5437f.tar.zst freebsd-ports-gnome-dc7c2e3d4d8a3bae4e734184daf72228e7a5437f.zip |
Unbreak Clang 6 build.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/libodbc++/files/patch-src-datetime.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/libodbc++/files/patch-src-datetime.cpp b/databases/libodbc++/files/patch-src-datetime.cpp new file mode 100644 index 000000000000..1487119f415a --- /dev/null +++ b/databases/libodbc++/files/patch-src-datetime.cpp @@ -0,0 +1,11 @@ +--- src/datetime.cpp.orig 2018-01-26 22:55:42.426793000 +0000 ++++ src/datetime.cpp 2018-01-26 22:56:08.411257000 +0000 +@@ -272,7 +272,7 @@ + # endif + #endif + ,ODBCXX_STRING_CONST("%09d"),nanos_); +- buf[9] = NULL;// Terminate string ++ buf[9] = '\0';// Terminate string + ret+=ODBCXX_STRING(buf); + } + return ret; |