From 09f1c3c00138a507f6343468991a1aaa10a0e24f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jarom=C3=ADr=20Mike=C5=A1?= Date: Mon, 26 Jun 2017 17:35:40 +0200 Subject: [PATCH] Add patch to test with system-wide catch. --- debian/patches/04-catch.patch | 84 +++++++++++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 85 insertions(+) create mode 100644 debian/patches/04-catch.patch diff --git a/debian/patches/04-catch.patch b/debian/patches/04-catch.patch new file mode 100644 index 0000000..dc19d89 --- /dev/null +++ b/debian/patches/04-catch.patch @@ -0,0 +1,84 @@ +Description: test with system-wide catch. +Author: Jaromír Mikeš +Forwarded: no + +Index: giada/tests/main.cpp +=================================================================== +--- giada.orig/tests/main.cpp ++++ giada/tests/main.cpp +@@ -1,3 +1,3 @@ + #define CATCH_CONFIG_MAIN + #define CATCH_CONFIG_FAST_COMPILE +-#include "catch/single_include/catch.hpp" ++#include +Index: giada/tests/conf.cpp +=================================================================== +--- giada.orig/tests/conf.cpp ++++ giada/tests/conf.cpp +@@ -1,6 +1,6 @@ + #include "../src/core/const.h" + #include "../src/core/conf.h" +-#include "catch/single_include/catch.hpp" ++#include + + + using std::string; +Index: giada/tests/midiMapConf.cpp +=================================================================== +--- giada.orig/tests/midiMapConf.cpp ++++ giada/tests/midiMapConf.cpp +@@ -1,6 +1,6 @@ + #include "../src/core/const.h" + #include "../src/core/midiMapConf.h" +-#include "catch/single_include/catch.hpp" ++#include + + + using std::string; +Index: giada/tests/patch.cpp +=================================================================== +--- giada.orig/tests/patch.cpp ++++ giada/tests/patch.cpp +@@ -1,6 +1,6 @@ + #include "../src/core/patch.h" + #include "../src/core/const.h" +-#include "catch/single_include/catch.hpp" ++#include + + + using std::string; +Index: giada/tests/recorder.cpp +=================================================================== +--- giada.orig/tests/recorder.cpp ++++ giada/tests/recorder.cpp +@@ -1,6 +1,6 @@ + #include "../src/core/recorder.h" + #include "../src/core/const.h" +-#include "catch/single_include/catch.hpp" ++#include + + + using std::string; +Index: giada/tests/utils.cpp +=================================================================== +--- giada.orig/tests/utils.cpp ++++ giada/tests/utils.cpp +@@ -1,6 +1,6 @@ + #include "../src/utils/fs.h" + #include "../src/utils/string.h" +-#include "catch/single_include/catch.hpp" ++#include + + + using std::vector; +Index: giada/tests/wave.cpp +=================================================================== +--- giada.orig/tests/wave.cpp ++++ giada/tests/wave.cpp +@@ -1,5 +1,5 @@ + #include "../src/core/wave.h" +-#include "catch/single_include/catch.hpp" ++#include + + + using std::string; diff --git a/debian/patches/series b/debian/patches/series index bfef84f..6cdd3e5 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 02-rtmidi-pkgconfig.patch +04-catch.patch -- 2.30.2