aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2009-05-02 02:43:29 +0800
committergahr <gahr@FreeBSD.org>2009-05-02 02:43:29 +0800
commitb8877ae38a0ba24a671a2737d3cbf1985712a234 (patch)
tree4fd4176c10169f8d17be09937b41d9683d6989c2 /devel
parent19cc5f87ac58bc408d926cd33f78cd739084f75d (diff)
downloadfreebsd-ports-gnome-b8877ae38a0ba24a671a2737d3cbf1985712a234.tar.gz
freebsd-ports-gnome-b8877ae38a0ba24a671a2737d3cbf1985712a234.tar.zst
freebsd-ports-gnome-b8877ae38a0ba24a671a2737d3cbf1985712a234.zip
- Update to 15.7a
Diffstat (limited to 'devel')
-rw-r--r--devel/cscope/Makefile2
-rw-r--r--devel/cscope/distinfo6
-rw-r--r--devel/cscope/files/patch-main.c25
3 files changed, 4 insertions, 29 deletions
diff --git a/devel/cscope/Makefile b/devel/cscope/Makefile
index 46862c2a8b5f..850d6afb7164 100644
--- a/devel/cscope/Makefile
+++ b/devel/cscope/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= cscope
-PORTVERSION= 15.7
+PORTVERSION= 15.7a
CATEGORIES= devel
MASTER_SITES= SF
diff --git a/devel/cscope/distinfo b/devel/cscope/distinfo
index 07d615a01c40..6bce0f6c3bf3 100644
--- a/devel/cscope/distinfo
+++ b/devel/cscope/distinfo
@@ -1,3 +1,3 @@
-MD5 (cscope-15.7.tar.bz2) = 08e1134914907031d916b1c9b428cbf7
-SHA256 (cscope-15.7.tar.bz2) = 6a657a320f6601c28875aed2a487d55fe14b467b18f4631546016bb60e08cf33
-SIZE (cscope-15.7.tar.bz2) = 243576
+MD5 (cscope-15.7a.tar.bz2) = da43987622ace8c36bbf14c15a350ec1
+SHA256 (cscope-15.7a.tar.bz2) = 02638bcba790bc8b0562f28dbe789e61794415079d94a676efc287d18dc96037
+SIZE (cscope-15.7a.tar.bz2) = 361214
diff --git a/devel/cscope/files/patch-main.c b/devel/cscope/files/patch-main.c
index eecf7051be68..747ff952a6a2 100644
--- a/devel/cscope/files/patch-main.c
+++ b/devel/cscope/files/patch-main.c
@@ -1,30 +1,5 @@
--- src/main.c.orig 2006-09-30 03:13:00.000000000 -0500
+++ src/main.c 2008-01-18 15:01:59.000000000 -0600
-@@ -359,7 +359,7 @@
- /* create the temporary file names */
- orig_umask = umask(S_IRWXG|S_IRWXO);
- pid = getpid();
-- sprintf(tempdirpv, "%s/cscope.%d", tmpdir, pid);
-+ snprintf(tempdirpv, sizeof(tempdirpv), "%s/cscope.%d", tmpdir, pid);
- if(mkdir(tempdirpv,S_IRWXU)) {
- fprintf(stderr, "\
- cscope: Could not create private temp dir %s\n",
-@@ -368,8 +368,13 @@
- }
- umask(orig_umask);
-
-- sprintf(temp1, "%s/cscope.1", tempdirpv);
-- sprintf(temp2, "%s/cscope.2", tempdirpv);
-+ if ((strlen(tempdirpv) + strlen("/cscope.X")) > PATHLEN) {
-+ fprintf(stderr, "cscope: Could not create private temp files\n");
-+ myexit(1);
-+ }
-+
-+ snprintf(temp1, sizeof(temp1), "%s/cscope.1", tempdirpv);
-+ snprintf(temp2, sizeof(temp2), "%s/cscope.2", tempdirpv);
-
- /* if running in the foreground */
- if (signal(SIGINT, SIG_IGN) != SIG_IGN) {
@@ -379,6 +384,7 @@
}
/* cleanup on the hangup signal */