- Build igcref.c with -O0 to work around bug #150771.
This commit is contained in:
parent
54036770ba
commit
d097bf87e7
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)
|
@ -18,6 +18,7 @@ Patch3: ghostscript-scripts.patch
|
||||
Patch4: ghostscript-ps2epsi.patch
|
||||
Patch5: ghostscript-badc.patch
|
||||
Patch6: ghostscript-pagesize.patch
|
||||
Patch7: ghostscript-noopt.patch
|
||||
|
||||
Requires: zlib, libpng, glib2
|
||||
Requires: urw-fonts >= 1.1, ghostscript-fonts
|
||||
@ -85,6 +86,9 @@ A GTK-enabled version of Ghostscript, called 'gsx'.
|
||||
# Prevent pdf2ps generating "null setpagesize" (bug #126446).
|
||||
%patch6 -p1 -b .pagesize
|
||||
|
||||
# Build igcref.c with -O0 to work around bug #150771.
|
||||
%patch7 -p1 -b .noopt
|
||||
|
||||
# Convert manual pages to UTF-8
|
||||
from8859_1() {
|
||||
iconv -f iso-8859-1 -t utf-8 < "$1" > "${1}_"
|
||||
@ -213,6 +217,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%changelog
|
||||
* Mon Jun 6 2005 Tim Waugh <twaugh@redhat.com>
|
||||
- Build igcref.c with -O0 to work around bug #150771.
|
||||
- Renumber patches.
|
||||
|
||||
* Fri Jun 3 2005 Tim Waugh <twaugh@redhat.com> 8.15-0.rc3.1
|
||||
|
Loading…
Reference in New Issue
Block a user