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 }