textadept: fix build with gcc 12
This commit is contained in:
parent
bbfa95be1b
commit
016aba15bd
|
@ -65,6 +65,9 @@ pre_configure() {
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make deps
|
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} GTK3=1
|
||||||
make ${makejobs} curses
|
make ${makejobs} curses
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue