summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2002-07-03 10:59:47 +0000
committerjdolecek <jdolecek@pkgsrc.org>2002-07-03 10:59:47 +0000
commit53b4c620db7abe8e012d021d0fdacaff69ca78cc (patch)
treee8fb5467c7c360d9945489f1a50b42632481b928 /devel
parent35e121ca9eaf1addad82edf6d23e53f7efbc6c29 (diff)
downloadpkgsrc-53b4c620db7abe8e012d021d0fdacaff69ca78cc.tar.gz
Fix one place in rvm library where code implicitly assumed malloc()
returns zeroed data. Discovered by using MALLOC_OPTIONS=J. coda-server's vice-setup-rvm runs to completition for me with this patch finally! bump pkg revision to nb1
Diffstat (limited to 'devel')
-rw-r--r--devel/rvm/Makefile3
-rw-r--r--devel/rvm/distinfo3
-rw-r--r--devel/rvm/patches/patch-ab13
3 files changed, 17 insertions, 2 deletions
diff --git a/devel/rvm/Makefile b/devel/rvm/Makefile
index 01b7ada8e05..a8c93dfd970 100644
--- a/devel/rvm/Makefile
+++ b/devel/rvm/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2002/06/20 19:28:14 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2002/07/03 10:59:47 jdolecek Exp $
#
DISTNAME= rvm-1.6
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://ftp.coda.cs.cmu.edu/pub/rvm/src/ \
ftp://ftp.wu-wien.ac.at/pub/systems/coda/src/
diff --git a/devel/rvm/distinfo b/devel/rvm/distinfo
index b4745f4d839..dbb0e196ebb 100644
--- a/devel/rvm/distinfo
+++ b/devel/rvm/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2002/06/20 19:28:15 jlam Exp $
+$NetBSD: distinfo,v 1.5 2002/07/03 10:59:47 jdolecek Exp $
SHA1 (rvm-1.6.tar.gz) = d6b27b37601d5d1666f3956feb6582c3cb6b1d99
Size (rvm-1.6.tar.gz) = 374944 bytes
SHA1 (patch-aa) = c8faef5459fd5ab06293b8131ec9f41451e63bc5
+SHA1 (patch-ab) = 4bfdc161700e8adcf56e25ed535d6a95b77c7e1c
diff --git a/devel/rvm/patches/patch-ab b/devel/rvm/patches/patch-ab
new file mode 100644
index 00000000000..c23c3cc46db
--- /dev/null
+++ b/devel/rvm/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2002/07/03 10:59:48 jdolecek Exp $
+
+--- rvm/rvm_utils.c.orig Wed Jul 3 12:39:26 2002
++++ rvm/rvm_utils.c Wed Jul 3 12:40:30 2002
+@@ -106,7 +106,7 @@ static list_entry_t *malloc_list_entry(i
+
+ /* allocate the element */
+ cell = (list_entry_t *)
+- malloc((unsigned)cache_type_sizes[ID_INDEX(id)]);
++ calloc(1, (unsigned)cache_type_sizes[ID_INDEX(id)]);
+ assert(cell != NULL);
+ type_counts[ID_INDEX(id)] ++; /* count allocations */
+