Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: patch: src/external/cddl/osnet/sys/sys/types.h
On 2016/01/28 0:56, Christos Zoulas wrote:
> In article <20160127212515.6c33cd76cf60025e9ec3875c%a-net.email.ne.jp@localhost>,
> Ryosuke Moro <szptvlfn%a-net.email.ne.jp@localhost> wrote:
>> Hi,
>>
>> fix build failure on NetBSD i386 at lease,
>
> You must be using out of date sources because the build succeeds on autobuild.
I observed the same build failure with today's source codes.
The host is NetBSD/amd64 7.99.26.
This is because vsize_t became hidden from userland, recently.
I guess that the host of autobuild is an older NetBSD on which
vsize_t is still exposed to userland.
The better fix should be:
====
--- src/tools/libctf/Makefile.orig 2016-01-28 00:59:36.353099022 +0900
+++ src/tools/libctf/Makefile 2016-01-28 01:03:04.819802926 +0900
@@ -20,7 +20,7 @@
OPENSOLARIS_DISTDIR= ${OSNETDIR}/dist
LIBELF_DIR= ${.CURDIR}/../../external/bsd/elftoolchain/dist/libelf
-CPPFLAGS+= -DCTF_OLD_VERSIONS
+CPPFLAGS+= -DCTF_OLD_VERSIONS -D_KERNTYPES
.ifndef NOCOMPATLIB
COMPATLIB_NO_LIB= yes # only the include files, not the library
====
Thanks,
Rin
Home |
Main Index |
Thread Index |
Old Index