summaryrefslogtreecommitdiff
path: root/net-vpn/vtun/files/vtun-3.0.4-autoconf-fork-not-working.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-vpn/vtun/files/vtun-3.0.4-autoconf-fork-not-working.patch')
-rw-r--r--net-vpn/vtun/files/vtun-3.0.4-autoconf-fork-not-working.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-vpn/vtun/files/vtun-3.0.4-autoconf-fork-not-working.patch b/net-vpn/vtun/files/vtun-3.0.4-autoconf-fork-not-working.patch
new file mode 100644
index 000000000000..258e4d736ccd
--- /dev/null
+++ b/net-vpn/vtun/files/vtun-3.0.4-autoconf-fork-not-working.patch
@@ -0,0 +1,11 @@
+--- a/config.h.in 2022-11-28 07:10:54.564387362 +0100
++++ b/config.h.in 2022-11-28 07:12:15.435007668 +0100
+@@ -156,3 +156,8 @@
+
+ /* Define as `fork' if `vfork' does not work. */
+ #undef vfork
++
++#if !defined(HAVE_WORKING_FORK) && !defined(HAVE_WORKING_VFORK)
++#define HAVE_WORKING_FORK 1
++#endif
++