diff options
author | wiz <wiz@pkgsrc.org> | 2010-03-08 10:53:05 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2010-03-08 10:53:05 +0000 |
commit | 8b29b9e27ef4429ef164d2bac7917d3e80d012ae (patch) | |
tree | 30779385628e767eae0bbdadf86b6458e271cbbc /devel | |
parent | 454b23b45b71dca23e008d437e4e93e92dd7b9ac (diff) | |
download | pkgsrc-8b29b9e27ef4429ef164d2bac7917d3e80d012ae.tar.gz |
Fix build on 64bit platforms.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/prcs/distinfo | 3 | ||||
-rw-r--r-- | devel/prcs/patches/patch-ad | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/prcs/distinfo b/devel/prcs/distinfo index 02f4a3680b3..44bc410d632 100644 --- a/devel/prcs/distinfo +++ b/devel/prcs/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.8 2006/07/17 17:55:43 wiz Exp $ +$NetBSD: distinfo,v 1.9 2010/03/08 10:53:05 wiz Exp $ SHA1 (prcs-1.3.3.tar.gz) = 0f1770289ee4e9e8028c1aee9e19fd4fae8d2da6 RMD160 (prcs-1.3.3.tar.gz) = 85d90b12eb7e00585f1fd880939ee01642293b4e @@ -6,3 +6,4 @@ Size (prcs-1.3.3.tar.gz) = 907482 bytes SHA1 (patch-aa) = 46cfb535d79cce8b337dc28d1c421db8676e3d69 SHA1 (patch-ab) = d13c14c776fc4abab32b50f1fca82469e9dfd855 SHA1 (patch-ac) = 3325292dc27785dc01beaa6586b23ced6cbc4c42 +SHA1 (patch-ad) = 4356ab5828e3e09b257d145649b2db1855de55d1 diff --git a/devel/prcs/patches/patch-ad b/devel/prcs/patches/patch-ad new file mode 100644 index 00000000000..dae9978eb1f --- /dev/null +++ b/devel/prcs/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2010/03/08 10:53:05 wiz Exp $ + +--- src/hash.cc.orig 2004-05-10 00:40:55.000000000 +0000 ++++ src/hash.cc +@@ -144,7 +144,7 @@ int hash(const unsigned int& x, int M) + + int hash(FileEntry*const& x, int M) + { +- return (unsigned int)x % M; ++ return (unsigned int)(unsigned long)x % M; + } + + #define generic template<class Key, class Data> |