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 1:30, Rin Okuyama wrote:
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:
...

Sorry, to avoid unexpected side effects on hosts other than NetBSD,
this should be better than the previous one:

--- src/tools/libctf/Makefile.orig	2016-01-28 00:59:36.353099022 +0900
+++ src/tools/libctf/Makefile	2016-01-28 01:42:51.032832099 +0900
@@ -38,6 +38,10 @@
BUILD_OSTYPE!= uname -s +.if ${BUILD_OSTYPE} == "NetBSD"
+CPPFLAGS+=	-D_KERNTYPES
+.endif
+
 # Disable use of pre-compiled headers on Darwin.
 .if ${BUILD_OSTYPE} == "Darwin"
 CPPFLAGS+=	-no-cpp-precomp


Home | Main Index | Thread Index | Old Index