aboutsummaryrefslogtreecommitdiff
path: root/net/xmlrpc-epi
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2007-03-20 22:53:30 +0000
committerThierry Thomas <thierry@FreeBSD.org>2007-03-20 22:53:30 +0000
commit24effd6303d916c75751016c4e14eaf6fd931311 (patch)
tree0878cfea55476dca56ea02e7d71cd3ff19151104 /net/xmlrpc-epi
parent5c68a4625828e305ea4c4d4db01ab5c01ff0632c (diff)
downloadports-24effd6303d916c75751016c4e14eaf6fd931311.tar.gz
ports-24effd6303d916c75751016c4e14eaf6fd931311.zip
Notes
Diffstat (limited to 'net/xmlrpc-epi')
-rw-r--r--net/xmlrpc-epi/Makefile6
-rw-r--r--net/xmlrpc-epi/files/patch-src__xml_element.c11
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);
+ }