diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-10-18 14:48:47 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-10-18 14:48:47 +0000 |
commit | a9d7891f38dab84810195a6cce2babc0a7e25d0f (patch) | |
tree | 9ade73c2220778ae45f3c125f3f9f611bc1ee5b1 /databases | |
parent | cfa2789ff6f5f9ba9b1f47a0236b26371222a621 (diff) | |
download | ports-a9d7891f38dab84810195a6cce2babc0a7e25d0f.tar.gz ports-a9d7891f38dab84810195a6cce2babc0a7e25d0f.zip |
MFH: r370740
Mark BROKEN: Fails to build
with gcc:
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -Wpointer-arith -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -I/usr/include -Wdeclaration-after-statement -MT threadsafe.lo -MD -MP -MF .deps/threadsafe.Tpo -c -o threadsafe.lo threadsafe.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -Wpointer-arith -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -I/usr/include -Wdeclaration-after-statement -MT threadsafe.lo -MD -MP -MF .deps/threadsafe.Tpo -c threadsafe.c -fPIC -DPIC -o .libs/threadsafe.o
In file included from threadsafe.c:84:
../../include/freetds/tds.h:149: warning: function declaration isn't a prototype
../../include/freetds/tds.h:149: error: bit-field '__res_state' has invalid type
Makefile:439: recipe for target 'threadsafe.lo' failed
with clang:
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -Wpointer-arith -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -I/usr/include -Wdeclaration-after-statement -MT threadsafe.lo -MD -MP -MF .deps/threadsafe.Tpo -c -o threadsafe.lo threadsafe.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I../../include -I../../include -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -Wpointer-arith -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -I/usr/include -Wdeclaration-after-statement -MT threadsafe.lo -MD -MP -MF .deps/threadsafe.Tpo -c threadsafe.c -fPIC -DPIC -o .libs/threadsafe.o
In file included from threadsafe.c:84:
../../include/freetds/tds.h:149:16: error: bit-field '__res_state' has non-integral type 'TDS_USMALLINT (*())'
TDS_USMALLINT _res:10;
^ ~~
/usr/include/resolv.h:282:16: note: expanded from macro '_res'
#define _res (*__res_state())
^
1 error generated.
Makefile:439: recipe for target 'threadsafe.lo' failed
Reported by: pkg-fallout
Notes
Notes:
svn path=/branches/2014Q4/; revision=371132
Diffstat (limited to 'databases')
-rw-r--r-- | databases/freetds-devel/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/databases/freetds-devel/Makefile b/databases/freetds-devel/Makefile index a252c273a9b5..d58140d9a6b5 100644 --- a/databases/freetds-devel/Makefile +++ b/databases/freetds-devel/Makefile @@ -14,6 +14,8 @@ COMMENT= Sybase/Microsoft TDS protocol library LICENSE= LGPL20 +BROKEN= Fails to build + WRKSRC= ${WRKDIR}/${PORTNAME}-dev.${PORTVERSION} TDS_VER?= 7.2 USES= gmake iconv libtool:keepla pkgconfig tar:bzip2 |