summaryrefslogtreecommitdiff
path: root/net-vpn/pptpd/files/pptpd-1.4.0-musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-vpn/pptpd/files/pptpd-1.4.0-musl.patch')
-rw-r--r--net-vpn/pptpd/files/pptpd-1.4.0-musl.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-vpn/pptpd/files/pptpd-1.4.0-musl.patch b/net-vpn/pptpd/files/pptpd-1.4.0-musl.patch
new file mode 100644
index 000000000000..998a07acf7e9
--- /dev/null
+++ b/net-vpn/pptpd/files/pptpd-1.4.0-musl.patch
@@ -0,0 +1,16 @@
+Modified patch from Alpine Linux
+https://git.alpinelinux.org/aports/plain/main/pptpd/fix_MSG_TRYHARD.patch
+
+--- a/bcrelay.c
++++ b/bcrelay.c
+@@ -103,6 +103,10 @@
+ #include "our_syslog.h"
+ #include "our_getopt.h"
+
++#ifndef MSG_TRYHARD
++ #define MSG_TRYHARD MSG_DONTROUTE
++#endif
++
+ //#define VERSION "1.0"
+
+ /* uncomment if you compile this without poptop's configure script */