From e3e150c18c8b6efd11121ff13db57b603fdb8565 Mon Sep 17 00:00:00 2001 From: luoguocui Date: Thu, 27 Nov 2025 02:16:52 +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 bf6fdd5..85aa6cb 100644 --- a/dhcp.spec +++ b/dhcp.spec @@ -3,7 +3,7 @@ Name: dhcp Version: 4.4.3 -Release: 9 +Release: 10 Summary: Dynamic host configuration protocol software #Please don't change the epoch on this package Epoch: 12 @@ -117,7 +117,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 \ @@ -318,6 +318,9 @@ exit 0 %{_mandir}/man3/omapi.3.gz %changelog +* Thu Nov 27 2025 luoguocui - 12:4.4.3-10 +- Ignore Wincompatible-pointer-types error when compiling with gcc-14.3 + * Thu Mar 20 2025 zhangpan - 12:4.4.3-9 - Type:CVE - ID:NA -- Gitee