Fix 'catch' & 'catch2' compatibility with glibc-2.34
authorLukas Märdian <slyon@ubuntu.com>
Sat, 19 Nov 2022 10:33:48 +0000 (10:33 +0000)
committerAdrian Bunk <bunk@debian.org>
Sat, 19 Nov 2022 10:33:48 +0000 (10:33 +0000)
commit8e33bc955982e59549fbfe94e26d524f27e8841d
tree7903f36084f02ad4b4788d53fb7608e5e819947a
parentb57bbd70575058e6ebbf9197481ce7c2f8ae6920
Fix 'catch' & 'catch2' compatibility with glibc-2.34

Origin: vendor, Ubuntu
Bug: https://github.com/potassco/libpotassco/issues/12 (only catch1 part)
Last-Update: 2022-01-18

The gringo package contains several embedded copies of the 'catch' (CTest)
library. All of those copies are outdated and incompatible with glibc-2.34.
This patch updates the test sources to use the system provided versions of
'catch' and 'catch2' instead, to fix this issue.
C.f.: https://github.com/catchorg/Catch2/issues/2178
Last-Update: 2022-01-18
Gbp-Pq: Name use-system-catch-for-glibc-2.34-compat.patch
32 files changed:
clasp/libpotassco/tests/main.cpp
clasp/libpotassco/tests/test_application.cpp
clasp/libpotassco/tests/test_aspif.cpp
clasp/libpotassco/tests/test_options.cpp
clasp/libpotassco/tests/test_smodels.cpp
clasp/libpotassco/tests/test_string_convert.cpp
clasp/libpotassco/tests/test_text.cpp
clasp/libpotassco/tests/test_value.cpp
clasp/tests/clause_creator_test.cpp
clasp/tests/clause_test.cpp
clasp/tests/cli_test.cpp
clasp/tests/decision_heuristic_test.cpp
clasp/tests/dependency_graph_test.cpp
clasp/tests/dlp_builder_test.cpp
clasp/tests/enumerator_test.cpp
clasp/tests/facade_test.cpp
clasp/tests/literal_test.cpp
clasp/tests/minimize_test.cpp
clasp/tests/parser_test.cpp
clasp/tests/program_builder_test.cpp
clasp/tests/rule_test.cpp
clasp/tests/satelite_test.cpp
clasp/tests/solver_test.cpp
clasp/tests/test_main.cpp
clasp/tests/unfounded_check_test.cpp
clasp/tests/weight_constraint_test.cpp
libclingo/tests/main.cc
libclingo/tests/tests.hh
libgringo/tests/main.cc
libgringo/tests/tests.hh
libreify/tests/main.cc
libreify/tests/program.cc