From: Jaromír Mikeš Date: Mon, 26 Jun 2017 15:35:40 +0000 (+0200) Subject: Add patch to test with system-wide catch. X-Git-Tag: archive/raspbian/0.15.4+ds1-1+rpi1^2~105 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=09f1c3c00138a507f6343468991a1aaa10a0e24f;p=giada.git Add patch to test with system-wide catch. --- 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