summaryrefslogtreecommitdiffstats
path: root/testing/strongswan/adns.patch
diff options
context:
space:
mode:
authorJesse Young <jlyo@jlyo.org>2011-10-27 21:32:54 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2011-10-28 07:53:04 +0000
commit465508790265361b8ca65d1ece76c18a0d5c8621 (patch)
tree3260284d316e40a09491f5f2dbdc7328b947615c /testing/strongswan/adns.patch
parent18fa9072b44cfa3bb65922fe3795d2db2674237b (diff)
downloadaports-465508790265361b8ca65d1ece76c18a0d5c8621.tar.bz2
aports-465508790265361b8ca65d1ece76c18a0d5c8621.tar.xz
testing/strongswan: new aport
An OpenSource IPsec implementation for the Linux operating system http://www.strongswan.org/ Signed-off-by: Jesse Young <jlyo@jlyo.org>
Diffstat (limited to 'testing/strongswan/adns.patch')
-rw-r--r--testing/strongswan/adns.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/strongswan/adns.patch b/testing/strongswan/adns.patch
new file mode 100644
index 000000000..52c1852d0
--- /dev/null
+++ b/testing/strongswan/adns.patch
@@ -0,0 +1,10 @@
+--- a/src/pluto/adns.c
++++ b/src/pluto/adns.c
+@@ -179,7 +179,7 @@
+ res_query(dname, class, type, answer, anslen)
+ # define res_nclose(statp) res_close()
+
+-static struct __res_state *statp = &_res;
++#define statp (&(_res))
+
+ #else /* !OLD_RESOLVER */