aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2012-06-09 20:54:52 +0800
committerdinoex <dinoex@FreeBSD.org>2012-06-09 20:54:52 +0800
commite837542e779814ce00455cb4ccbe6164916494f9 (patch)
treec1c32c8f7e87f660d07cb4aec32bf4a78a5841a5 /editors
parent93dfa2d004965ff4fafde64c39ef83c30473606f (diff)
downloadfreebsd-ports-gnome-e837542e779814ce00455cb4ccbe6164916494f9.tar.gz
freebsd-ports-gnome-e837542e779814ce00455cb4ccbe6164916494f9.tar.zst
freebsd-ports-gnome-e837542e779814ce00455cb4ccbe6164916494f9.zip
- fix build with gnustep 1.24.0
Diffstat (limited to 'editors')
-rw-r--r--editors/codeeditor/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/editors/codeeditor/Makefile b/editors/codeeditor/Makefile
index cbd4d8f64dc1..0dda5bbba758 100644
--- a/editors/codeeditor/Makefile
+++ b/editors/codeeditor/Makefile
@@ -26,4 +26,14 @@ USE_GNUSTEP_INSTALL= yes
WRKSRC= ${WRKDIR}/CodeEditor
MAKE_ENV+= GNUSTEP_INSTALLATION_DIR=${GNUSTEP_LOCAL_ROOT}
+post-patch:
+ ${REINPLACE_CMD} -e 's| bool| mybool|' -e 's|(bool|(mybool|' \
+ ${WRKSRC}/CodeEditorView/CodeEditorViewPreference.h \
+ ${WRKSRC}/CodeEditorView/CodeEditorViewPreference.m \
+ ${WRKSRC}/CodeEditorView/BlockHandler.h \
+ ${WRKSRC}/CodeEditorView/CodeEditorView.h \
+ ${WRKSRC}/CodeEditorView/CodeEditorView.m \
+ ${WRKSRC}/CodeEditor/DocumentController.m \
+ ${WRKSRC}/LanguageHandler/ObjCHandler/ObjCBlockHandler.m
+
.include <bsd.port.mk>