diff options
Diffstat (limited to 'editors/xmleditor/Makefile')
-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> |