summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2011-02-22 15:48:45 +0000
committerarved <arved@FreeBSD.org>2011-02-22 15:48:45 +0000
commitbc45b1f0f8c22db574acc4b298141bddf7b2bc44 (patch)
treea79cb0bb2ad5c2feae880cfa437c255bc42266db
parentfc211fe22a51d30334f3029c9c445f3e3aba06be (diff)
downloadFreeBSD-ports-bc45b1f0f8c22db574acc4b298141bddf7b2bc44.zip
FreeBSD-ports-bc45b1f0f8c22db574acc4b298141bddf7b2bc44.tar.gz
Fix a coredump when tagging a release
PR: 153874 Submitted by: Dan Mahoney <dmahoney@isc.org> Approved by: maintainer timeout
-rw-r--r--devel/cvs-devel/Makefile2
-rw-r--r--devel/cvs-devel/files/patch-src-myndbm.c14
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/cvs-devel/Makefile b/devel/cvs-devel/Makefile
index a2f216b..b65cee3 100644
--- a/devel/cvs-devel/Makefile
+++ b/devel/cvs-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= cvs
PORTVERSION= 1.12.13
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= devel ipv6
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= non-gnu/${PORTNAME}/source/feature/${PORTVERSION}
diff --git a/devel/cvs-devel/files/patch-src-myndbm.c b/devel/cvs-devel/files/patch-src-myndbm.c
new file mode 100644
index 0000000..2d8c15a
--- /dev/null
+++ b/devel/cvs-devel/files/patch-src-myndbm.c
@@ -0,0 +1,14 @@
+--- /src/myndbm.c.orig 2011-01-10 23:53:25.000000000 +0000
++++ src/myndbm.c 2011-01-10 23:53:33.000000000 +0000
+@@ -213,7 +213,7 @@
+ mydbm_load_file (FILE *fp, List *list, char *filename)
+ {
+ char *line = NULL;
+- size_t line_size;
++ size_t line_size = 0;
+ char *value;
+ size_t value_allocated;
+ char *cp, *vp;
+
+
+
OpenPOWER on IntegriCloud