003 File Manager
Current Path:
/usr/src/contrib/unbound/contrib/ios
usr
/
src
/
contrib
/
unbound
/
contrib
/
ios
/
📁
..
📄
15-ios.conf
(1.29 KB)
📄
install_expat.sh
(1.32 KB)
📄
install_openssl.sh
(1.22 KB)
📄
install_tools.sh
(274 B)
📄
openssl.patch
(1.02 KB)
📄
setenv_ios.sh
(9.33 KB)
Editing: openssl.patch
--- apps/speed.c +++ apps/speed.c @@ -99,6 +99,13 @@ #endif #include <openssl/modes.h> +/* fork() breaks AppleTVOS, WatchOS, AppleTVSimulator and WatchSimulator */ +/* Users should configure with -DNO_FORK */ +#if defined(NO_FORK) +# undef HAVE_FORK +# define HAVE_FORK 0 +#endif + #ifndef HAVE_FORK # if defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_WINDOWS) || defined(OPENSSL_SYS_VXWORKS) # define HAVE_FORK 0 @@ -110,6 +117,7 @@ #if HAVE_FORK # undef NO_FORK #else +# undef NO_FORK # define NO_FORK #endif --- apps/ocsp.c +++ apps/ocsp.c @@ -36,6 +36,13 @@ # include <openssl/x509v3.h> # include <openssl/rand.h> +/* fork() breaks AppleTVOS, WatchOS, AppleTVSimulator and WatchSimulator */ +/* Users should configure with -DNO_FORK */ +#if defined(NO_FORK) +# undef HAVE_FORK +# define HAVE_FORK 0 +#endif + #ifndef HAVE_FORK # if defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_WINDOWS) # define HAVE_FORK 0 @@ -47,6 +54,7 @@ #if HAVE_FORK # undef NO_FORK #else +# undef NO_FORK # define NO_FORK #endif
Upload File
Create Folder