diff options
author | tv <tv> | 2007-01-09 21:03:02 +0000 |
---|---|---|
committer | tv <tv> | 2007-01-09 21:03:02 +0000 |
commit | 38a150e84863b770046ed91768c13179169cd65f (patch) | |
tree | 02933601c550ca676ce6768404e1750bad51bb75 /print/ghostscript | |
parent | 3a6915fa6f2509a04d5b2a3e4a8b4fd9216ece58 (diff) | |
download | pkgsrc-38a150e84863b770046ed91768c13179169cd65f.tar.gz |
Define uint64_t to u_int64_t on Interix.
There actually is an autoconf test in ghostscript for a 64-bit int, used
for GX_COLOR_INDEX_TYPE, but the fallback for that is "ulong", not
necessarily 64 bits. So to make gdevpdfe.c happy for now, force the issue.
Diffstat (limited to 'print/ghostscript')
-rw-r--r-- | print/ghostscript/hacks.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/print/ghostscript/hacks.mk b/print/ghostscript/hacks.mk new file mode 100644 index 00000000000..c789f930866 --- /dev/null +++ b/print/ghostscript/hacks.mk @@ -0,0 +1,11 @@ +# $NetBSD: hacks.mk,v 1.1 2007/01/09 21:03:02 tv Exp $ + +### [Tue Jan 9 15:57:05 EST 2007 : tv] +### Interix has u_int64_t, but not uint64_t +### (gdevpdfe.c doesn't use the autoconf test based int64 type, +### but absolutely requires a 64-bit unsigned int) +### +.if ${OPSYS} == "Interix" +PKG_HACKS+= interix-uint64_t +CPPFLAGS.Interix+= -Duint64_t=u_int64_t +.endif |