diff --git a/ghostscript-mini.changes b/ghostscript-mini.changes index 3ccee9a..37db2ac 100644 --- a/ghostscript-mini.changes +++ b/ghostscript-mini.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Oct 30 11:28:14 CET 2015 - jsmeix@suse.de + +- install_gserrors.h.patch installs gserrors.h to fix + http://bugs.ghostscript.com/show_bug.cgi?id=696301 + because without gserrors.h several other packages fail to build + (in particular texlive, libspectre, gimp,...). + ------------------------------------------------------------------- Mon Oct 12 10:26:52 CEST 2015 - jsmeix@suse.de diff --git a/ghostscript-mini.spec b/ghostscript-mini.spec index 91933e2..c820269 100644 --- a/ghostscript-mini.spec +++ b/ghostscript-mini.spec @@ -68,6 +68,12 @@ Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.t # so that they also work when -dFirstPage/-dLastPage is used, # see http://bugs.ghostscript.com/show_bug.cgi?id=696246 Patch1: fix_ijs_and_x11_for_FirstPage_and_LastPage.patch +# Patch2 install_gserrors.h.patch +# installs gserrors.h to fix +# http://bugs.ghostscript.com/show_bug.cgi?id=696301 +# because without gserrors.h several other packages fail to build +# (in particular texlive, libspectre, gimp,...) +Patch2: install_gserrors.h.patch # Source10...Source99 is for sources from SUSE which are intended for upstream: # Patch10...Patch99 is for patches from SUSE which are intended for upstream: # Patch11 ppc64le-support.patch is a remainder of the previous patch @@ -150,6 +156,12 @@ This package contains the development files for Minimal Ghostscript. # so that they also work when -dFirstPage/-dLastPage is used, # see http://bugs.ghostscript.com/show_bug.cgi?id=696246 %patch1 -b fix_ijs_and_x11_for_FirstPage_and_LastPage.orig +# Patch2 install_gserrors.h.patch +# installs gserrors.h to fix +# http://bugs.ghostscript.com/show_bug.cgi?id=696301 +# because without gserrors.h several other packages fail to build +# (in particular texlive, libspectre, gimp,...) +%patch2 -b install_gserrors.h.orig # Patch11 ppc64le-support.patch is a remainder of the previous patch # now the hunk for LCMS (lcms/include/lcms.h) is removed # because LCMS 1.x is removed since Ghostscript 9.16 diff --git a/ghostscript.changes b/ghostscript.changes index 5793f16..06aa83f 100644 --- a/ghostscript.changes +++ b/ghostscript.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Fri Oct 30 11:28:14 CET 2015 - jsmeix@suse.de + +- install_gserrors.h.patch installs gserrors.h to fix + http://bugs.ghostscript.com/show_bug.cgi?id=696301 + because without gserrors.h several other packages fail to build + (in particular texlive, libspectre, gimp,...). + ------------------------------------------------------------------- Mon Oct 12 10:26:52 CEST 2015 - jsmeix@suse.de diff --git a/ghostscript.spec b/ghostscript.spec index 088a745..15b7c1b 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -88,6 +88,12 @@ Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.t # so that they also work when -dFirstPage/-dLastPage is used, # see http://bugs.ghostscript.com/show_bug.cgi?id=696246 Patch1: fix_ijs_and_x11_for_FirstPage_and_LastPage.patch +# Patch2 install_gserrors.h.patch +# installs gserrors.h to fix +# http://bugs.ghostscript.com/show_bug.cgi?id=696301 +# because without gserrors.h several other packages fail to build +# (in particular texlive, libspectre, gimp,...) +Patch2: install_gserrors.h.patch # Source10...Source99 is for sources from SUSE which are intended for upstream: # Patch10...Patch99 is for patches from SUSE which are intended for upstream: # Patch11 ppc64le-support.patch is a remainder of the previous patch @@ -287,6 +293,12 @@ This package contains the development files for Ghostscript. # so that they also work when -dFirstPage/-dLastPage is used, # see http://bugs.ghostscript.com/show_bug.cgi?id=696246 %patch1 -b fix_ijs_and_x11_for_FirstPage_and_LastPage.orig +# Patch2 install_gserrors.h.patch +# installs gserrors.h to fix +# http://bugs.ghostscript.com/show_bug.cgi?id=696301 +# because without gserrors.h several other packages fail to build +# (in particular texlive, libspectre, gimp,...) +%patch2 -b install_gserrors.h.orig # Patch11 ppc64le-support.patch is a remainder of the previous patch # now the hunk for LCMS (lcms/include/lcms.h) is removed # because LCMS 1.x is removed since Ghostscript 9.16 diff --git a/install_gserrors.h.patch b/install_gserrors.h.patch new file mode 100644 index 0000000..14aa773 --- /dev/null +++ b/install_gserrors.h.patch @@ -0,0 +1,10 @@ +--- base/unix-dll.mak.orig 2015-10-05 10:21:11.000000000 +0200 ++++ base/unix-dll.mak 2015-10-30 11:22:12.000000000 +0100 +@@ -184,6 +184,7 @@ install-so-subtarget: so-subtarget + ln -s $(GS_SONAME_MAJOR_MINOR) $(DESTDIR)$(libdir)/$(GS_SONAME_MAJOR) + $(INSTALL_DATA) $(PSSRC)iapi.h $(DESTDIR)$(gsincludedir)iapi.h + $(INSTALL_DATA) $(PSSRC)ierrors.h $(DESTDIR)$(gsincludedir)ierrors.h ++ $(INSTALL_DATA) $(GLSRC)gserrors.h $(DESTDIR)$(gsincludedir)gserrors.h + $(INSTALL_DATA) $(DEVSRC)gdevdsp.h $(DESTDIR)$(gsincludedir)gdevdsp.h + + soinstall: