pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/ghostscript Define uint64_t to u_int64_t on Inte...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/be418868cfbb
branches:  trunk
changeset: 523570:be418868cfbb
user:      tv <tv%pkgsrc.org@localhost>
date:      Tue Jan 09 21:03:02 2007 +0000

description:
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:

 print/ghostscript/hacks.mk |  11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r 1f5422fc9329 -r be418868cfbb print/ghostscript/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/ghostscript/hacks.mk        Tue Jan 09 21:03:02 2007 +0000
@@ -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



Home | Main Index | Thread Index | Old Index