net/ipsec-tools: Update configure.ac to force HAVE_POLICY_FWD=true, which is
authorNoah Meyerhans <redacted>
Sat, 16 Aug 2014 05:02:24 +0000 (22:02 -0700)
committerNoah Meyerhans <redacted>
Sat, 16 Aug 2014 19:29:38 +0000 (12:29 -0700)
appropriate on Linux but not properly detected in the openwrt build currently.

Signed-off-by: Noah Meyerhans <redacted>
net/ipsec-tools/patches/force_HAVE_POLICY_FWD [new file with mode: 0644]

diff --git a/net/ipsec-tools/patches/force_HAVE_POLICY_FWD b/net/ipsec-tools/patches/force_HAVE_POLICY_FWD
new file mode 100644 (file)
index 0000000..24e6445
--- /dev/null
@@ -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)
git clone https://git.99rst.org/PROJECT