summaryrefslogtreecommitdiff
path: root/dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-precision.patch
diff options
context:
space:
mode:
authorAlexey Sokolov <alexey+gentoo@asokolov.org>2026-02-11 08:32:25 +0000
committerSam James <sam@gentoo.org>2026-02-13 00:35:28 +0000
commite656d574ba853360e648fa22aabe26283cf81552 (patch)
tree01375efb31944282d433d179f75e7b59b8366bf2 /dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-precision.patch
parentdfc84bb7d79341ba76b9ae8be41883eea5b5a577 (diff)
downloadgentoo-e656d574ba853360e648fa22aabe26283cf81552.tar.gz
gentoo-e656d574ba853360e648fa22aabe26283cf81552.tar.bz2
gentoo-e656d574ba853360e648fa22aabe26283cf81552.zip
dev-cpp/yaml-cpp: add 0.9.0
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Part-of: https://codeberg.org/gentoo/gentoo/pulls/41 Merges: https://codeberg.org/gentoo/gentoo/pulls/41 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-precision.patch')
-rw-r--r--dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-precision.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-precision.patch b/dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-precision.patch
new file mode 100644
index 0000000000000..8fecc8c28aa1e
--- /dev/null
+++ b/dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-precision.patch
@@ -0,0 +1,24 @@
+https://github.com/jbeder/yaml-cpp/pull/1401
+
+From 8d58b447fa7cafc3b9fdb5d4ca3e80239c111198 Mon Sep 17 00:00:00 2001
+From: Simon Gene Gottlieb <simon@gottliebtfreitag.de>
+Date: Wed, 11 Feb 2026 17:55:43 +0100
+Subject: [PATCH] fix: floating point conversion on x86 (32bit)
+
+---
+ src/fptostring.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/fptostring.cpp b/src/fptostring.cpp
+index e1722aeed..9176d73bd 100644
+--- a/src/fptostring.cpp
++++ b/src/fptostring.cpp
+@@ -28,7 +28,7 @@ namespace fp_formatting {
+ * assert(buffer[1] == '2');
+ * assert(buffer[2] == '3');
+ */
+-int ConvertToChars(char* begin, char* end, size_t value, int width=1) {
++int ConvertToChars(char* begin, char* end, uint64_t value, int width=1) {
+ // precondition of this function (will trigger in debug build)
+ assert(width >= 1);
+ assert(end >= begin); // end must be after begin