* [gentoo-commits] repo/gentoo:master commit in: games-simulation/flightgear/files/
@ 2025-06-01 0:38 Maciej Mrozowski
0 siblings, 0 replies; only message in thread
From: Maciej Mrozowski @ 2025-06-01 0:38 UTC (permalink / raw
To: gentoo-commits
commit: c03163e9a8675dc53dd22c4a56ec655c271d2f7c
Author: Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 1 00:36:32 2025 +0000
Commit: Maciej Mrozowski <reavertm <AT> gentoo <DOT> org>
CommitDate: Sun Jun 1 00:37:48 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c03163e9
games-simulation/flightgear: fix compilation with clang, bug #830573
Closes: https://bugs.gentoo.org/830573
Signed-off-by: Maciej Mrozowski <reavertm <AT> gentoo.org>
.../flightgear/files/flightgear-2024.1.1-fix-fgpanel.patch | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/games-simulation/flightgear/files/flightgear-2024.1.1-fix-fgpanel.patch b/games-simulation/flightgear/files/flightgear-2024.1.1-fix-fgpanel.patch
index ff21afce83ce..76123bd78403 100644
--- a/games-simulation/flightgear/files/flightgear-2024.1.1-fix-fgpanel.patch
+++ b/games-simulation/flightgear/files/flightgear-2024.1.1-fix-fgpanel.patch
@@ -376,7 +376,7 @@ diff '--color=auto' -ruN flightgear-2024.1.1/utils/fgpanel/FGRGBTextureLoader.hx
};
diff '--color=auto' -ruN flightgear-2024.1.1/utils/fgpanel/FGTextLayer.cxx my/utils/fgpanel/FGTextLayer.cxx
--- flightgear-2024.1.1/utils/fgpanel/FGTextLayer.cxx 2025-02-27 15:49:32.000000000 +0100
-+++ my/utils/fgpanel/FGTextLayer.cxx 2025-05-22 07:19:55.218845401 +0200
++++ my/utils/fgpanel/FGTextLayer.cxx 2025-06-01 02:32:56.203092040 +0200
@@ -156,7 +156,7 @@
int Left, Bottom, W, H;
double X1, Y1, X2, Y2;
@@ -415,6 +415,15 @@ diff '--color=auto' -ruN flightgear-2024.1.1/utils/fgpanel/FGTextLayer.cxx my/ut
const float mult,
const float offs,
const bool truncation) :
+@@ -290,7 +290,7 @@
+ sprintf (m_buf, m_fmt.c_str (), m_text.c_str ());
+ break;
+ case TEXT_VALUE:
+- sprintf (m_buf, m_fmt.c_str (), m_node->getStringValue ());
++ sprintf (m_buf, m_fmt.c_str (), m_node->getStringValue ().c_str());
+ break;
+ case DOUBLE_VALUE:
+ double d (m_offs + m_node->getFloatValue() * m_mult);
diff '--color=auto' -ruN flightgear-2024.1.1/utils/fgpanel/GL_utils.cxx my/utils/fgpanel/GL_utils.cxx
--- flightgear-2024.1.1/utils/fgpanel/GL_utils.cxx 2025-02-27 15:49:32.000000000 +0100
+++ my/utils/fgpanel/GL_utils.cxx 2025-05-22 07:18:54.467677071 +0200
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-06-01 0:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-01 0:38 [gentoo-commits] repo/gentoo:master commit in: games-simulation/flightgear/files/ Maciej Mrozowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox