diff options
Diffstat (limited to 'openwrt/package/libupnp/patches/libupnp-1.2.1a-gcc4.patch')
-rw-r--r-- | openwrt/package/libupnp/patches/libupnp-1.2.1a-gcc4.patch | 17 |
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; + |