strongswan4: uClibc-0.9.31 fix
git-svn-id: svn://svn.openwrt.org/openwrt/packages@23848 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
13
net/strongswan4/patches/300-compile-fixes.patch
Normal file
13
net/strongswan4/patches/300-compile-fixes.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: strongswan-4.3.7/src/pluto/adns.c
|
||||
===================================================================
|
||||
--- strongswan-4.3.7.orig/src/pluto/adns.c 2010-11-04 01:34:39.497000001 +0100
|
||||
+++ strongswan-4.3.7/src/pluto/adns.c 2010-11-04 01:35:10.609000001 +0100
|
||||
@@ -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 ((struct __res_state *)(&_res))
|
||||
|
||||
#else /* !OLD_RESOLVER */
|
||||
|
Reference in New Issue
Block a user