diff options
author | thierry <thierry@FreeBSD.org> | 2007-03-21 06:53:30 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2007-03-21 06:53:30 +0800 |
commit | eb6a6b71f9fb654df77d31ca0112156e2f141c5e (patch) | |
tree | f409f3154691cc8e1e2216070212db6148dfbed9 /net | |
parent | 3ee0cfc0d5e4976aaa32da75d712d104a9760b4c (diff) | |
download | freebsd-ports-gnome-eb6a6b71f9fb654df77d31ca0112156e2f141c5e.tar.gz freebsd-ports-gnome-eb6a6b71f9fb654df77d31ca0112156e2f141c5e.tar.zst freebsd-ports-gnome-eb6a6b71f9fb654df77d31ca0112156e2f141c5e.zip |
Fix build with gcc42 (invalid lvalue in assignment).
Reported by: pointyhat via Kris
Diffstat (limited to 'net')
-rw-r--r-- | net/xmlrpc-epi/Makefile | 6 | ||||
-rw-r--r-- | net/xmlrpc-epi/files/patch-src__xml_element.c | 11 |
2 files changed, 17 insertions, 0 deletions
diff --git a/net/xmlrpc-epi/Makefile b/net/xmlrpc-epi/Makefile index 8f5083be2118..04864ea02526 100644 --- a/net/xmlrpc-epi/Makefile +++ b/net/xmlrpc-epi/Makefile @@ -30,6 +30,12 @@ METHODS= TestNormal TestFault TestStruct TestArray TestBoolean \ CONFLICTS= xmlrpc-c-0.* +pre-configure: + ${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \ + ${REINPLACE_CMD} -e '/^LTCOMPILE =/s/--mode=/--tag=CC --mode=/' + ${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \ + ${REINPLACE_CMD} -e '/^LINK =/s/--mode=/--tag=CC --mode=/' + post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} diff --git a/net/xmlrpc-epi/files/patch-src__xml_element.c b/net/xmlrpc-epi/files/patch-src__xml_element.c new file mode 100644 index 000000000000..e4f669210d27 --- /dev/null +++ b/net/xmlrpc-epi/files/patch-src__xml_element.c @@ -0,0 +1,11 @@ +--- src/xml_element.c.orig Thu May 23 19:46:51 2002 ++++ src/xml_element.c Tue Mar 20 23:15:55 2007 +@@ -170,7 +170,7 @@ + + Q_Destroy(&root->children); + Q_Destroy(&root->attrs); +- my_free((char*)root->name); ++ my_free(root->name); + simplestring_free(&root->text); + my_free(root); + } |