summaryrefslogtreecommitdiff
path: root/print/ghostscript
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2007-01-09 21:03:02 +0000
committertv <tv@pkgsrc.org>2007-01-09 21:03:02 +0000
commit9176eecb0b7cfc61f82134f47e6a79378d9ce780 (patch)
tree02933601c550ca676ce6768404e1750bad51bb75 /print/ghostscript
parent4e9e3e7ec018271d516b05605c421e1ca88a469e (diff)
downloadpkgsrc-9176eecb0b7cfc61f82134f47e6a79378d9ce780.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.mk11
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