summaryrefslogtreecommitdiffstats
path: root/package/libupnp/patches/libupnp-1.2.1a-gcc4.patch
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
commit5492ea91982d9bdc3c8ea95534bb495e7979ec31 (patch)
tree1c74164dca2685f4acd1ca6970ac0684147e8b8a /package/libupnp/patches/libupnp-1.2.1a-gcc4.patch
parenta4cc22f122f32fe2cec817fddcc5e38f108c2ddf (diff)
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
Diffstat (limited to 'package/libupnp/patches/libupnp-1.2.1a-gcc4.patch')
-rw-r--r--package/libupnp/patches/libupnp-1.2.1a-gcc4.patch17
1 files changed, 17 insertions, 0 deletions
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 000000000..2ea3f8805
--- /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;
+