summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-07-24 20:21:53 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-07-24 20:22:38 +0200
commit8b1a5167748d9c6a6fb012c9c8c4e478a26bb09f (patch)
tree136d88a0cd5c0a8b773989e55fb09fc3996a222c /dev-libs/libixion
parentarm64/use.mask: drop mask on xine (diff)
downloadgentoo-8b1a5167748d9c6a6fb012c9c8c4e478a26bb09f.tar.gz
gentoo-8b1a5167748d9c6a6fb012c9c8c4e478a26bb09f.tar.bz2
gentoo-8b1a5167748d9c6a6fb012c9c8c4e478a26bb09f.zip
dev-libs/libixion: Add new DEPEND, raise mdds minimum dep to 1.5.0
Closes: https://bugs.gentoo.org/680342 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-libs/libixion')
-rw-r--r--dev-libs/libixion/files/libixion-9999-spdlog-non-bundled-fmt.patch25
-rw-r--r--dev-libs/libixion/libixion-9999.ebuild10
2 files changed, 32 insertions, 3 deletions
diff --git a/dev-libs/libixion/files/libixion-9999-spdlog-non-bundled-fmt.patch b/dev-libs/libixion/files/libixion-9999-spdlog-non-bundled-fmt.patch
new file mode 100644
index 000000000000..2cf5cb0a1848
--- /dev/null
+++ b/dev-libs/libixion/files/libixion-9999-spdlog-non-bundled-fmt.patch
@@ -0,0 +1,25 @@
+From 389c8def65406ae92077686a2e9095afebab28f4 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Wed, 24 Jul 2019 20:01:01 +0200
+Subject: [PATCH] Fix build when built against spdlog without bundled fmt
+
+---
+ src/libixion/dirty_cell_tracker.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/libixion/dirty_cell_tracker.cpp b/src/libixion/dirty_cell_tracker.cpp
+index 42d338b..7e6e3cc 100644
+--- a/src/libixion/dirty_cell_tracker.cpp
++++ b/src/libixion/dirty_cell_tracker.cpp
+@@ -16,7 +16,7 @@
+ #include <limits>
+
+ #include <spdlog/spdlog.h>
+-#include <spdlog/fmt/bundled/ostream.h>
++#include <spdlog/fmt/ostr.h>
+
+ namespace ixion {
+
+--
+2.22.0
+
diff --git a/dev-libs/libixion/libixion-9999.ebuild b/dev-libs/libixion/libixion-9999.ebuild
index 860c13488fc6..92f685ee869e 100644
--- a/dev-libs/libixion/libixion-9999.ebuild
+++ b/dev-libs/libixion/libixion-9999.ebuild
@@ -23,12 +23,16 @@ IUSE="debug python static-libs +threads"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-DEPEND="
+RDEPEND="
dev-libs/boost:=
- >=dev-util/mdds-1.4.1:1=
+ >=dev-util/mdds-1.5.0:1=
python? ( ${PYTHON_DEPS} )
"
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}
+ dev-libs/spdlog
+"
+
+PATCHES=( "${FILESDIR}"/${P}-spdlog-non-bundled-fmt.patch )
pkg_setup() {
use python && python-single-r1_pkg_setup