- Build igcrej.c with -O0 to work around bug #150771.
This commit is contained in:
parent
9fbac55a17
commit
22e228928c
11
ghostscript-noopt.patch
Normal file
11
ghostscript-noopt.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- ghostscript-7.07/src/int.mak.noopt 2005-03-10 17:22:53.000000000 +0000
|
||||
+++ ghostscript-7.07/src/int.mak 2005-03-10 17:24:10.000000000 +0000
|
||||
@@ -105,7 +105,7 @@
|
||||
$(PSOBJ)igcref.$(OBJ) : $(PSSRC)igcref.c $(GH) $(memory__h)\
|
||||
$(gsexit_h) $(gsstruct_h)\
|
||||
$(iastate_h) $(idebug_h) $(igc_h) $(iname_h) $(ipacked_h) $(store_h)
|
||||
- $(PSCC) $(PSO_)igcref.$(OBJ) $(C_) $(PSSRC)igcref.c
|
||||
+ $(PSCC) -O0 $(PSO_)igcref.$(OBJ) $(C_) $(PSSRC)igcref.c
|
||||
|
||||
$(PSOBJ)igcstr.$(OBJ) : $(PSSRC)igcstr.c $(GH) $(memory__h)\
|
||||
$(gsmdebug_h) $(gsstruct_h) $(iastate_h) $(igcstr_h)
|
@ -8,7 +8,7 @@ BuildRequires: patchutils >= 0.2.13
|
||||
# Set this to '1' for fontconfig support.
|
||||
%define use_fontconfig 0
|
||||
|
||||
Release: 39.2
|
||||
Release: 40
|
||||
|
||||
License: GPL
|
||||
URL: http://www.ghostscript.com/doc/gnu/
|
||||
@ -82,6 +82,7 @@ Patch50: ghostscript-pagesize.patch
|
||||
Patch51: ghostscript-7.07-fontconfig-rh.patch
|
||||
Patch52: ghostscript-7.07-mixedman.patch
|
||||
Patch53: ghostscript-gcc4.patch
|
||||
Patch54: ghostscript-noopt.patch
|
||||
|
||||
Requires: zlib, libpng, glib2
|
||||
Requires: urw-fonts >= 1.1, ghostscript-fonts
|
||||
@ -503,6 +504,7 @@ from8859_1 man/gs-pcl3.1
|
||||
from8859_1 man/pcl3opts.1
|
||||
%patch52 -p1
|
||||
%patch53 -p1 -b .gcc4
|
||||
%patch54 -p1 -b .noopt
|
||||
for i in man/de/*.1; do from8859_1 "$i"; done
|
||||
|
||||
%build
|
||||
@ -513,8 +515,8 @@ autoconf # The shipped configure script is broken and needs remaking.
|
||||
make
|
||||
cd ..
|
||||
|
||||
make so RPM_OPT_FLAGS="$RPM_OPT_FLAGS -O0" prefix=%{_prefix}
|
||||
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS -O0" prefix=%{_prefix}
|
||||
make so RPM_OPT_FLAGS="$RPM_OPT_FLAGS" prefix=%{_prefix}
|
||||
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" prefix=%{_prefix}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -602,8 +604,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%changelog
|
||||
* Thu Mar 10 2005 Tim Waugh <twaugh@redhat.com> 7.07-39.2
|
||||
- Try building gs with -O0.
|
||||
* Thu Mar 10 2005 Tim Waugh <twaugh@redhat.com> 7.07-40
|
||||
- Build igcrej.c with -O0 to work around bug #150771.
|
||||
|
||||
* Tue Mar 1 2005 Tim Waugh <twaugh@redhat.com> 7.07-39
|
||||
- Rebuilt for new GCC.
|
||||
|
Loading…
Reference in New Issue
Block a user