From owner-svn-ports-head@freebsd.org Tue Sep 19 15:19:56 2017 Return-Path: Delivered-To: svn-ports-head@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 90780E1857E; Tue, 19 Sep 2017 15:19:56 +0000 (UTC) (envelope-from rahman.moinur@gmail.com) Received: from mail-pf0-f170.google.com (mail-pf0-f170.google.com [209.85.192.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6D3FA83E67; Tue, 19 Sep 2017 15:19:56 +0000 (UTC) (envelope-from rahman.moinur@gmail.com) Received: by mail-pf0-f170.google.com with SMTP id e1so150219pfk.1; Tue, 19 Sep 2017 08:19:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=qgkkOU9OYCXO8+QdEWEZaqe63fM+pPExH3siTvqgIrw=; b=GzxVRSftXCuKUYOqfZ2NJHJc0znGkYPfVo4g/UcpwnGVZtDj1porQ1VeR31VPpZ0a5 93vYFdoD1jKbWEzjVEUqST2Zq7uHBsvGzGjTO2urLKHr0N8DfjYDKDRvzJYVDN0czbas QvABNpfgjH6gfoXuRtuTJOiz7EA8lJkUfaDhxMzY6PJYXe0AfCOL9vIA8urFNW92gqjA IlsuOSuDrBohJ9exwqHclOMt5Q1EcmzzNST+6PHOHWjISnfJgxBbPFA9d3n/SKKrYpBU qudx8FgsdopIln0ucHRF7V5nHSSHtfqequRUYcdZlrHRHo5+WzfmJvCukOSfOm0grsrc KcFA== X-Gm-Message-State: AHPjjUj5w2Mnb5ScvaAafO9M57tJ6iOTlJGu7X0nEpb9tYLTR3A704HK NOR4Z5CBwCMbFEN98BFi4OGcBna6CyY= X-Google-Smtp-Source: AOwi7QA1RDNnfF0w7IbGdPJM04PsjZ0e2ojr5TCgycOw9GK2HW5xrSamaPd/2wZy33KjjDkWDMGbrQ== X-Received: by 10.159.252.75 with SMTP id t11mr1602650plz.441.1505834389877; Tue, 19 Sep 2017 08:19:49 -0700 (PDT) Received: from [192.168.9.172] (67.139.159.110.tm-hsbb.tm.net.my. [110.159.139.67]) by smtp.gmail.com with ESMTPSA id r12sm3664133pgp.81.2017.09.19.08.19.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Sep 2017 08:19:48 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: svn commit: r450102 - head/databases/postgresql-odbc From: Muhammad Moinur Rahman In-Reply-To: <20170919100843.GA1552@elch.exwg.net> Date: Tue, 19 Sep 2017 23:19:45 +0800 Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <2FF1E931-DF56-4930-AAFA-0B39065DDA0D@FreeBSD.org> References: <201709190506.v8J563c8052058@repo.freebsd.org> <20170919100843.GA1552@elch.exwg.net> To: Christoph Moench-Tegeder X-Mailer: Apple Mail (2.3273) X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 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: Tue, 19 Sep 2017 15:19:56 -0000 Fixed at r450132. > On Sep 19, 2017, at 6:08 PM, Christoph Moench-Tegeder = wrote: >=20 > ## Muhammad Moinur Rahman (bofh@FreeBSD.org): >=20 >> Log: >> databases/postgresql-odbc: Update version 09.06.0310=3D>09.06.0500 >=20 > Unfortunately, this breaks on 10.3: > win_unicode.c:81:21: error: use of undeclared identifier 'u' > char16_t *c16dt =3D u"a"; >=20 > That's from upstream commit > = https://git.postgresql.org/gitweb/?p=3Dpsqlodbc.git;a=3Dcommit;h=3D5eeb934= 5c7f7c67fd1530db779e188e40ba73273 >=20 > 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+=3D -std=3Dc11" and for good = measure > on clang-less platforms add "compiler:c11" to USES. That fixed the = build > for me. >=20 > Regards, > Christoph >=20 > --=20 > Spare Space