From 016aba15bd36e9510d5443b4407e6340c3f51d02 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Thu, 17 Nov 2022 19:06:01 +0100 Subject: [PATCH] textadept: fix build with gcc 12 --- srcpkgs/textadept/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/textadept/template b/srcpkgs/textadept/template index 97335778d1d..2625a775a7e 100644 --- a/srcpkgs/textadept/template +++ b/srcpkgs/textadept/template @@ -65,6 +65,9 @@ pre_configure() { do_build() { make deps + # fix build with gcc 12 https://github.com/orbitalquark/textadept/issues/110 + # from https://aur.archlinux.org/cgit/aur.git/commit/PKGBUILD?h=textadept&id=c07c879175c8bea2f43169c71887bd9ebdf8969d + vsed -i '1008s/volatile//;1099s/volatile//;' scintilla/gtk/ScintillaGTKAccessible.cxx make ${makejobs} GTK3=1 make ${makejobs} curses }