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 <efraim@flashner.co.il>
This commit is contained in:
Arne Babenhauserheide 2023-05-20 23:45:43 +02:00 committed by Efraim Flashner
parent b02e7504b0
commit 6d3169af64
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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