diff options
Diffstat (limited to 'dev-cpp')
| -rw-r--r-- | dev-cpp/tlfloat/files/tlfloat-1.17.1_p20250711-libcxx.patch | 12 | ||||
| -rw-r--r-- | dev-cpp/tlfloat/tlfloat-1.17.1_p20250711.ebuild | 5 |
2 files changed, 16 insertions, 1 deletions
diff --git a/dev-cpp/tlfloat/files/tlfloat-1.17.1_p20250711-libcxx.patch b/dev-cpp/tlfloat/files/tlfloat-1.17.1_p20250711-libcxx.patch new file mode 100644 index 000000000000..dff96ff8d004 --- /dev/null +++ b/dev-cpp/tlfloat/files/tlfloat-1.17.1_p20250711-libcxx.patch @@ -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> + diff --git a/dev-cpp/tlfloat/tlfloat-1.17.1_p20250711.ebuild b/dev-cpp/tlfloat/tlfloat-1.17.1_p20250711.ebuild index f954b85a2097..2e016dda4015 100644 --- a/dev-cpp/tlfloat/tlfloat-1.17.1_p20250711.ebuild +++ b/dev-cpp/tlfloat/tlfloat-1.17.1_p20250711.ebuild @@ -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=( |
