[packages/hedgewars] - fix clang 15 compiler error
baggins
baggins at pld-linux.org
Sun Jun 7 10:56:26 CEST 2026
commit a3e2c09593455253ab3101d87ebf2d62431ff1c2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Jun 7 10:54:28 2026 +0200
- fix clang 15 compiler error
clang15.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/clang15.patch b/clang15.patch
new file mode 100644
index 0000000..5823ddc
--- /dev/null
+++ b/clang15.patch
@@ -0,0 +1,11 @@
+--- hedgewars-src-1.0.3/project_files/hwc/rtl/sysutils.c~ 2025-07-22 19:12:55.000000000 +0200
++++ hedgewars-src-1.0.3/project_files/hwc/rtl/sysutils.c 2026-06-07 10:18:51.630501943 +0200
+@@ -83,7 +83,7 @@
+ // Semi-dummy implementation of FormatDateTime
+ string255 fpcrtl_formatDateTime(string255 FormatStr, TDateTime DateTime)
+ {
+- string255 buffer = STRINIT(FormatStr.str);
++ string255 buffer = FormatStr;
+ time_t rawtime;
+ struct tm* my_tm;
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/hedgewars.git/commitdiff/ef2ca9e05d5c3861e61cd1168fdf8158dd3ea57d
More information about the pld-cvs-commit
mailing list