pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/htdig Fix broken LP64 build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/04381b76c4df
branches:  trunk
changeset: 567967:04381b76c4df
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Mon Nov 30 01:28:45 2009 +0000

description:
Fix broken LP64 build.

diffstat:

 www/htdig/distinfo         |   3 ++-
 www/htdig/patches/patch-aj |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 33327029310d -r 04381b76c4df www/htdig/distinfo
--- a/www/htdig/distinfo        Mon Nov 30 01:01:56 2009 +0000
+++ b/www/htdig/distinfo        Mon Nov 30 01:28:45 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2007/01/24 10:25:15 sborrill Exp $
+$NetBSD: distinfo,v 1.7 2009/11/30 01:28:45 dholland Exp $
 
 SHA1 (htdig-3.1.6.tar.gz) = 603fc244ba59ee1efcbe8f2ba087567cb14468d0
 RMD160 (htdig-3.1.6.tar.gz) = 1414943255f16cd278a31b8014a5bfe6c4400ead
@@ -11,3 +11,4 @@
 SHA1 (patch-ag) = d3c0c1b043e27706834aecf7ac0b07651ed5b438
 SHA1 (patch-ah) = e4df51f19717527c3a368cdcaffb4f3c8e7be521
 SHA1 (patch-ai) = 123411dbd3cd53a8765f1130299873eb1aa91389
+SHA1 (patch-aj) = 1f661df74cbf2661737b0c76f8b04e04325909ca
diff -r 33327029310d -r 04381b76c4df www/htdig/patches/patch-aj
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/htdig/patches/patch-aj        Mon Nov 30 01:28:45 2009 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-aj,v 1.1 2009/11/30 01:28:45 dholland Exp $
+
+Fix LP64 build.
+
+--- htdig/SGMLEntities.cc~     2002-01-31 18:47:17.000000000 -0500
++++ htdig/SGMLEntities.cc      2009-11-29 20:30:47.000000000 -0500
+@@ -154,7 +154,7 @@ SGMLEntities::translate(char *entity)
+       return ' ';
+     if (junk.trans->Exists(entity))
+     {
+-      return (unsigned char) ((int) (*junk.trans)[entity]);
++      return (unsigned char) ((int)(intptr_t) (*junk.trans)[entity]);
+     }
+     else if (*entity == '#' && isdigit(entity[1]))
+     {



Home | Main Index | Thread Index | Old Index