From owner-svn-ports-head@freebsd.org Fri Jan 26 22:59:13 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3303CECE373; Fri, 26 Jan 2018 22:59:13 +0000 (UTC) (envelope-from fjoe@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D38C169E4A; Fri, 26 Jan 2018 22:59:12 +0000 (UTC) (envelope-from fjoe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C887521D94; Fri, 26 Jan 2018 22:59:12 +0000 (UTC) (envelope-from fjoe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0QMxC0v056289; Fri, 26 Jan 2018 22:59:12 GMT (envelope-from fjoe@FreeBSD.org) Received: (from fjoe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0QMxC5X056288; Fri, 26 Jan 2018 22:59:12 GMT (envelope-from fjoe@FreeBSD.org) Message-Id: <201801262259.w0QMxC5X056288@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: fjoe set sender to fjoe@FreeBSD.org using -f From: Max Khon Date: Fri, 26 Jan 2018 22:59:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r460060 - head/databases/libodbc++/files X-SVN-Group: ports-head X-SVN-Commit-Author: fjoe X-SVN-Commit-Paths: head/databases/libodbc++/files X-SVN-Commit-Revision: 460060 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jan 2018 22:59:13 -0000 Author: fjoe Date: Fri Jan 26 22:59:12 2018 New Revision: 460060 URL: https://svnweb.freebsd.org/changeset/ports/460060 Log: Unbreak Clang 6 build. Added: head/databases/libodbc++/files/patch-src-datetime.cpp (contents, props changed) Added: head/databases/libodbc++/files/patch-src-datetime.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/libodbc++/files/patch-src-datetime.cpp Fri Jan 26 22:59:12 2018 (r460060) @@ -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;