Description: work around catch2 vs libcatch2-dev mess
Author: Alexander Zangerl <az@debian.org>
--- a/faketape/Makefile.am
+++ b/faketape/Makefile.am
@@ -21,7 +21,7 @@ faketape_LDADD = ../compat/lib/libcompat
 faketape_CXXFLAGS = -pthread
 
 faketape_test_SOURCES = faketape_test.cpp
-faketape_test_LDADD = ../compat/lib/libcompat.la -lCatch2WithMain libfaketape.la
+faketape_test_LDADD = ../compat/lib/libcompat.la -lCatch2Main -lCatch2 libfaketape.la
 
 faketape_st_SOURCES = faketape-st.cpp
 faketape_st_LDADD = libfaketape.la
--- a/faketape/faketape_test.cpp
+++ b/faketape/faketape_test.cpp
@@ -38,7 +38,7 @@
 
 #define CONFIG_CATCH_MAIN
 
-#include <catch2/catch.hpp>
+#include <catch2/catch_all.hpp>
 
 using Response = FakeTape::Response;
 
