mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-07 18:07:08 -08:00
dev-cpp/tlfloat: Fix build with libc++
Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/46894 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
Fix build with libc++
|
||||
Upstream PR: https://github.com/shibatch/tlfloat/pull/6
|
||||
--- a/src/include/tlfloat/tlfloat.hpp
|
||||
+++ b/src/include/tlfloat/tlfloat.hpp
|
||||
@@ -8,6 +8,7 @@
|
||||
#define __TLFLOAT_HPP_INCLUDED__
|
||||
|
||||
#include <cstdio>
|
||||
+#include <type_traits>
|
||||
|
||||
#include <tlfloat/bigint.hpp>
|
||||
|
||||
@@ -22,7 +22,10 @@ KEYWORDS="~amd64 ~arm64 ~riscv"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-fPIC.patch )
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-fPIC.patch
|
||||
"${FILESDIR}"/${P}-libcxx.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
|
||||
Reference in New Issue
Block a user