aboutsummaryrefslogtreecommitdiffstats
path: root/main/pptpd/fix_MSG_TRYHARD.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-09-16 11:21:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-09-16 11:21:12 +0000
commit43419d27a334214568486a4f6caaf19ebf245cbb (patch)
tree9ff324b320e215ce8dbb8fca8a8499dcc9b3c93e /main/pptpd/fix_MSG_TRYHARD.patch
parentd3aa5f237ecaf9873444c5b3978af6d824b0a390 (diff)
downloadaports-43419d27a334214568486a4f6caaf19ebf245cbb.tar.bz2
aports-43419d27a334214568486a4f6caaf19ebf245cbb.tar.xz
main/pptpd: moved from testing
Diffstat (limited to 'main/pptpd/fix_MSG_TRYHARD.patch')
-rw-r--r--main/pptpd/fix_MSG_TRYHARD.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/pptpd/fix_MSG_TRYHARD.patch b/main/pptpd/fix_MSG_TRYHARD.patch
new file mode 100644
index 0000000000..3e30295ca6
--- /dev/null
+++ b/main/pptpd/fix_MSG_TRYHARD.patch
@@ -0,0 +1,13 @@
+--- a/bcrelay.c
++++ b/bcrelay.c
+@@ -61,6 +61,10 @@
+ // software to your hearts content. You are free to redistribute it as
+ // long as it is accompanied with the source and my credit is included.
+
++#ifndef MSG_TRYHARD
++ # define MSG_TRYHARD MSG_DONTROUTE
++#endif
++
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+ #endif