summaryrefslogtreecommitdiff
path: root/openwrt/package/libupnp
diff options
context:
space:
mode:
authorkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-29 20:02:22 +0000
committerkaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-01-29 20:02:22 +0000
commit2b496734c27b9077fd9c05d748dcd39d466f9ba5 (patch)
treeda2dc5a439658cb039fff0616721e526337e09d0 /openwrt/package/libupnp
parent33178834e8b04a2d5c66c78791fd1cb1c9064152 (diff)
add gcc4 fixes, remove the NEC FC20X2JA driver patch from lcd4linux temporary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3066 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/libupnp')
-rw-r--r--openwrt/package/libupnp/patches/libupnp-1.2.1a-gcc4.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/openwrt/package/libupnp/patches/libupnp-1.2.1a-gcc4.patch b/openwrt/package/libupnp/patches/libupnp-1.2.1a-gcc4.patch
new file mode 100644
index 0000000000..2ea3f88052
--- /dev/null
+++ b/openwrt/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;
+