/[gentoo-alt]/trunk/overlay/net-misc/upnp/files/libupnp-1.2.1a-gcc4.patch
Gentoo

Contents of /trunk/overlay/net-misc/upnp/files/libupnp-1.2.1a-gcc4.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 842 - (show annotations) (download)
Wed Oct 19 18:36:57 2005 UTC (8 years, 6 months ago) by flameeyes
File size: 666 byte(s)
Added upnp patched to work on FreeBSD.
1 Index: libupnp-1.2.1a/ixml/src/element.c
2 ===================================================================
3 --- libupnp-1.2.1a.orig/ixml/src/element.c
4 +++ libupnp-1.2.1a/ixml/src/element.c
5 @@ -454,9 +454,9 @@ ixmlElement_removeAttributeNode( IN IXML
6 element->n.firstAttr = nextSib;
7 }
8
9 - ( IXML_Attr * ) attrNode->parentNode = NULL;
10 - ( IXML_Attr * ) attrNode->prevSibling = NULL;
11 - ( IXML_Attr * ) attrNode->nextSibling = NULL;
12 + attrNode->parentNode = NULL;
13 + attrNode->prevSibling = NULL;
14 + attrNode->nextSibling = NULL;
15 *rtAttr = ( IXML_Attr * ) attrNode;
16 return IXML_SUCCESS;
17

  ViewVC Help
Powered by ViewVC 1.1.20