diff options
author | asau <asau@pkgsrc.org> | 2016-10-12 11:35:48 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2016-10-12 11:35:48 +0000 |
commit | 4530caa8bf5107c98f5cb85f4e53215dfc275706 (patch) | |
tree | d5c14792828d3c36a0a2ffd69c58701a071ead61 /lang/sbcl | |
parent | d3516c17cf64944a30332409ca73d4002ed627cd (diff) | |
download | pkgsrc-4530caa8bf5107c98f5cb85f4e53215dfc275706.tar.gz |
Needs _KERNTYPES on NetBSD.
Diffstat (limited to 'lang/sbcl')
26 files changed, 384 insertions, 2 deletions
diff --git a/lang/sbcl/distinfo b/lang/sbcl/distinfo index 8f526824f38..83e37ff58bf 100644 --- a/lang/sbcl/distinfo +++ b/lang/sbcl/distinfo @@ -1,7 +1,31 @@ -$NetBSD: distinfo,v 1.48 2016/05/06 20:33:59 asau Exp $ +$NetBSD: distinfo,v 1.49 2016/10/12 11:35:48 asau Exp $ SHA1 (sbcl-1.3.5-source.tar.bz2) = 8c190a2d98e3aec80ef81146de19d03cae9a7d8b RMD160 (sbcl-1.3.5-source.tar.bz2) = 5a92a586ee29eaa4d4adba108b4e964aad48260a SHA512 (sbcl-1.3.5-source.tar.bz2) = 3474e5df2dce38db2dbb977143383b94a11ebdf520d2f23c536cd3bf86e1d507e86c39b338f40fb27d17368c1b390d0e50745b2223fdafc3b88c62024fd156a6 Size (sbcl-1.3.5-source.tar.bz2) = 5741124 bytes SHA1 (patch-ab) = b087921f7317523fd78396518dfd2cb1c8e6d5f9 +SHA1 (patch-src_runtime_backtrace.c) = ba3d7d152b279652d7074ebc9ba615c9d899f35c +SHA1 (patch-src_runtime_breakpoint.c) = 019d98692411b5701ce14c023ed3afab71033323 +SHA1 (patch-src_runtime_bsd-os.c) = 1c2bb3ce517aea03bbc4f09708e8300085253286 +SHA1 (patch-src_runtime_bsd-os.h) = df48abd32b3b89b9d8a0ba4068c6723bea6617d6 +SHA1 (patch-src_runtime_coreparse.c) = 46f8b5ebea5ba3db7baaed124aaf15f2686f7202 +SHA1 (patch-src_runtime_dynbind.c) = 44b96758392c8d71834e665dfd62bc7464a033c9 +SHA1 (patch-src_runtime_gc-common.c) = bc91e093e00ee9b2da902b6a3bc07f3d56302287 +SHA1 (patch-src_runtime_gencgc.c) = 6862366d1998205f6bcf9cfded9acda1d03a2f52 +SHA1 (patch-src_runtime_globals.c) = ad8aedc43460892edb96e55276f1343abda2b7f5 +SHA1 (patch-src_runtime_interr.c) = a12a0a6826d7dd506d6012f10f69862f2a551174 +SHA1 (patch-src_runtime_interrupt.c) = c6675f60565cc411a34e58927c9ca2510f822328 +SHA1 (patch-src_runtime_monitor.c) = cdf86207600a387fb092fa8018dd5a08f8c9f4f2 +SHA1 (patch-src_runtime_os-common.c) = 966e3d23e3b7024c4c6b4e1c704a505b1a56008f +SHA1 (patch-src_runtime_os.h) = 68d6a85ed89e8534fe7c4178109b5208075dcee4 +SHA1 (patch-src_runtime_parse.c) = 2648ececdbc2fe21abde1565cb91b003d9676c2e +SHA1 (patch-src_runtime_purify.c) = 8afaf55b47fb73ba08abee11ea6b7b04b77f917f +SHA1 (patch-src_runtime_runtime.c) = 4282b1cdc47f94174d5adde3fee1f8e6c3276528 +SHA1 (patch-src_runtime_runtime.h) = 85d97c6c367ba60334c5c5ac56a34fd5a9899025 +SHA1 (patch-src_runtime_save.c) = acd4ecbf927df11e167b124258f659690ed0b782 +SHA1 (patch-src_runtime_thread.c) = 6ebd2b4e2bbe13e0e962a54b219fd4518d948fc9 +SHA1 (patch-src_runtime_validate.c) = 842f288f21fe865ab1475c5ba84b157c94aa6ec6 +SHA1 (patch-src_runtime_vars.c) = 390e56059243b02dfe31b769d1f8033aeedece90 +SHA1 (patch-src_runtime_x86-64-bsd-os.c) = 33fab747acaefc537d2f73da8be6b79ff5470dc3 +SHA1 (patch-tools-for-build_grovel-headers.c) = e91f06c7c83fbf0e32ef5607bec043029ae8879c diff --git a/lang/sbcl/patches/patch-ab b/lang/sbcl/patches/patch-ab index 86348a4ce88..d2cd95473c1 100644 --- a/lang/sbcl/patches/patch-ab +++ b/lang/sbcl/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.6 2016/05/06 20:33:59 asau Exp $ +$NetBSD: patch-ab,v 1.7 2016/10/12 11:35:48 asau Exp $ Honor PREFIX. diff --git a/lang/sbcl/patches/patch-src_runtime_backtrace.c b/lang/sbcl/patches/patch-src_runtime_backtrace.c new file mode 100644 index 00000000000..4aa6f50dff7 --- /dev/null +++ b/lang/sbcl/patches/patch-src_runtime_backtrace.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_runtime_backtrace.c,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- src/runtime/backtrace.c.orig 2016-09-30 16:41:12.000000000 +0000 ++++ src/runtime/backtrace.c +@@ -16,6 +16,10 @@ + /* needed if we want dladdr() and Dl_Info from glibc's dlfcn.h */ + #define _GNU_SOURCE + ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #include <stdio.h> + #include <signal.h> + #include "sbcl.h" diff --git a/lang/sbcl/patches/patch-src_runtime_breakpoint.c b/lang/sbcl/patches/patch-src_runtime_breakpoint.c new file mode 100644 index 00000000000..01f50729be8 --- /dev/null +++ b/lang/sbcl/patches/patch-src_runtime_breakpoint.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_runtime_breakpoint.c,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- src/runtime/breakpoint.c.orig 2016-09-30 16:41:12.000000000 +0000 ++++ src/runtime/breakpoint.c +@@ -9,6 +9,10 @@ + * files for more information. + */ + ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #include <stdio.h> + #include <signal.h> + diff --git a/lang/sbcl/patches/patch-src_runtime_bsd-os.c b/lang/sbcl/patches/patch-src_runtime_bsd-os.c new file mode 100644 index 00000000000..a46955f7d64 --- /dev/null +++ b/lang/sbcl/patches/patch-src_runtime_bsd-os.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_runtime_bsd-os.c,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- src/runtime/bsd-os.c.orig 2016-09-30 16:41:12.000000000 +0000 ++++ src/runtime/bsd-os.c +@@ -18,6 +18,10 @@ + * files for more information. + */ + ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #include <stdio.h> + #include <sys/param.h> + #include <sys/file.h> diff --git a/lang/sbcl/patches/patch-src_runtime_bsd-os.h b/lang/sbcl/patches/patch-src_runtime_bsd-os.h new file mode 100644 index 00000000000..f9c888c4801 --- /dev/null +++ b/lang/sbcl/patches/patch-src_runtime_bsd-os.h @@ -0,0 +1,15 @@ +$NetBSD: patch-src_runtime_bsd-os.h,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- src/runtime/bsd-os.h.orig 2016-09-30 16:41:12.000000000 +0000 ++++ src/runtime/bsd-os.h +@@ -13,6 +13,10 @@ + #include <osreldate.h> + #endif + ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #include <sys/types.h> + #include <sys/mman.h> + #include <sys/signal.h> diff --git a/lang/sbcl/patches/patch-src_runtime_coreparse.c b/lang/sbcl/patches/patch-src_runtime_coreparse.c new file mode 100644 index 00000000000..373777ecc5b --- /dev/null +++ b/lang/sbcl/patches/patch-src_runtime_coreparse.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_runtime_coreparse.c,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- src/runtime/coreparse.c.orig 2016-09-30 16:41:12.000000000 +0000 ++++ src/runtime/coreparse.c +@@ -14,6 +14,10 @@ + * files for more information. + */ + ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #include "sbcl.h" + + #ifndef LISP_FEATURE_WIN32 diff --git a/lang/sbcl/patches/patch-src_runtime_dynbind.c b/lang/sbcl/patches/patch-src_runtime_dynbind.c new file mode 100644 index 00000000000..30191be425f --- /dev/null +++ b/lang/sbcl/patches/patch-src_runtime_dynbind.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_runtime_dynbind.c,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- src/runtime/dynbind.c.orig 2016-09-30 16:41:12.000000000 +0000 ++++ src/runtime/dynbind.c +@@ -14,6 +14,10 @@ + * files for more information. + */ + ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #include <stdio.h> + #include <stdlib.h> + diff --git a/lang/sbcl/patches/patch-src_runtime_gc-common.c b/lang/sbcl/patches/patch-src_runtime_gc-common.c new file mode 100644 index 00000000000..0d565eabd17 --- /dev/null +++ b/lang/sbcl/patches/patch-src_runtime_gc-common.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_runtime_gc-common.c,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- src/runtime/gc-common.c.orig 2016-09-30 16:41:12.000000000 +0000 ++++ src/runtime/gc-common.c +@@ -25,6 +25,10 @@ + * <ftp://ftp.cs.utexas.edu/pub/garbage/bigsurv.ps>. + */ + ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #include <stdio.h> + #include <signal.h> + #include <string.h> diff --git a/lang/sbcl/patches/patch-src_runtime_gencgc.c b/lang/sbcl/patches/patch-src_runtime_gencgc.c new file mode 100644 index 00000000000..caf85263e72 --- /dev/null +++ b/lang/sbcl/patches/patch-src_runtime_gencgc.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_runtime_gencgc.c,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- src/runtime/gencgc.c.orig 2016-09-30 16:41:12.000000000 +0000 ++++ src/runtime/gencgc.c +@@ -24,6 +24,10 @@ + * <ftp://ftp.cs.utexas.edu/pub/garbage/bigsurv.ps>. + */ + ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #include <stdlib.h> + #include <stdio.h> + #include <errno.h> diff --git a/lang/sbcl/patches/patch-src_runtime_globals.c b/lang/sbcl/patches/patch-src_runtime_globals.c new file mode 100644 index 00000000000..77d8be828f0 --- /dev/null +++ b/lang/sbcl/patches/patch-src_runtime_globals.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_runtime_globals.c,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- src/runtime/globals.c.orig 2016-09-30 16:41:12.000000000 +0000 ++++ src/runtime/globals.c +@@ -13,6 +13,10 @@ + * files for more information. + */ + ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #include <stdio.h> + #include <sys/types.h> + #include <unistd.h> diff --git a/lang/sbcl/patches/patch-src_runtime_interr.c b/lang/sbcl/patches/patch-src_runtime_interr.c new file mode 100644 index 00000000000..7175e32c2bd --- /dev/null +++ b/lang/sbcl/patches/patch-src_runtime_interr.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_runtime_interr.c,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- src/runtime/interr.c.orig 2016-09-30 16:41:12.000000000 +0000 ++++ src/runtime/interr.c +@@ -13,6 +13,10 @@ + * files for more information. + */ + ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #include <stdio.h> + #include <stdarg.h> + #include <stdlib.h> diff --git a/lang/sbcl/patches/patch-src_runtime_interrupt.c b/lang/sbcl/patches/patch-src_runtime_interrupt.c new file mode 100644 index 00000000000..b416c78eaea --- /dev/null +++ b/lang/sbcl/patches/patch-src_runtime_interrupt.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_runtime_interrupt.c,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- src/runtime/interrupt.c.orig 2016-09-30 16:41:12.000000000 +0000 ++++ src/runtime/interrupt.c +@@ -40,6 +40,10 @@ + * + * - WHN 20000728, dan 20010128 */ + ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #include "sbcl.h" + + #include <stdio.h> diff --git a/lang/sbcl/patches/patch-src_runtime_monitor.c b/lang/sbcl/patches/patch-src_runtime_monitor.c new file mode 100644 index 00000000000..5026a4e587d --- /dev/null +++ b/lang/sbcl/patches/patch-src_runtime_monitor.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_runtime_monitor.c,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- src/runtime/monitor.c.orig 2016-09-30 16:41:12.000000000 +0000 ++++ src/runtime/monitor.c +@@ -9,6 +9,10 @@ + * files for more information. + */ + ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #include "sbcl.h" + + #include <stdio.h> diff --git a/lang/sbcl/patches/patch-src_runtime_os-common.c b/lang/sbcl/patches/patch-src_runtime_os-common.c new file mode 100644 index 00000000000..7c1fadc375a --- /dev/null +++ b/lang/sbcl/patches/patch-src_runtime_os-common.c @@ -0,0 +1,16 @@ +$NetBSD: patch-src_runtime_os-common.c,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- src/runtime/os-common.c.orig 2016-09-30 16:41:12.000000000 +0000 ++++ src/runtime/os-common.c +@@ -9,6 +9,11 @@ + * files for more information. + */ + # define _GNU_SOURCE /* needed for RTLD_DEFAULT from dlfcn.h */ ++ ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #include <stdio.h> + #include <errno.h> + #include <string.h> diff --git a/lang/sbcl/patches/patch-src_runtime_os.h b/lang/sbcl/patches/patch-src_runtime_os.h new file mode 100644 index 00000000000..a2d0d04a25d --- /dev/null +++ b/lang/sbcl/patches/patch-src_runtime_os.h @@ -0,0 +1,15 @@ +$NetBSD: patch-src_runtime_os.h,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- src/runtime/os.h.orig 2016-09-30 16:41:12.000000000 +0000 ++++ src/runtime/os.h +@@ -17,6 +17,10 @@ + + #define _OS_H_INCLUDED_ + ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #include "sbcl.h" + #include "runtime.h" + diff --git a/lang/sbcl/patches/patch-src_runtime_parse.c b/lang/sbcl/patches/patch-src_runtime_parse.c new file mode 100644 index 00000000000..f4ee0faab7e --- /dev/null +++ b/lang/sbcl/patches/patch-src_runtime_parse.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_runtime_parse.c,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- src/runtime/parse.c.orig 2016-09-30 16:41:12.000000000 +0000 ++++ src/runtime/parse.c +@@ -11,6 +11,10 @@ + * files for more information. + */ + ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #include <stdio.h> + #include <stdlib.h> + #include <ctype.h> diff --git a/lang/sbcl/patches/patch-src_runtime_purify.c b/lang/sbcl/patches/patch-src_runtime_purify.c new file mode 100644 index 00000000000..4c6ec7d3231 --- /dev/null +++ b/lang/sbcl/patches/patch-src_runtime_purify.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_runtime_purify.c,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- src/runtime/purify.c.orig 2016-09-30 16:41:12.000000000 +0000 ++++ src/runtime/purify.c +@@ -13,6 +13,10 @@ + * files for more information. + */ + ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #include <stdio.h> + #include <sys/types.h> + #include <stdlib.h> diff --git a/lang/sbcl/patches/patch-src_runtime_runtime.c b/lang/sbcl/patches/patch-src_runtime_runtime.c new file mode 100644 index 00000000000..70777d0fdab --- /dev/null +++ b/lang/sbcl/patches/patch-src_runtime_runtime.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_runtime_runtime.c,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- src/runtime/runtime.c.orig 2016-09-30 16:41:12.000000000 +0000 ++++ src/runtime/runtime.c +@@ -13,6 +13,10 @@ + * files for more information. + */ + ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #include "sbcl.h" + + #include <stdio.h> diff --git a/lang/sbcl/patches/patch-src_runtime_runtime.h b/lang/sbcl/patches/patch-src_runtime_runtime.h new file mode 100644 index 00000000000..41070d1d864 --- /dev/null +++ b/lang/sbcl/patches/patch-src_runtime_runtime.h @@ -0,0 +1,15 @@ +$NetBSD: patch-src_runtime_runtime.h,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- src/runtime/runtime.h.orig 2016-09-30 16:41:12.000000000 +0000 ++++ src/runtime/runtime.h +@@ -15,6 +15,10 @@ + #ifndef _SBCL_RUNTIME_H_ + #define _SBCL_RUNTIME_H_ + ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #if defined(LISP_FEATURE_WIN32) && defined(LISP_FEATURE_SB_THREAD) + # include "pthreads_win32.h" + #else diff --git a/lang/sbcl/patches/patch-src_runtime_save.c b/lang/sbcl/patches/patch-src_runtime_save.c new file mode 100644 index 00000000000..3349d698abc --- /dev/null +++ b/lang/sbcl/patches/patch-src_runtime_save.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_runtime_save.c,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- src/runtime/save.c.orig 2016-09-30 16:41:12.000000000 +0000 ++++ src/runtime/save.c +@@ -9,6 +9,10 @@ + * files for more information. + */ + ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #ifndef LISP_FEATURE_WIN32 + #include <sys/types.h> + #include <sys/stat.h> diff --git a/lang/sbcl/patches/patch-src_runtime_thread.c b/lang/sbcl/patches/patch-src_runtime_thread.c new file mode 100644 index 00000000000..5d37fc23799 --- /dev/null +++ b/lang/sbcl/patches/patch-src_runtime_thread.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_runtime_thread.c,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- src/runtime/thread.c.orig 2016-09-30 16:41:12.000000000 +0000 ++++ src/runtime/thread.c +@@ -9,6 +9,10 @@ + * files for more information. + */ + ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #include "sbcl.h" + + #include <stdlib.h> diff --git a/lang/sbcl/patches/patch-src_runtime_validate.c b/lang/sbcl/patches/patch-src_runtime_validate.c new file mode 100644 index 00000000000..e31663bdf79 --- /dev/null +++ b/lang/sbcl/patches/patch-src_runtime_validate.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_runtime_validate.c,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- src/runtime/validate.c.orig 2016-09-30 16:41:12.000000000 +0000 ++++ src/runtime/validate.c +@@ -13,6 +13,10 @@ + * files for more information. + */ + ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #include <stdio.h> + #include <stdlib.h> + diff --git a/lang/sbcl/patches/patch-src_runtime_vars.c b/lang/sbcl/patches/patch-src_runtime_vars.c new file mode 100644 index 00000000000..76861ab8aab --- /dev/null +++ b/lang/sbcl/patches/patch-src_runtime_vars.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_runtime_vars.c,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- src/runtime/vars.c.orig 2016-09-30 16:41:12.000000000 +0000 ++++ src/runtime/vars.c +@@ -9,6 +9,10 @@ + * files for more information. + */ + ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #include <stdio.h> + #include <string.h> + #include <sys/types.h> diff --git a/lang/sbcl/patches/patch-src_runtime_x86-64-bsd-os.c b/lang/sbcl/patches/patch-src_runtime_x86-64-bsd-os.c new file mode 100644 index 00000000000..70acdb78ab5 --- /dev/null +++ b/lang/sbcl/patches/patch-src_runtime_x86-64-bsd-os.c @@ -0,0 +1,12 @@ +$NetBSD: patch-src_runtime_x86-64-bsd-os.c,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- src/runtime/x86-64-bsd-os.c.orig 2016-09-30 16:41:12.000000000 +0000 ++++ src/runtime/x86-64-bsd-os.c +@@ -1,3 +1,7 @@ ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #include <signal.h> + #include "sbcl.h" + #include "runtime.h" diff --git a/lang/sbcl/patches/patch-tools-for-build_grovel-headers.c b/lang/sbcl/patches/patch-tools-for-build_grovel-headers.c new file mode 100644 index 00000000000..00628db296d --- /dev/null +++ b/lang/sbcl/patches/patch-tools-for-build_grovel-headers.c @@ -0,0 +1,15 @@ +$NetBSD: patch-tools-for-build_grovel-headers.c,v 1.1 2016/10/12 11:35:48 asau Exp $ + +--- tools-for-build/grovel-headers.c.orig 2016-09-30 16:41:12.000000000 +0000 ++++ tools-for-build/grovel-headers.c +@@ -18,6 +18,10 @@ + * more information. + */ + ++#if defined(__NetBSD__) ++#define _KERNTYPES ++#endif ++ + #include "genesis/config.h" + + #include <stdio.h> |