From 6d3169af6431f32b699f48ab4648a1eb2b369727 Mon Sep 17 00:00:00 2001 From: Arne Babenhauserheide Date: Sat, 20 May 2023 23:45:43 +0200 Subject: [PATCH] gnu: htmlcxx: add --std=c++11 to configure flags. * gnu/packages/web.scm (htmlcxx): add CXXFLAGS to configure-flag. C++17 removed dynamic exception specifications. Signed-off-by: Efraim Flashner --- gnu/packages/web.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm index 9b153e86b2..3b3ea345cd 100644 --- a/gnu/packages/web.scm +++ b/gnu/packages/web.scm @@ -8248,6 +8248,9 @@ (define-public htmlcxx (sha256 (base32 "1j3mzjlczjrk4ahc43s6kzpvzypzjmqz4sillnca5yadrwwgjf2x")))) (build-system gnu-build-system) + (arguments + ;; ISO C++17 does not allow dynamic exception specifications + `(#:configure-flags '("CXXFLAGS=-std=c++11"))) (home-page "https://htmlcxx.sourceforge.net/") (synopsis "Simple non-validating CSS1 and HTML parser for C++") (description "htmlcxx is a simple non-validating CSS1 and HTML parser for