pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/ivtools Fix LP64 build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/878ff86724d6
branches:  trunk
changeset: 569119:878ff86724d6
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Jan 08 18:46:48 2010 +0000

description:
Fix LP64 build.

diffstat:

 graphics/ivtools/distinfo         |   3 ++-
 graphics/ivtools/patches/patch-bd |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r b0b5ca00835c -r 878ff86724d6 graphics/ivtools/distinfo
--- a/graphics/ivtools/distinfo Fri Jan 08 18:12:11 2010 +0000
+++ b/graphics/ivtools/distinfo Fri Jan 08 18:46:48 2010 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.16 2007/06/21 11:55:32 markd Exp $
+$NetBSD: distinfo,v 1.17 2010/01/08 18:46:48 joerg Exp $
 
 SHA1 (ivtools-1.2.4.tgz) = 9c9cbfeedd7692c001b458ce82958428082367a5
 RMD160 (ivtools-1.2.4.tgz) = 88cc853e7a31b56a1968021c86394084ba07a4f4
@@ -32,3 +32,4 @@
 SHA1 (patch-ba) = bcc98482672d9c1642dd108fbecec16627d43345
 SHA1 (patch-bb) = 8221a722579cc8921cd71e9ff8aedbf73a938e0b
 SHA1 (patch-bc) = be65c4c37689880cb66de15efd27ab2fa77d76d0
+SHA1 (patch-bd) = c4cd942bbabf48df7919b83de6a6cef85eb9d2b3
diff -r b0b5ca00835c -r 878ff86724d6 graphics/ivtools/patches/patch-bd
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/ivtools/patches/patch-bd Fri Jan 08 18:46:48 2010 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-bd,v 1.1 2010/01/08 18:46:48 joerg Exp $
+
+--- src/Attribute/attrvalue.c.orig     2010-01-08 18:22:39.000000000 +0000
++++ src/Attribute/attrvalue.c
+@@ -283,7 +283,7 @@ boolean AttributeValue::boolean_val() {
+     case AttributeValue::StringType:
+       return (boolean) int_val()!=-1;
+     case AttributeValue::ObjectType:
+-      return (boolean) obj_val();
++      return (boolean) (uintptr_t)obj_val();
+     case AttributeValue::StreamType:
+       return stream_mode() != 0;
+     default:



Home | Main Index | Thread Index | Old Index