- Fix at least a few obvious instances of C abuse (partly #74594 with patch

by Sysoltsev Slawa)
- Drop -Dcfree=free fix, not needed with current version
This commit is contained in:
Miloslav Trmac 2004-10-18 21:28:24 +00:00
parent d7a50fdbbe
commit ec5378626d

View File

@ -4,7 +4,7 @@
Summary: A utility for converting FIG files (made by xfig) to other formats.
Name: transfig
Version: 3.2.4
Release: 7
Release: 8
Epoch: 1
License: distributable
Group: Applications/Multimedia
@ -13,6 +13,7 @@ Source: ftp://www-epb.lbl.gov/xfig/%{name}.%{version}.tar.gz
Patch0: transfig.3.2.4-strerror.patch
Patch1: transfig-3.2.4-gcc33.patch
Patch2: transfig.3.2.4-broken.patch
Patch3: transfig-3.2.4-badc.patch
BuildPrereq: libpng-devel
BuildPrereq: libjpeg-devel
@ -35,17 +36,14 @@ figures into certain graphics languages.
%patch0 -p1 -b .strerror
%patch1 -p1 -b .gcc33
%patch2 -p1 -b .broken
%patch3 -p1 -b .badc
%build
PATH=$PATH:/usr/X11R6/bin
xmkmf
make Makefiles XFIGLIBDIR=%{xfig_libdir} FIG2DEV_LIBDIR=%{fig2dev_libdir}
make \
%ifarch alpha
EXTRA_DEFINES="-Dcfree=free" \
%endif
XFIGLIBDIR=%{xfig_libdir} FIG2DEV_LIBDIR=%{fig2dev_libdir}
make XFIGLIBDIR=%{xfig_libdir} FIG2DEV_LIBDIR=%{fig2dev_libdir}
%install
rm -rf $RPM_BUILD_ROOT
@ -82,6 +80,11 @@ rm -rf $RPM_BUILD_ROOT
%{xfig_libdir}
%changelog
* Mon Oct 18 2004 Miloslav Trmac <mitr@redhat.com> - 1:3.2.4-8
- Fix at least a few obvious instances of C abuse (partly #74594 with patch by
Sysoltsev Slawa)
- Drop -Dcfree=free fix, not needed with current version
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt