summaryrefslogtreecommitdiff
path: root/dev-cpp/catch/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-03-13 16:55:35 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-03-13 16:55:35 +0000
commit1dde4e5c4b92d849bf1abf0a48135b2a0644f7e1 (patch)
treec99a472cce74148d499f42ada873454b0e32a42d /dev-cpp/catch/files
parentda6a52f691ef980bab92d003d5df8f463c623af8 (diff)
gentoo resync : 13.03.2018
Diffstat (limited to 'dev-cpp/catch/files')
-rw-r--r--dev-cpp/catch/files/catch-2.2.0-fix-pkg-config.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-cpp/catch/files/catch-2.2.0-fix-pkg-config.patch b/dev-cpp/catch/files/catch-2.2.0-fix-pkg-config.patch
new file mode 100644
index 000000000000..1c1463921b2b
--- /dev/null
+++ b/dev-cpp/catch/files/catch-2.2.0-fix-pkg-config.patch
@@ -0,0 +1,22 @@
+From c778848b09df073b9f84f22622ea7a632642c4a5 Mon Sep 17 00:00:00 2001
+From: David Seifert <soap@gentoo.org>
+Date: Tue, 30 Jan 2018 11:13:53 +0100
+Subject: [PATCH] Fix pkg-config
+
+* All uses of Catch involve #include'ing it without
+ a prefixed folder, such as `#include "catch.hpp"`.
+ This requires fixing the pkg-config file.
+---
+ catch.pc.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/catch.pc.in b/catch.pc.in
+index abd0b66b1..4f48bc7fb 100644
+--- a/catch.pc.in
++++ b/catch.pc.in
+@@ -3,4 +3,4 @@ includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
+ Name: Catch
+ Description: Testing library for C++
+ Version: @Catch2_VERSION@
+-Cflags: -I${includedir}
++Cflags: -I${includedir}/catch