diff options
author | dholland <dholland@pkgsrc.org> | 2009-11-30 01:28:45 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2009-11-30 01:28:45 +0000 |
commit | 7a0bd4225c446852224a80c2303229ff44482942 (patch) | |
tree | 50007b6e5e3e9138cfd42d167a92d400aec7d486 /www | |
parent | ef68c239b0ca8080a12e91ae58a6808b2ea3b8de (diff) | |
download | pkgsrc-7a0bd4225c446852224a80c2303229ff44482942.tar.gz |
Fix broken LP64 build.
Diffstat (limited to 'www')
-rw-r--r-- | www/htdig/distinfo | 3 | ||||
-rw-r--r-- | www/htdig/patches/patch-aj | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/www/htdig/distinfo b/www/htdig/distinfo index 58b6fe3c2b2..aea0757bcce 100644 --- a/www/htdig/distinfo +++ b/www/htdig/distinfo @@ -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-af) = f9c83efb788cb735f42df606ee451324795140d6 SHA1 (patch-ag) = d3c0c1b043e27706834aecf7ac0b07651ed5b438 SHA1 (patch-ah) = e4df51f19717527c3a368cdcaffb4f3c8e7be521 SHA1 (patch-ai) = 123411dbd3cd53a8765f1130299873eb1aa91389 +SHA1 (patch-aj) = 1f661df74cbf2661737b0c76f8b04e04325909ca diff --git a/www/htdig/patches/patch-aj b/www/htdig/patches/patch-aj new file mode 100644 index 00000000000..8133a482931 --- /dev/null +++ b/www/htdig/patches/patch-aj @@ -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])) + { |