From 51f32f2c0f31403b8500d76a51a39465c8d91675 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 22 Oct 2026 09:20:27 +0000 Subject: automatic import of ros-humble-cwiid --- ros-humble-cwiid.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'ros-humble-cwiid.spec') diff --git a/ros-humble-cwiid.spec b/ros-humble-cwiid.spec index b49eae6..75e7d01 100644 --- a/ros-humble-cwiid.spec +++ b/ros-humble-cwiid.spec @@ -6,7 +6,7 @@ Name: ros-humble-cwiid Version: 0.6.00 -Release: 2%{?dist} +Release: 3%{?dist} Summary: CWiid Wiimote Interface — libcwiid and tools (wmgui/wminput/lswm) License: GPLv2 @@ -17,6 +17,10 @@ Source0: https://github.com/abstrakraft/cwiid/archive/fadf11e89b579bcc033 # 导致 aarch64 编译产物无 PIC 但链接 PIE → R_AARCH64_ADR_PREL_PG_HI21 重定位失败。 # 修复:在 CFLAGS 定义中前置 @CFLAGS@(configure 保存的 RPM optflags)。 Patch0: cwiid-cflags.patch +# wmgui/main.c:445 将非字面量 message 直接传给 gtk_message_dialog_new 的 +# 格式串参数,触发 -Werror=format-security(RPM optflags 含 -Werror=format-security)。 +# 修复:改用 "%s", message 显式格式串。 +Patch1: cwiid-format-security.patch Group: Development/Libraries Packager: openEuler Builder @@ -90,6 +94,9 @@ autoreconf -if %{_libdir}/pkgconfig/cwiid.pc %changelog +* Thu Oct 22 2026 openEuler Builder - 0.6.00-3 +- Fix -Werror=format-security in wmgui/main.c: use "%s" format literal for gtk_message_dialog_new. + * Thu Oct 22 2026 openEuler Builder - 0.6.00-2 - Fix aarch64 PIE link failure: include @CFLAGS@ (RPM optflags with -fPIE) in defs.mak.in. -- cgit v1.2.3