diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2007-06-14 09:10:15 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2007-06-14 09:10:15 +0000 |
commit | aaf02b4ae5e68f209950418d475546ffe99e2299 (patch) | |
tree | d5a7ef464f20c444a08186e6caca1907bb9e17a6 /editors | |
parent | 8c6540cff96ea2c8ad0af537802ef82dbcad7207 (diff) |
Fix the build with GCC 4.2.
Reported by: pointyhat
Notes
Notes:
svn path=/head/; revision=193466
Diffstat (limited to 'editors')
-rw-r--r-- | editors/xmleditor/Makefile | 6 |
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> |