diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-08 18:46:48 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-08 18:46:48 +0000 |
commit | ca054fc179f02a44dc1bc23f934bbf64d7d4fd60 (patch) | |
tree | 5650812e46381817185993545ab65ab71b08fcee /graphics/ivtools | |
parent | 68d236b5e0b67e37b7d1f5e813a023e788e8ff97 (diff) | |
download | pkgsrc-ca054fc179f02a44dc1bc23f934bbf64d7d4fd60.tar.gz |
Fix LP64 build.
Diffstat (limited to 'graphics/ivtools')
-rw-r--r-- | graphics/ivtools/distinfo | 3 | ||||
-rw-r--r-- | graphics/ivtools/patches/patch-bd | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/graphics/ivtools/distinfo b/graphics/ivtools/distinfo index 96e20c0f39a..2de978cbe96 100644 --- a/graphics/ivtools/distinfo +++ b/graphics/ivtools/distinfo @@ -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-az) = ec58b1583cf750031c848d0455250226f3d54d99 SHA1 (patch-ba) = bcc98482672d9c1642dd108fbecec16627d43345 SHA1 (patch-bb) = 8221a722579cc8921cd71e9ff8aedbf73a938e0b SHA1 (patch-bc) = be65c4c37689880cb66de15efd27ab2fa77d76d0 +SHA1 (patch-bd) = c4cd942bbabf48df7919b83de6a6cef85eb9d2b3 diff --git a/graphics/ivtools/patches/patch-bd b/graphics/ivtools/patches/patch-bd new file mode 100644 index 00000000000..f8f6e43d3b7 --- /dev/null +++ b/graphics/ivtools/patches/patch-bd @@ -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: |