diff --git a/enchant.spec b/enchant.spec index 018bcfdb7d3be36dc7d3c1a78b4abc7f32795236..48086bdb491e10efd4b08fd0c033225618c576ca 100644 --- a/enchant.spec +++ b/enchant.spec @@ -1,6 +1,6 @@ Name: enchant Version: 1.6.1 -Release: 4 +Release: 5 Epoch: 1 Summary: Generic spell checking library @@ -48,6 +48,7 @@ Applications need libraries integrated by using libenchant with voikko. %build export OBJC=%{__cc} +CFLAGS="%{build_cflags} -Wno-error=incompatible-pointer-types" \ %configure --disable-ispell --disable-hspell --disable-zemberek --enable-myspell \ --with-myspell-dir=/usr/share/myspell make %{?_smp_mflags} @@ -84,6 +85,9 @@ make install DESTDIR=%{buildroot} %{_mandir}/man1/*.gz %changelog +* Mon Aug 04 2025 liuqingtao - 1:1.6.1-5 +- Add cflags to ignore compilation error of Wincompatible-pointer-types + * Fri Mar 15 2024 wangqiang - 1:1.6.1-4 - Fix CC compiler support