Mercurial > gub
changeset 6398:3622fffbaeb7
Fix building ghostscript on 32 bit GUB environment
In cross compiling on 64 bit hosts,
genconf generated arch.h's
ARCH_SIZEOF_GX_COLOR_INDEX is 8 (unsigned long).
configure generated
GX_COLOR_INDEX is 8 (unsigned long long).
In cross compiling on 32 bit hosts,
genconf generated arch.h's
ARCH_SIZEOF_GX_COLOR_INDEX is 4 (unsigned long).
configure genarated
GX_COLOR_INDEX is 8 (unsigned long long).
author | Masamichi Hosoda <trueroad@users.noreply.github.com> |
---|---|
date | Sun, 29 Mar 2015 23:01:46 +0900 |
parents | 754346b9dc1d |
children | 0140e01f745f |
files | gub/specs/ghostscript.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/specs/ghostscript.py Tue Mar 24 22:59:38 2015 +0900 +++ b/gub/specs/ghostscript.py Sun Mar 29 23:01:46 2015 +0900 @@ -167,6 +167,8 @@ '#define ARCH_LOG2_SIZEOF_LONG %(log2_sizeof_long)d' % locals ()), ('#define ARCH_SIZEOF_PTR [0-9]', '#define ARCH_SIZEOF_PTR %(sizeof_ptr)d' % locals ()), + ('#define ARCH_SIZEOF_GX_COLOR_INDEX [0-9]', + '#define ARCH_SIZEOF_GX_COLOR_INDEX 8'), ], '%(builddir)s/%(obj)s/arch.h') def configure (self):