aboutsummaryrefslogtreecommitdiff
path: root/editors/xmleditor
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2007-06-14 09:10:15 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2007-06-14 09:10:15 +0000
commitaaf02b4ae5e68f209950418d475546ffe99e2299 (patch)
treed5a7ef464f20c444a08186e6caca1907bb9e17a6 /editors/xmleditor
parent8c6540cff96ea2c8ad0af537802ef82dbcad7207 (diff)
downloadports-aaf02b4ae5e68f209950418d475546ffe99e2299.tar.gz
ports-aaf02b4ae5e68f209950418d475546ffe99e2299.zip
Notes
Diffstat (limited to 'editors/xmleditor')
-rw-r--r--editors/xmleditor/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/editors/xmleditor/Makefile b/editors/xmleditor/Makefile
index a980f3ca10d0..e287c677dca4 100644
--- a/editors/xmleditor/Makefile
+++ b/editors/xmleditor/Makefile
@@ -28,4 +28,10 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
USE_LDCONFIG= yes
+# Fix for GCC 4.2
+post-patch:
+ @${REINPLACE_CMD} -e '257s,((char\*)\*n),n,' \
+ -e '/gtk_xml_modules_add_module/s,const ,,' \
+ ${WRKSRC}/src/gtkxmlmodules.*
+
.include <bsd.port.mk>