svn commit: r450102 - head/databases/postgresql-odbc
Christoph Moench-Tegeder
cmt at burggraben.net
Tue Sep 19 10:08:47 UTC 2017
## Muhammad Moinur Rahman (bofh at 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
More information about the svn-ports-all
mailing list