From cd80d45cf4e0f984a4034527264865fbed689ddf Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Sun, 29 Jan 2006 20:02:22 +0000 Subject: add gcc4 fixes, remove the NEC FC20X2JA driver patch from lcd4linux temporary git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3066 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/libupnp/patches/libupnp-1.2.1a-gcc4.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 package/libupnp/patches/libupnp-1.2.1a-gcc4.patch (limited to 'package/libupnp/patches') diff --git a/package/libupnp/patches/libupnp-1.2.1a-gcc4.patch b/package/libupnp/patches/libupnp-1.2.1a-gcc4.patch new file mode 100644 index 0000000000..2ea3f88052 --- /dev/null +++ b/package/libupnp/patches/libupnp-1.2.1a-gcc4.patch @@ -0,0 +1,17 @@ +Index: libupnp-1.2.1a/ixml/src/element.c +=================================================================== +--- libupnp-1.2.1a.orig/ixml/src/element.c ++++ libupnp-1.2.1a/ixml/src/element.c +@@ -454,9 +454,9 @@ ixmlElement_removeAttributeNode( IN IXML + element->n.firstAttr = nextSib; + } + +- ( IXML_Attr * ) attrNode->parentNode = NULL; +- ( IXML_Attr * ) attrNode->prevSibling = NULL; +- ( IXML_Attr * ) attrNode->nextSibling = NULL; ++ attrNode->parentNode = NULL; ++ attrNode->prevSibling = NULL; ++ attrNode->nextSibling = NULL; + *rtAttr = ( IXML_Attr * ) attrNode; + return IXML_SUCCESS; + -- cgit v1.2.3