diff options
author | arved <arved@FreeBSD.org> | 2004-08-17 19:30:03 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2004-08-17 19:30:03 +0800 |
commit | cf509dda458f7975d1cb3a0375d63f498bba0db4 (patch) | |
tree | 83531a0c187e76a7cb43771b5945e651b1731f65 /textproc | |
parent | 0fe870c4dcbb298e3f995c4dea3cae1c2c0a89d5 (diff) | |
download | freebsd-ports-gnome-cf509dda458f7975d1cb3a0375d63f498bba0db4.tar.gz freebsd-ports-gnome-cf509dda458f7975d1cb3a0375d63f498bba0db4.tar.zst freebsd-ports-gnome-cf509dda458f7975d1cb3a0375d63f498bba0db4.zip |
Fix build with gcc 3.4
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/domc/Makefile | 4 | ||||
-rw-r--r-- | textproc/domc/files/patch-node.c | 10 |
2 files changed, 10 insertions, 4 deletions
diff --git a/textproc/domc/Makefile b/textproc/domc/Makefile index 21ed9095dd59..9d38e9884c77 100644 --- a/textproc/domc/Makefile +++ b/textproc/domc/Makefile @@ -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 diff --git a/textproc/domc/files/patch-node.c b/textproc/domc/files/patch-node.c new file mode 100644 index 000000000000..a6c547bcbfc3 --- /dev/null +++ b/textproc/domc/files/patch-node.c @@ -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); + } |