diff --git a/ghostscript-mini.changes b/ghostscript-mini.changes index dd47109..7d35da6 100644 --- a/ghostscript-mini.changes +++ b/ghostscript-mini.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sun Sep 28 18:00:37 CEST 2014 - ro@suse.de + +- readd ppc64le patch ppc64le-support.patch (adapted for lcms2 in + Ghostscript version 9.15): the tests in lcms2.h cannot work + without "include " that is now added and + regardless that lcms is not used by default (unless the + configure option --with-lcms is set), lcms is again fixed + (see http://bugs.ghostscript.com/show_bug.cgi?id=695544). + ------------------------------------------------------------------- Tue Sep 23 10:14:28 CEST 2014 - jsmeix@suse.de diff --git a/ghostscript-mini.spec b/ghostscript-mini.spec index 0d6235a..cd4b4fc 100644 --- a/ghostscript-mini.spec +++ b/ghostscript-mini.spec @@ -65,6 +65,10 @@ Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.t # 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 +# lcms2 has been fixed upstream not working and lcms has not been fixed +# see http://bugs.ghostscript.com/show_bug.cgi?id=695544 +Patch11: ppc64le-support.patch # # Source100...Source999 is for sources from SUSE which are not intended for upstream: # @@ -119,7 +123,7 @@ a link to its matching ghostscript "parent" package. Only that ghostscript package must contain all sources and any changes must happen only for that ghostscript package. This means any changes for the ghostscript-mini -package will be rejected in the openSUSE build service. +package will be rejected in the openSUSE build service. %package devel Summary: Development files for Minimal Ghostscript @@ -137,6 +141,10 @@ This package contains the development files for Minimal Ghostscript. # Be quiet when unpacking and # use a directory name matching Source0 to make it work also for ghostscript-mini: %setup -q -n ghostscript-%{tarball_version} +# Patch11 ppc64le-support.patch is a remainder of the previous patch +# lcms2 has been fixed upstream not working and lcms has not been fixed +# see http://bugs.ghostscript.com/show_bug.cgi?id=695544 +%patch11 -p1 %build # Set our preferred architecture-specific flags for the compiler and linker: diff --git a/ghostscript.changes b/ghostscript.changes index a427713..848a0b3 100644 --- a/ghostscript.changes +++ b/ghostscript.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sun Sep 28 18:00:37 CEST 2014 - ro@suse.de + +- readd ppc64le patch ppc64le-support.patch (adapted for lcms2 in + Ghostscript version 9.15): the tests in lcms2.h cannot work + without "include " that is now added and + regardless that lcms is not used by default (unless the + configure option --with-lcms is set), lcms is again fixed + (see http://bugs.ghostscript.com/show_bug.cgi?id=695544). + ------------------------------------------------------------------- Tue Sep 23 10:14:28 CEST 2014 - jsmeix@suse.de diff --git a/ghostscript.spec b/ghostscript.spec index 8571707..8c99a8e 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -71,6 +71,10 @@ Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.t # 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 +# lcms2 has been fixed upstream not working and lcms has not been fixed +# see http://bugs.ghostscript.com/show_bug.cgi?id=695544 +Patch11: ppc64le-support.patch # # Source100...Source999 is for sources from SUSE which are not intended for upstream: # @@ -260,6 +264,10 @@ This package contains the development files for Ghostscript. # Be quiet when unpacking and # use a directory name matching Source0 to make it work also for ghostscript-mini: %setup -q -n ghostscript-%{tarball_version} +# Patch11 ppc64le-support.patch is a remainder of the previous patch +# lcms2 has been fixed upstream not working and lcms has not been fixed +# see http://bugs.ghostscript.com/show_bug.cgi?id=695544 +%patch11 -p1 %build # Set our preferred architecture-specific flags for the compiler and linker: diff --git a/ppc64le-support.patch b/ppc64le-support.patch new file mode 100644 index 0000000..b3e65df --- /dev/null +++ b/ppc64le-support.patch @@ -0,0 +1,28 @@ +--- ghostscript-9.15/lcms/include/lcms.h ++++ ghostscript-9.15/lcms/include/lcms.h +@@ -140,11 +140,15 @@ + #endif + + #if defined(__sgi__) || defined(__sgi) || defined(__powerpc__) || defined(sparc) || defined(__ppc__) || defined(__s390__) || defined(__s390x__) ++# ifndef __LITTLE_ENDIAN__ + # define USE_BIG_ENDIAN 1 ++# endif + #endif + + #if TARGET_CPU_PPC ++# ifndef __LITTLE_ENDIAN__ + # define USE_BIG_ENDIAN 1 ++# endif + #endif + + #if macintosh +--- ghostscript-9.15/lcms2/include/lcms2.h ++++ ghostscript-9.15/lcms2/include/lcms2.h +@@ -67,6 +67,7 @@ + #include + #include + #include ++#include + + #ifndef CMS_USE_CPP_API + # ifdef __cplusplus