diff options
author | jschauma <jschauma@pkgsrc.org> | 2002-10-08 22:57:37 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2002-10-08 22:57:37 +0000 |
commit | 1d480d643c7a92ab3b03eada969416c4928d7aae (patch) | |
tree | 22258cd994c2fa223432fc9d03aa4ad8fc801e20 /graphics/lcms | |
parent | 6d56f4a0e0bf33cc1df1c1c16a9e33886a4a0c91 (diff) | |
download | pkgsrc-1d480d643c7a92ab3b03eada969416c4928d7aae.tar.gz |
Linux also uses u_int64_t, not uint64_t; thus patch accordingly.
Diffstat (limited to 'graphics/lcms')
-rw-r--r-- | graphics/lcms/distinfo | 4 | ||||
-rw-r--r-- | graphics/lcms/patches/patch-ab | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/graphics/lcms/distinfo b/graphics/lcms/distinfo index d6fdd889890..8ee9f5d35f6 100644 --- a/graphics/lcms/distinfo +++ b/graphics/lcms/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.7 2002/08/25 18:39:15 jlam Exp $ +$NetBSD: distinfo,v 1.8 2002/10/08 22:57:37 jschauma Exp $ SHA1 (lcms-1.06.tar.gz) = 3c9e99eb50598a0346c07fb1cacbf6cc4841001b Size (lcms-1.06.tar.gz) = 644116 bytes SHA1 (patch-aa) = 52102849563445b39eb8e504e9c6001af84bdbd5 -SHA1 (patch-ab) = a1b7b2bcc710b9671bc082ddda981b5a6cd5c5b8 +SHA1 (patch-ab) = 532e2e9f2a31e43bd14e26966db64079575e6015 diff --git a/graphics/lcms/patches/patch-ab b/graphics/lcms/patches/patch-ab index 27dead078a7..45315b31d2b 100644 --- a/graphics/lcms/patches/patch-ab +++ b/graphics/lcms/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.7 2002/08/25 18:39:15 jlam Exp $ +$NetBSD: patch-ab,v 1.8 2002/10/08 22:57:38 jschauma Exp $ --- source/cmsmtrx.c.orig Thu May 18 23:08:13 2000 +++ source/cmsmtrx.c Tue May 14 22:38:58 2002 @@ -31,6 +31,7 @@ @@ -21,7 +21,7 @@ $NetBSD: patch-ab,v 1.7 2002/08/25 18:39:15 jlam Exp $ #ifdef USE_INT64 - __int64 l = (__int64) a * b + 0x8000i64; -+#if (defined(BSD) && BSD >= 199506) ++#if (defined(BSD) && BSD >= 199506) || defined(linux) + u_int64_t l = (u_int64_t) a * b + (u_int64_t)0x8000; +#else + uint64_t l = (uint64_t) a * b + (uint64_t)0x8000; |