summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-08-27 07:59:46 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-08-27 08:00:03 +0100
commit6c936b92ef0757dbd6d46123124f4f898babadc8 (patch)
tree8fcd0502b9acfa7ddc879c7430574bbd95118577 /dev-util/source-highlight/source-highlight-3.1.9.ebuild
parentdev-python/pycurl: Hack the version to make upgrade less painful (diff)
downloadgentoo-6c936b92ef0757dbd6d46123124f4f898babadc8.tar.gz
gentoo-6c936b92ef0757dbd6d46123124f4f898babadc8.tar.bz2
gentoo-6c936b92ef0757dbd6d46123124f4f898babadc8.zip
dev-util/source-highlight: fix tests on clang
Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/739036 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-util/source-highlight/source-highlight-3.1.9.ebuild')
-rw-r--r--dev-util/source-highlight/source-highlight-3.1.9.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-util/source-highlight/source-highlight-3.1.9.ebuild b/dev-util/source-highlight/source-highlight-3.1.9.ebuild
index cbf7b16e377f..3568b4c32e0d 100644
--- a/dev-util/source-highlight/source-highlight-3.1.9.ebuild
+++ b/dev-util/source-highlight/source-highlight-3.1.9.ebuild
@@ -18,6 +18,11 @@ RDEPEND=">=dev-libs/boost-1.62.0:=[threads]
DEPEND="${RDEPEND}"
BDEPEND=""
+PATCHES=(
+ "${FILESDIR}"/${PN}-3.1.9-test-clang-p1.patch
+ "${FILESDIR}"/${PN}-3.1.9-test-clang-p2.patch
+)
+
src_configure() {
# required as rev-dep of dev-libs/boost-1.62.0
# https://wiki.gentoo.org/wiki/Project:C%2B%2B/Maintaining_ABI