aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cvs-devel
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2011-02-22 23:48:45 +0800
committerarved <arved@FreeBSD.org>2011-02-22 23:48:45 +0800
commitbc45b1f0f8c22db574acc4b298141bddf7b2bc44 (patch)
treea79cb0bb2ad5c2feae880cfa437c255bc42266db /devel/cvs-devel
parentfc211fe22a51d30334f3029c9c445f3e3aba06be (diff)
downloadfreebsd-ports-gnome-bc45b1f0f8c22db574acc4b298141bddf7b2bc44.tar.gz
freebsd-ports-gnome-bc45b1f0f8c22db574acc4b298141bddf7b2bc44.tar.zst
freebsd-ports-gnome-bc45b1f0f8c22db574acc4b298141bddf7b2bc44.zip
Fix a coredump when tagging a release
PR: 153874 Submitted by: Dan Mahoney <dmahoney@isc.org> Approved by: maintainer timeout
Diffstat (limited to 'devel/cvs-devel')
-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 a2f216bb1286..b65cee39bb74 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 000000000000..2d8c15aefdbd
--- /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;
+
+
+