Apply the patch.
This commit is contained in:
parent
3e4c6fe3b7
commit
89ab42c26f
@ -19,6 +19,7 @@ Patch2: ghostscript-scripts.patch
|
|||||||
Patch3: ghostscript-noopt.patch
|
Patch3: ghostscript-noopt.patch
|
||||||
Patch4: ghostscript-fPIC.patch
|
Patch4: ghostscript-fPIC.patch
|
||||||
Patch5: http://www.openprinting.org/download/printing/esp-gpl-ghostscript-merge/ghostscript-8.57-ijs-krgb.patch
|
Patch5: http://www.openprinting.org/download/printing/esp-gpl-ghostscript-merge/ghostscript-8.57-ijs-krgb.patch
|
||||||
|
Patch6: ghostscript-runlibfileifexists.patch
|
||||||
|
|
||||||
Requires: urw-fonts >= 1.1, ghostscript-fonts
|
Requires: urw-fonts >= 1.1, ghostscript-fonts
|
||||||
BuildRequires: libjpeg-devel, libXt-devel
|
BuildRequires: libjpeg-devel, libXt-devel
|
||||||
@ -87,6 +88,9 @@ A GTK-enabled version of Ghostscript, called 'gsx'.
|
|||||||
# IJS KRGB patch.
|
# IJS KRGB patch.
|
||||||
%patch5 -p1 -b .ijs-krgb
|
%patch5 -p1 -b .ijs-krgb
|
||||||
|
|
||||||
|
# Define .runlibfileifexists.
|
||||||
|
%patch6 -p1 -b .runlibfileifexists
|
||||||
|
|
||||||
# Convert manual pages to UTF-8
|
# Convert manual pages to UTF-8
|
||||||
from8859_1() {
|
from8859_1() {
|
||||||
iconv -f iso-8859-1 -t utf-8 < "$1" > "${1}_"
|
iconv -f iso-8859-1 -t utf-8 < "$1" > "${1}_"
|
||||||
|
Loading…
Reference in New Issue
Block a user