]> git.pld-linux.org Git - packages/vte.git/commitdiff
- adjusted to build with gcc 9
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 5 Dec 2022 18:01:38 +0000 (19:01 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Mon, 5 Dec 2022 18:01:38 +0000 (19:01 +0100)
vte.spec

index 4f0768e7923c7a20526a50ecbd21fa09cc42a3eb..8763934a891de5dbce21719939f31757369d8ddb 100644 (file)
--- a/vte.spec
+++ b/vte.spec
@@ -128,8 +128,10 @@ Dokumentacja API VTE (wersja dla GTK+ 3).
 %setup -q
 %patch0 -p1
 
-# it seems 8.0 with -std=gnu++2a is sufficient for 0.66.x (-std=gnu++20 option was added in 10.0)
+# it seems 9.0 with -std=gnu++2a is sufficient for 0.68.x (-std=gnu++20 option was added in 10.0)
 %{__sed} -i -e '/cxx_req_std/ s/gnu++20/gnu++2a/; /gxx_req_version/ s/10\.0/8.0/' meson.build
+# ...except for single test, which wants consteval and constinit
+%{__sed} -i -e 's/consteval //;s/constinit //' src/pastify-test.cc
 
 # adjust for PLD %{_gtkdocdir}
 %{__sed} -i -e '/HTML_DIR/ s,/gtk-doc/,/doc/gtk-doc/,' doc/reference/Makefile.docs
This page took 0.348647 seconds and 4 git commands to generate.