Ticket #40888: patch-xcode5.diff
File patch-xcode5.diff, 1.7 KB (added by t21@…, 11 years ago) |
---|
-
Makefile
old new 48 48 -rm -f tuntap_$(TUNTAP_VERSION)_src.tar.gz 49 49 50 50 tap.kext: 51 cd src/tap && make TUNTAP_VERSION=$(TUNTAP_VERSION) -f Makefile all51 cd src/tap && make SDK_ROOT=`xcrun --show-sdk-path` TUNTAP_VERSION=$(TUNTAP_VERSION) -f Makefile all 52 52 53 53 tun.kext: 54 cd src/tun && make TUNTAP_VERSION=$(TUNTAP_VERSION) -f Makefile all54 cd src/tun && make SDK_ROOT=`xcrun --show-sdk-path` TUNTAP_VERSION=$(TUNTAP_VERSION) -f Makefile all 55 55 56 56 test: 57 57 # configd messes with interface flags, issuing SIOCSIFFLAGS ioctls upon receiving kernel -
src/tun/Makefile
old new 20 20 BUNDLE_PACKAGETYPE = KEXT 21 21 BUNDLE_VERSION = $(TUN_KEXT_VERSION) 22 22 23 INCLUDE = -I.. -I/System/Library/Frameworks/Kernel.framework/Headers 23 SDK_ROOT = 24 25 INCLUDE = -I.. -I$(SDK_ROOT)/System/Library/Frameworks/Kernel.framework/Headers 24 26 CFLAGS = -Wall -mkernel -force_cpusubtype_ALL \ 25 27 -fno-builtin -fno-stack-protector -arch x86_64 \ 26 28 -DKERNEL -D__APPLE__ -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"$(TUNTAP_VERSION)\" \ -
src/tap/Makefile
old new 19 19 BUNDLE_PACKAGETYPE = KEXT 20 20 BUNDLE_VERSION = $(TAP_KEXT_VERSION) 21 21 22 INCLUDE = -I.. -I/System/Library/Frameworks/Kernel.framework/Headers 22 SDK_ROOT = 23 24 INCLUDE = -I.. -I$(SDK_ROOT)/System/Library/Frameworks/Kernel.framework/Headers 23 25 CFLAGS = -Wall -mkernel -force_cpusubtype_ALL \ 24 26 -fno-builtin -fno-stack-protector -arch x86_64 \ 25 27 -DKERNEL -D__APPLE__ -DKERNEL_PRIVATE -DTUNTAP_VERSION=\"$(TUNTAP_VERSION)\" \