From 22027c0609395e5e1a19e0bd35154094e0cecf9a Mon Sep 17 00:00:00 2001 From: luoguocui Date: Thu, 27 Nov 2025 02:29:47 +0000 Subject: [PATCH] [sync]PR-145:Ignore Wincompatible-pointer-types error when compiling with gcc-14.3 --- dhcp.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dhcp.spec b/dhcp.spec index 27be458..803e106 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -3,7 +3,7 @@ Name: dhcp Version: 4.4.2 -Release: 14 +Release: 15 Summary: Dynamic host configuration protocol software #Please don't change the epoch on this package Epoch: 12 @@ -120,7 +120,7 @@ sed -i -e 's|/var/db/|%{_localstatedir}/lib/dhcpd/|g' contrib/dhcp-lease-list.pl %build autoreconf --verbose --force --install -CFLAGS="%{optflags} -fno-strict-aliasing" \ +CFLAGS="%{optflags} -fno-strict-aliasing -Wno-error=incompatible-pointer-types" \ %configure --with-srv-lease-file=%{_localstatedir}/lib/dhcpd/dhcpd.leases \ --with-srv6-lease-file=%{_localstatedir}/lib/dhcpd/dhcpd6.leases \ --with-cli-lease-file=%{_localstatedir}/lib/dhclient/dhclient.leases \ @@ -315,6 +315,9 @@ exit 0 %{_mandir}/man3/omapi.3.gz %changelog +* Thu Nov 27 2025 luoguocui - 12:4.4.2-15 +- Ignore Wincompatible-pointer-types error when compiling with gcc-14.3 + * Thu Mar 20 2025 zhangpan - 12:4.4.2-14 - Type:CVE - ID:NA -- Gitee