- 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:
parent
d7a50fdbbe
commit
ec5378626d
@ -4,7 +4,7 @@
|
|||||||
Summary: A utility for converting FIG files (made by xfig) to other formats.
|
Summary: A utility for converting FIG files (made by xfig) to other formats.
|
||||||
Name: transfig
|
Name: transfig
|
||||||
Version: 3.2.4
|
Version: 3.2.4
|
||||||
Release: 7
|
Release: 8
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: distributable
|
License: distributable
|
||||||
Group: Applications/Multimedia
|
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
|
Patch0: transfig.3.2.4-strerror.patch
|
||||||
Patch1: transfig-3.2.4-gcc33.patch
|
Patch1: transfig-3.2.4-gcc33.patch
|
||||||
Patch2: transfig.3.2.4-broken.patch
|
Patch2: transfig.3.2.4-broken.patch
|
||||||
|
Patch3: transfig-3.2.4-badc.patch
|
||||||
|
|
||||||
BuildPrereq: libpng-devel
|
BuildPrereq: libpng-devel
|
||||||
BuildPrereq: libjpeg-devel
|
BuildPrereq: libjpeg-devel
|
||||||
@ -35,17 +36,14 @@ figures into certain graphics languages.
|
|||||||
%patch0 -p1 -b .strerror
|
%patch0 -p1 -b .strerror
|
||||||
%patch1 -p1 -b .gcc33
|
%patch1 -p1 -b .gcc33
|
||||||
%patch2 -p1 -b .broken
|
%patch2 -p1 -b .broken
|
||||||
|
%patch3 -p1 -b .badc
|
||||||
|
|
||||||
%build
|
%build
|
||||||
PATH=$PATH:/usr/X11R6/bin
|
PATH=$PATH:/usr/X11R6/bin
|
||||||
xmkmf
|
xmkmf
|
||||||
make Makefiles XFIGLIBDIR=%{xfig_libdir} FIG2DEV_LIBDIR=%{fig2dev_libdir}
|
make Makefiles XFIGLIBDIR=%{xfig_libdir} FIG2DEV_LIBDIR=%{fig2dev_libdir}
|
||||||
|
|
||||||
make \
|
make XFIGLIBDIR=%{xfig_libdir} FIG2DEV_LIBDIR=%{fig2dev_libdir}
|
||||||
%ifarch alpha
|
|
||||||
EXTRA_DEFINES="-Dcfree=free" \
|
|
||||||
%endif
|
|
||||||
XFIGLIBDIR=%{xfig_libdir} FIG2DEV_LIBDIR=%{fig2dev_libdir}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -82,6 +80,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{xfig_libdir}
|
%{xfig_libdir}
|
||||||
|
|
||||||
%changelog
|
%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>
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
||||||
- rebuilt
|
- rebuilt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user