1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Fix build with gcc 3.4

This commit is contained in:
Tilman Keskinoz 2004-08-17 11:30:03 +00:00
parent 58ef315c7f
commit d5369bbddd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116505
2 changed files with 10 additions and 4 deletions

View File

@ -30,10 +30,6 @@ PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502126
BROKEN= "Does not compile with gcc 3.4.2"
.endif
post-patch:
@${REINPLACE_CMD} -e "s|/usr/local|${PREFIX}|g" \
-e "s|gcc|${CC}|g" ${WRKSRC}/Makefile

View File

@ -0,0 +1,10 @@
--- src/node.c.orig Tue Aug 17 13:26:21 2004
+++ src/node.c Tue Aug 17 13:27:55 2004
@@ -381,6 +381,7 @@
case DOM_DOCUMENT_NODE:
case DOM_DOCUMENT_TYPE_NODE:
case DOM_NOTATION_NODE:
+ break;
}
free(node);
}