From ec5378626d2d1fff0f1129c98d3b089b872fe1f7 Mon Sep 17 00:00:00 2001 From: Miloslav Trmac Date: Mon, 18 Oct 2004 21:28:24 +0000 Subject: [PATCH] - 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 --- transfig.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/transfig.spec b/transfig.spec index 463ec4f..3928a3c 100644 --- a/transfig.spec +++ b/transfig.spec @@ -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 - 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 - rebuilt