Accepting request 252724 from home:oertel:branches:Printing
- readd ppc64le patch ppc64le-support.patch lcms has not been fixed upstream and lcms2 has been fixed in a broken way - readd ppc64le patch ppc64le-support.patch lcms has not been fixed upstream and lcms2 has been fixed in a broken way OBS-URL: https://build.opensuse.org/request/show/252724 OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=45
This commit is contained in:
parent
e82f1f5be4
commit
8230e651e6
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 28 18:00:37 CEST 2014 - ro@suse.de
|
||||||
|
|
||||||
|
- readd ppc64le patch ppc64le-support.patch
|
||||||
|
lcms has not been fixed upstream and lcms2 has been fixed
|
||||||
|
in a broken way
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 23 10:14:28 CEST 2014 - jsmeix@suse.de
|
Tue Sep 23 10:14:28 CEST 2014 - jsmeix@suse.de
|
||||||
|
|
||||||
|
@ -65,6 +65,9 @@ Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.t
|
|||||||
# Source10...Source99 is for sources from SUSE which are intended for upstream:
|
# Source10...Source99 is for sources from SUSE which are intended for upstream:
|
||||||
#
|
#
|
||||||
# Patch10...Patch99 is for patches from SUSE which are intended for upstream:
|
# Patch10...Patch99 is for patches from SUSE which are intended for upstream:
|
||||||
|
# remainder of the previous patch, lcms2 has been fixed upstream not working
|
||||||
|
# lcms has not been fixed
|
||||||
|
Patch10: ppc64le-support.patch
|
||||||
#
|
#
|
||||||
# Source100...Source999 is for sources from SUSE which are not intended for upstream:
|
# Source100...Source999 is for sources from SUSE which are not intended for upstream:
|
||||||
#
|
#
|
||||||
@ -137,6 +140,8 @@ This package contains the development files for Minimal Ghostscript.
|
|||||||
# Be quiet when unpacking and
|
# Be quiet when unpacking and
|
||||||
# use a directory name matching Source0 to make it work also for ghostscript-mini:
|
# use a directory name matching Source0 to make it work also for ghostscript-mini:
|
||||||
%setup -q -n ghostscript-%{tarball_version}
|
%setup -q -n ghostscript-%{tarball_version}
|
||||||
|
# Patch10 ppc64le-support.patch from IBM fixes endianness in lcms (the Little-CMS library):
|
||||||
|
%patch10 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Set our preferred architecture-specific flags for the compiler and linker:
|
# Set our preferred architecture-specific flags for the compiler and linker:
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 28 18:00:37 CEST 2014 - ro@suse.de
|
||||||
|
|
||||||
|
- readd ppc64le patch ppc64le-support.patch
|
||||||
|
lcms has not been fixed upstream and lcms2 has been fixed
|
||||||
|
in a broken way
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 23 10:14:28 CEST 2014 - jsmeix@suse.de
|
Tue Sep 23 10:14:28 CEST 2014 - jsmeix@suse.de
|
||||||
|
|
||||||
|
@ -71,6 +71,9 @@ Source0: http://downloads.ghostscript.com/public/ghostscript-%{version}.t
|
|||||||
# Source10...Source99 is for sources from SUSE which are intended for upstream:
|
# Source10...Source99 is for sources from SUSE which are intended for upstream:
|
||||||
#
|
#
|
||||||
# Patch10...Patch99 is for patches from SUSE which are intended for upstream:
|
# Patch10...Patch99 is for patches from SUSE which are intended for upstream:
|
||||||
|
# remainder of the previous patch, lcms2 has been fixed upstream not working
|
||||||
|
# lcms has not been fixed
|
||||||
|
Patch10: ppc64le-support.patch
|
||||||
#
|
#
|
||||||
# Source100...Source999 is for sources from SUSE which are not intended for upstream:
|
# Source100...Source999 is for sources from SUSE which are not intended for upstream:
|
||||||
#
|
#
|
||||||
@ -260,6 +263,8 @@ This package contains the development files for Ghostscript.
|
|||||||
# Be quiet when unpacking and
|
# Be quiet when unpacking and
|
||||||
# use a directory name matching Source0 to make it work also for ghostscript-mini:
|
# use a directory name matching Source0 to make it work also for ghostscript-mini:
|
||||||
%setup -q -n ghostscript-%{tarball_version}
|
%setup -q -n ghostscript-%{tarball_version}
|
||||||
|
# Patch10 ppc64le-support.patch from IBM fixes endianness in lcms (the Little-CMS library):
|
||||||
|
%patch10 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Set our preferred architecture-specific flags for the compiler and linker:
|
# Set our preferred architecture-specific flags for the compiler and linker:
|
||||||
|
28
ppc64le-support.patch
Normal file
28
ppc64le-support.patch
Normal file
@ -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 <limits.h>
|
||||||
|
#include <time.h>
|
||||||
|
#include <stddef.h>
|
||||||
|
+#include <endian.h>
|
||||||
|
|
||||||
|
#ifndef CMS_USE_CPP_API
|
||||||
|
# ifdef __cplusplus
|
Loading…
x
Reference in New Issue
Block a user