diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-12-30 23:00:18 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-12-30 23:00:18 +0100 |
commit | 5bfdfbcee97c930c3c14dc3745089ac28e76ca41 (patch) | |
tree | 723a2310434afd85f68b3437e17917fcc6c5d623 /package/strongswan/patches/patch-src_pluto_adns_c | |
parent | 16d7827ef1aec4aab89033ed1d47ca82fa3a3ba7 (diff) | |
parent | 58d31896056e604185acf3606b99257cea519dd1 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/strongswan/patches/patch-src_pluto_adns_c')
-rw-r--r-- | package/strongswan/patches/patch-src_pluto_adns_c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/strongswan/patches/patch-src_pluto_adns_c b/package/strongswan/patches/patch-src_pluto_adns_c new file mode 100644 index 000000000..49043fb1b --- /dev/null +++ b/package/strongswan/patches/patch-src_pluto_adns_c @@ -0,0 +1,20 @@ +--- strongswan-4.5.0.orig/src/pluto/adns.c 2010-01-24 02:49:37.000000000 +0100 ++++ strongswan-4.5.0/src/pluto/adns.c 2010-12-30 20:25:54.000000000 +0100 +@@ -179,7 +179,8 @@ write_pipe(int fd, const unsigned char * + res_query(dname, class, type, answer, anslen) + # define res_nclose(statp) res_close() + +-static struct __res_state *statp = &_res; ++static struct __res_state *statp; ++//static struct __res_state *statp = &_res; + + #else /* !OLD_RESOLVER */ + +@@ -590,6 +591,7 @@ int + main(int argc UNUSED, char **argv) + { + int i = 1; ++ statp = &_res; + + name = argv[0]; + |