summaryrefslogtreecommitdiff
path: root/openwrt/package/libupnp
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2006-01-29 20:02:22 +0000
committerImre Kaloz <kaloz@openwrt.org>2006-01-29 20:02:22 +0000
commitdd8eae04cc4c8d453486b9ad7659f35b2d39cf1c (patch)
tree2be51e1c6c638945f84fae1acd19f9662f0f347f /openwrt/package/libupnp
parent6d4eab2a9d6cab630ea0c858315e740bbce4ce54 (diff)
downloadmtk-20170518-dd8eae04cc4c8d453486b9ad7659f35b2d39cf1c.zip
mtk-20170518-dd8eae04cc4c8d453486b9ad7659f35b2d39cf1c.tar.gz
mtk-20170518-dd8eae04cc4c8d453486b9ad7659f35b2d39cf1c.tar.bz2
add gcc4 fixes, remove the NEC FC20X2JA driver patch from lcd4linux temporary
SVN-Revision: 3066
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 0000000..2ea3f88
--- /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;
+