summaryrefslogtreecommitdiff
path: root/devel/cvs-devel/files/patch-64bit_crashfix
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2008-05-26 04:58:42 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2008-05-26 04:58:42 +0000
commitdc2ba353b6add779ef99cc375db07c0773652c68 (patch)
treefd297e003671dbe92e5220abe24b60c1a724b78e /devel/cvs-devel/files/patch-64bit_crashfix
parent[new port] devel/cvs-devel 1.12.13_8 (diff)
[new port] devel/cvs-devel 1.12.13_8
Latest upstream/feature release, similar to Debian, see the ChangeLog excerpts available at http://cto.homelinux.net/usr/ports/devel/cvs-devel/ChangeLog page. This feature release/version, I think, would be quite useful for all those users who want to share and, or transfer their existing CVS repositories from Linux to FreeBSD machines. PR: ports/118033 Submitted by: Balwinder S Dheeman <bdheeman@gmail.com>
Notes
Notes: svn path=/head/; revision=213677
Diffstat (limited to 'devel/cvs-devel/files/patch-64bit_crashfix')
-rw-r--r--devel/cvs-devel/files/patch-64bit_crashfix15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/cvs-devel/files/patch-64bit_crashfix b/devel/cvs-devel/files/patch-64bit_crashfix
new file mode 100644
index 000000000000..15ec55410c57
--- /dev/null
+++ b/devel/cvs-devel/files/patch-64bit_crashfix
@@ -0,0 +1,15 @@
+# Fix a 64-bit crash in the entries_time() function and another bug in
+# the diff code. Thanks to Gabor Gombas for the patch. Closes:
+# #329127.
+diff -Nur diff/util.c diff/util.c
+--- diff/util.c 2003-02-03 03:52:38.000000000 +0800
++++ diff/util.c 2006-02-26 21:32:22.000000000 +0800
+@@ -235,7 +235,7 @@
+ close (pipes[0]);
+ }
+
+- execl (PR_PROGRAM, PR_PROGRAM, "-f", "-h", name, 0);
++ execl (PR_PROGRAM, PR_PROGRAM, "-f", "-h", name, NULL);
+ pfatal_with_name (PR_PROGRAM);
+ }
+ else