From owner-svn-ports-all@freebsd.org Tue Sep 19 10:08:47 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B000AE0A39D; Tue, 19 Sep 2017 10:08:47 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from smtp.burggraben.net (smtp.burggraben.net [IPv6:2a01:4f8:140:50a2::3:1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "ns.exwg.net", Issuer "Christoph Moench-Tegeder" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7556D75760; Tue, 19 Sep 2017 10:08:47 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from localhost (localhost [127.0.0.1]) by smtp.burggraben.net (Postfix) with ESMTP id 5D1B06002EB; Tue, 19 Sep 2017 12:08:44 +0200 (CEST) X-Spam-Scanned: by amavisd-new at exwg.net Received: from smtp.burggraben.net ([127.0.0.1]) by localhost (ns.burggraben.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LNiq1kk6cCsM; Tue, 19 Sep 2017 12:08:43 +0200 (CEST) Received: from elch.exwg.net (elch.exwg.net [IPv6:2001:470:7120:1:922b:34ff:fe56:321]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "elch.exwg.net", Issuer "Christoph Moench-Tegeder" (verified OK)) by smtp.burggraben.net (Postfix) with ESMTPS; Tue, 19 Sep 2017 12:08:43 +0200 (CEST) Received: by elch.exwg.net (Postfix, from userid 1000) id 8DC42301EC; Tue, 19 Sep 2017 12:08:43 +0200 (CEST) Date: Tue, 19 Sep 2017 12:08:43 +0200 From: Christoph Moench-Tegeder To: Muhammad Moinur Rahman Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r450102 - head/databases/postgresql-odbc Message-ID: <20170919100843.GA1552@elch.exwg.net> References: <201709190506.v8J563c8052058@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <201709190506.v8J563c8052058@repo.freebsd.org> User-Agent: Mutt/1.9.0 (2017-09-02) X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2017 10:08:47 -0000 ## Muhammad Moinur Rahman (bofh@FreeBSD.org): > Log: > databases/postgresql-odbc: Update version 09.06.0310=>09.06.0500 Unfortunately, this breaks on 10.3: win_unicode.c:81:21: error: use of undeclared identifier 'u' char16_t *c16dt = u"a"; That's from upstream commit https://git.postgresql.org/gitweb/?p=psqlodbc.git;a=commit;h=5eeb9345c7f7c67fd1530db779e188e40ba73273 The "u" modifier was introduced in C11, which only newer clang (e.g. clang40) use by default. Fortunately, one can request C11 support from the old clang in FreeBSD 10: Just add "CFLAGS+= -std=c11" and for good measure on clang-less platforms add "compiler:c11" to USES. That fixed the build for me. Regards, Christoph -- Spare Space