freebsd-ports/www/ocaml-net
Antoine Brodin b6d3121197 Mark BROKEN: fails to build
../../tools/stubcc -ocamlc ocamlc -ccopt "-O -g" -I/usr/local/include -I/usr/local/include/p11-kit-1  -I/usr/local/include   nettls_nettle_bindings_stubs.c
+ cc -O2 -pipe  -fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REENTRANT -D_THREAD_SAFE -O2 -pipe  -fno-strict-aliasing -fPIC -c   -O -g -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include  -I'/usr/local/lib/ocaml' 'nettls_nettle_bindings_stubs.c'
nettls_nettle_bindings_stubs.c:120:36: error: function cannot return array type 'const struct nettle_cipher *const []'
const struct nettle_cipher * const nettle_ciphers[] = {
                                   ^
/usr/local/include/nettle/nettle-meta.h:75:43: note: expanded from macro 'nettle_ciphers'
#define nettle_ciphers (nettle_get_ciphers())
                                          ^
nettls_nettle_bindings_stubs.c:359:34: error: function cannot return array type 'const struct nettle_hash *const []'
const struct nettle_hash * const nettle_hashes[] = {
                                 ^
/usr/local/include/nettle/nettle-meta.h:140:41: note: expanded from macro 'nettle_hashes'
#define nettle_hashes (nettle_get_hashes())
                                        ^

Reported by:	pkg-fallout
2017-12-14 06:59:13 +00:00
..
files
distinfo
Makefile
pkg-descr