8230e651e6
- 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
29 lines
689 B
Diff
29 lines
689 B
Diff
--- 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
|