- don't define umode_t on ppc64

This commit is contained in:
Jindrich Novy 2005-03-16 14:18:20 +00:00
parent 90bb9aae40
commit 543d68acc6

View File

@ -115,6 +115,10 @@ export CFLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE $RPM_OPT_FLAGS -Wno-po
--mandir=%{_mandir} \ --mandir=%{_mandir} \
--infodir=%{_infodir} \ --infodir=%{_infodir} \
--enable-charset --enable-charset
# disable umode_t redefinition on ppc64
%ifarch ppc64
perl -pi -e "s,#define umode_t int,/* #undef umode_t */," config.h
%endif
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
@ -174,6 +178,7 @@ rm -rf $RPM_BUILD_ROOT
- fix infinite loop hang when copying/deleting some strangely - fix infinite loop hang when copying/deleting some strangely
named files (#150569) named files (#150569)
- drop BuildRequires to gettext, XFree86-devel -> xorg-x11-devel - drop BuildRequires to gettext, XFree86-devel -> xorg-x11-devel
- don't define umode_t on ppc64
* Wed Feb 9 2005 Jindrich Novy <jnovy@redhat.com> * Wed Feb 9 2005 Jindrich Novy <jnovy@redhat.com>
- don't use acs_map with not UTF8-ized slang (#147559) - don't use acs_map with not UTF8-ized slang (#147559)