From 2c2c5b1f48bd1a3ffff20e5b1d476f3b50f3dc85 Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 9 May 2019 21:31:29 -0400 Subject: ghostscript: work around ghostscript's incomplete support of cross-compilation. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Lucio Andrés Illanes Albornoz --- patches/ghostscript-9.26.local.patch | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) (limited to 'patches') diff --git a/patches/ghostscript-9.26.local.patch b/patches/ghostscript-9.26.local.patch index b38b40c7..e674d312 100644 --- a/patches/ghostscript-9.26.local.patch +++ b/patches/ghostscript-9.26.local.patch @@ -22,3 +22,35 @@ diff -ru ghostscript-9.26.orig/devices/devs.mak ghostscript-9.26/devices/devs.ma $(DD)x11_.dev : $(x11_) $(GLD)bboxutil.dev $(GDEV) $(DEVS_MAK) $(MAKEDIRS) $(SETMOD) $(DD)x11_ $(x11_) $(ADDMOD) $(DD)x11_ -link $(XLIBDIRS) +--- /dev/null 2019-05-07 18:48:18.199999973 -0400 ++++ ghostscript-9.26/arch/x86_64-nt64-midipix.h 2019-05-09 22:02:33.196268736 -0400 +@@ -0,0 +1,29 @@ ++#define ARCH_ALIGN_SHORT_MOD 2 ++#define ARCH_ALIGN_INT_MOD 4 ++#define ARCH_ALIGN_LONG_MOD 8 ++#define ARCH_ALIGN_PTR_MOD 8 ++#define ARCH_ALIGN_FLOAT_MOD 4 ++#define ARCH_ALIGN_DOUBLE_MOD 8 ++ ++#define ARCH_LOG2_SIZEOF_CHAR 0 ++#define ARCH_LOG2_SIZEOF_SHORT 1 ++#define ARCH_LOG2_SIZEOF_INT 2 ++#define ARCH_LOG2_SIZEOF_LONG 3 ++#define ARCH_LOG2_SIZEOF_LONG_LONG 3 ++#define ARCH_SIZEOF_GX_COLOR_INDEX 8 ++#define ARCH_SIZEOF_PTR 8 ++#define ARCH_SIZEOF_FLOAT 4 ++#define ARCH_SIZEOF_DOUBLE 8 ++#define ARCH_FLOAT_MANTISSA_BITS 24 ++#define ARCH_DOUBLE_MANTISSA_BITS 53 ++ ++#define ARCH_MAX_UCHAR ((unsigned char)0xff + (unsigned char)0) ++#define ARCH_MAX_USHORT ((unsigned short)0xffff + (unsigned short)0) ++#define ARCH_MAX_UINT ((unsigned int)~0 + (unsigned int)0) ++#define ARCH_MAX_ULONG ((unsigned long)~0L + (unsigned long)0) ++ ++#define ARCH_IS_BIG_ENDIAN 0 ++#define ARCH_PTRS_ARE_SIGNED 0 ++#define ARCH_FLOATS_ARE_IEEE 1 ++#define ARCH_ARITH_RSHIFT 2 ++#define ARCH_DIV_NEG_POS_TRUNCATES 1 -- cgit v1.2.3