From ff5c1e9b0f9dc943fa37bac0d97afa9dd0256644 Mon Sep 17 00:00:00 2001 From: bailu Date: Mon, 4 Aug 2025 11:48:16 +0800 Subject: [PATCH] Ignore -Wincompatible-pointer-types error when compiling with gcc-14.3 Signed-off-by: liuqingtao --- dnsmasq.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dnsmasq.spec b/dnsmasq.spec index a43b57a..a9edf5d 100644 --- a/dnsmasq.spec +++ b/dnsmasq.spec @@ -1,6 +1,6 @@ Name: dnsmasq Version: 2.90 -Release: 4 +Release: 5 Summary: Dnsmasq provides network infrastructure for small networks License: GPLv2 or GPLv3 URL: http://www.thekelleys.org.uk/dnsmasq/ @@ -57,7 +57,7 @@ sed -i "s|\(#\s*define RUNFILE\) \"/var/run/dnsmasq.pid\"|\1 \"%{_rundir}/dnsmas sed -i 's|^COPTS[[:space:]]*=|\0 -DHAVE_DBUS -DHAVE_LIBIDN2 -DHAVE_DNSSEC|' Makefile %build -%make_build CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" +%make_build CFLAGS="$RPM_OPT_FLAGS -Wno-error=incompatible-pointer-types" LDFLAGS="$RPM_LD_FLAGS" %make_build -C contrib/lease-tools CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %install @@ -111,6 +111,12 @@ install -Dpm644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysusersdir}/dnsmasq.conf %{_mandir}/man8/dnsmasq* %changelog +* Mon Aug 04 2025 Liu Qingtao - 2.90-5 +- Type:bugfix +- CVE: +- SUG:NA +- DESC:Ignore Wincompatible-pointer-types error when compiling with gcc-14.3 + * Thu Mar 20 2025 lingsheng - 2.90-4 - Type:bugfix - CVE:NA -- Gitee