aboutsummaryrefslogtreecommitdiff
path: root/net/ipsec-tools/patches
diff options
context:
space:
mode:
authorNoah Meyerhans <noahm@debian.org>2014-08-15 22:02:24 -0700
committerNoah Meyerhans <noahm@debian.org>2014-08-16 12:29:38 -0700
commitcc919289a37e66687144dbf5fdb9398a7465e5bc (patch)
treeb93d72742747f96d4882a77611bdd77d58704a98 /net/ipsec-tools/patches
parent5639066c121ba14ed7f4a07d93d3fab140b21f6a (diff)
net/ipsec-tools: Update configure.ac to force HAVE_POLICY_FWD=true, which is
appropriate on Linux but not properly detected in the openwrt build currently. Signed-off-by: Noah Meyerhans <noahm@debian.org>
Diffstat (limited to 'net/ipsec-tools/patches')
-rw-r--r--net/ipsec-tools/patches/force_HAVE_POLICY_FWD14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/ipsec-tools/patches/force_HAVE_POLICY_FWD b/net/ipsec-tools/patches/force_HAVE_POLICY_FWD
new file mode 100644
index 000000000..24e64458b
--- /dev/null
+++ b/net/ipsec-tools/patches/force_HAVE_POLICY_FWD
@@ -0,0 +1,14 @@
+diff --git a/configure.ac b/configure.ac
+index 8506245..eca8895 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -724,7 +724,8 @@ case $host in
+ ],
+ [AC_MSG_RESULT(yes)
+ AC_DEFINE([HAVE_POLICY_FWD], [], [Have forward policy])],
+- [AC_MSG_RESULT(no)])
++ [AC_MSG_RESULT(forced)
++ AC_DEFINE([HAVE_POLICY_FWD], [], [Have forward policy])])
+ ;;
+ *)
+ AC_MSG_RESULT(no)