Accepting request 211260 from openSUSE:Factory:PowerLE
- ppc64le-support.patch: Support powerpc64le-linux. OBS-URL: https://build.opensuse.org/request/show/211260 OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=33
This commit is contained in:
parent
c76c978626
commit
5588774d21
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 13 19:09:12 UTC 2013 - uweigand@de.ibm.com
|
||||
|
||||
- ppc64le-support.patch: Support powerpc64le-linux.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 3 16:26:46 CEST 2013 - jsmeix@suse.de
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: ghostscript-mini
|
||||
BuildRequires: freetype2-devel
|
||||
BuildRequires: libpng-devel
|
||||
@ -59,6 +60,7 @@ 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:
|
||||
Patch10: ppc64le-support.patch
|
||||
#
|
||||
# Source100...Source999 is for sources from SUSE which are not intended for upstream:
|
||||
#
|
||||
@ -131,6 +133,7 @@ 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}
|
||||
%patch10 -p1
|
||||
|
||||
%build
|
||||
# Set our preferred architecture-specific flags for the compiler and linker:
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 13 19:09:12 UTC 2013 - uweigand@de.ibm.com
|
||||
|
||||
- ppc64le-support.patch: Support powerpc64le-linux.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 3 16:26:46 CEST 2013 - jsmeix@suse.de
|
||||
|
||||
|
@ -15,6 +15,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: ghostscript
|
||||
BuildRequires: cups-devel
|
||||
# dbus-1-devel is needed for "configure --enable-dbus" (see below):
|
||||
@ -66,6 +67,7 @@ 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:
|
||||
Patch10: ppc64le-support.patch
|
||||
#
|
||||
# Source100...Source999 is for sources from SUSE which are not intended for upstream:
|
||||
#
|
||||
@ -245,6 +247,7 @@ 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}
|
||||
%patch10 -p1
|
||||
|
||||
%build
|
||||
# Set our preferred architecture-specific flags for the compiler and linker:
|
||||
|
48
ppc64le-support.patch
Normal file
48
ppc64le-support.patch
Normal file
@ -0,0 +1,48 @@
|
||||
Index: ghostscript-9.10/lcms/include/lcms.h
|
||||
===================================================================
|
||||
--- ghostscript-9.10.orig/lcms/include/lcms.h
|
||||
+++ ghostscript-9.10/lcms/include/lcms.h
|
||||
@@ -140,11 +140,15 @@ typedef pthread_rwlock_t LCMS_RW
|
||||
#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
|
||||
Index: ghostscript-9.10/lcms2/include/lcms2.h
|
||||
===================================================================
|
||||
--- ghostscript-9.10.orig/lcms2/include/lcms2.h
|
||||
+++ ghostscript-9.10/lcms2/include/lcms2.h
|
||||
@@ -178,17 +178,23 @@ typedef int cmsBool;
|
||||
#endif
|
||||
|
||||
#if defined(__sgi__) || defined(__sgi) || defined(__powerpc__) || defined(sparc)
|
||||
+# ifndef __LITTLE_ENDIAN__
|
||||
# define CMS_USE_BIG_ENDIAN 1
|
||||
+# endif
|
||||
#endif
|
||||
|
||||
#if defined(__ppc__) || defined(__s390__) || defined(__s390x__)
|
||||
+# ifndef __LITTLE_ENDIAN__
|
||||
# define CMS_USE_BIG_ENDIAN 1
|
||||
+# endif
|
||||
#endif
|
||||
|
||||
#ifdef TARGET_CPU_PPC
|
||||
# if TARGET_CPU_PPC
|
||||
+# ifndef __LITTLE_ENDIAN__
|
||||
# define CMS_USE_BIG_ENDIAN 1
|
||||
# endif
|
||||
+# endif
|
||||
#endif
|
||||
|
||||
#ifdef macintosh
|
Loading…
Reference in New Issue
Block a user