summaryrefslogtreecommitdiff
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
parent- fix build on amd64 and ia64 archs (diff)
Fix the build with GCC 4.2.
Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=193466
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>