1From 855bdba15dfc4abc23679981d3b9e7500fb84f97 Mon Sep 17 00:00:00 2001
2From: Matthew Macy <kmacy@freebsd.org>
3Date: Fri, 7 Nov 2014 21:59:27 -0800
4Subject: [PATCH] add compat_mach to build
5
6(cherry picked from commit a4f24883c1208736f9da10ff1a243e94e805a927)
7Signed-off-by: Scott K <scott@ixsystems.com>
8---
9 sys/conf/files.amd64   | 21 +++++++++++++++++++++
10 sys/conf/options.amd64 |  1 +
11 2 files changed, 22 insertions(+)
12
13diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64
14index 2c94300..1b71f24 100644
15--- a/sys/conf/files.amd64
16+++ b/sys/conf/files.amd64
17@@ -516,6 +516,27 @@ compat/linux/linux_uid16.c	optional	compat_linux32
18 compat/linux/linux_util.c	optional	compat_linux32
19 dev/amr/amr_linux.c		optional	compat_linux32 amr
20 dev/mfi/mfi_linux.c		optional	compat_linux32 mfi
21+
22+compat/mach/mach_bootstrap.c	optional  compat_mach
23+compat/mach/mach_clock.c        optional  compat_mach
24+compat/mach/mach_errno.c        optional  compat_mach
25+compat/mach/mach_exception.c    optional  compat_mach
26+compat/mach/mach_exec.c         optional  compat_mach
27+compat/mach/mach_host.c         optional  compat_mach
28+compat/mach/mach_iokit.c        optional  compat_mach
29+compat/mach/mach_misc.c         optional  compat_mach
30+compat/mach/mach_message.c      optional  compat_mach
31+compat/mach/mach_notify.c       optional  compat_mach
32+compat/mach/mach_port.c         optional  compat_mach
33+compat/mach/mach_semaphore.c    optional  compat_mach
34+compat/mach/mach_services.c     optional  compat_mach
35+compat/mach/mach_syscalls.c     optional  compat_mach
36+compat/mach/mach_sysctl.c       optional  compat_mach
37+compat/mach/mach_sysent.c       optional  compat_mach
38+compat/mach/mach_task.c         optional  compat_mach
39+compat/mach/mach_thread.c       optional  compat_mach
40+compat/mach/mach_vm.c           optional  compat_mach
41+
42 #
43 # Windows NDIS driver support
44 #
45diff --git a/sys/conf/options.amd64 b/sys/conf/options.amd64
46index 52aef61..aca5819 100644
47--- a/sys/conf/options.amd64
48+++ b/sys/conf/options.amd64
49@@ -19,6 +19,7 @@ COMPAT_FREEBSD32	opt_compat.h
50 #IBCS2			opt_dontuse.h
51 #COMPAT_LINUX		opt_dontuse.h
52 COMPAT_LINUX32		opt_compat.h
53+COMPAT_MACH			opt_compat_mach.h
54 #COMPAT_SVR4		opt_dontuse.h
55 #DEBUG_SVR4		opt_svr4.h
56 IMAGACT_BINMISC		opt_dontuse.h
57--
581.8.4.2
59
60