[packages/vte] - adjusted to build with gcc 9

qboosh qboosh at pld-linux.org
Mon Dec 5 19:01:05 CET 2022


commit bda1bcf2aca9c4e1fc8441246fbb0489bf556c7d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Dec 5 19:01:38 2022 +0100

    - adjusted to build with gcc 9

 vte.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/vte.spec b/vte.spec
index 4f0768e..8763934 100644
--- 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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vte.git/commitdiff/bda1bcf2aca9c4e1fc8441246fbb0489bf556c7d



More information about the pld-cvs-commit mailing list