diff options
author | Jesse Young <jlyo@jlyo.org> | 2011-10-27 21:32:54 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2011-10-28 07:53:04 +0000 |
commit | 465508790265361b8ca65d1ece76c18a0d5c8621 (patch) | |
tree | 3260284d316e40a09491f5f2dbdc7328b947615c /testing/strongswan/adns.patch | |
parent | 18fa9072b44cfa3bb65922fe3795d2db2674237b (diff) | |
download | aports-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.patch | 10 |
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 */ |