aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2021-07-24 06:47:07 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2021-07-24 06:47:07 +0000
commit25c260e713e1b5281c786144d56941d2b177ac23 (patch)
treeebc7d65ffd107cd8c91e84a7109ba14a1bb4a404
parent860a8925ed960299eda8f12d70845d074fcae626 (diff)
downloadports-25c260e713e1b5281c786144d56941d2b177ac23.tar.gz
ports-25c260e713e1b5281c786144d56941d2b177ac23.zip
editors/textadept: prepare for glib-2.68.3
-rw-r--r--editors/textadept/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/editors/textadept/Makefile b/editors/textadept/Makefile
index 458dfd34aee4..181a5cb1c636 100644
--- a/editors/textadept/Makefile
+++ b/editors/textadept/Makefile
@@ -61,6 +61,9 @@ post-patch:
${BUILD_WRKSRC}/lua/src/lib
${LN} -s ${WRKDIR}/gtdialog-${GTD_HASH} ${BUILD_WRKSRC}/gtdialog
@${RM} ${WRKSRC}/core/.*.luadoc
+# Fix build with glib 2.68.3: see https://github.com/orbitalquark/textadept/issues/110
+ ${REINPLACE_CMD} -e '/static volatile/s|volatile||g' \
+ ${BUILD_WRKSRC}/scintilla/gtk/ScintillaGTKAccessible.cxx
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}