aboutsummaryrefslogtreecommitdiff
path: root/devel/cvs-devel/files/patch-fix_-l
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-fix_-l
parent3b10b8325404a6130e927ce3e02a1d7b80387a7d (diff)
downloadports-dc2ba353b6add779ef99cc375db07c0773652c68.tar.gz
ports-dc2ba353b6add779ef99cc375db07c0773652c68.zip
Notes
Diffstat (limited to 'devel/cvs-devel/files/patch-fix_-l')
-rw-r--r--devel/cvs-devel/files/patch-fix_-l26
1 files changed, 26 insertions, 0 deletions
diff --git a/devel/cvs-devel/files/patch-fix_-l b/devel/cvs-devel/files/patch-fix_-l
new file mode 100644
index 000000000000..c384369c6ac9
--- /dev/null
+++ b/devel/cvs-devel/files/patch-fix_-l
@@ -0,0 +1,26 @@
+# Re-added -l option to the client. Does nothing, but stops
+# warnings/errors. Will really fix #219950 and #224737, and also a
+# differently-described bug (220379). Closes: #219950, #220379
+#
+# Patch by Steve McIntyre <steve@einval.com>
+diff -Nur src/main.c src/main.c
+--- src/main.c 2006-02-26 22:09:42.000000000 +0800
++++ src/main.c 2006-02-26 22:09:43.000000000 +0800
+@@ -511,7 +511,7 @@
+ int help = 0; /* Has the user asked for help? This
+ lets us support the `cvs -H cmd'
+ convention to give help for cmd. */
+- static const char short_options[] = "+QqrwtnRvb:T:e:d:Hfz:s:xa";
++ static const char short_options[] = "+QqrwtnRvb:T:e:d:Hfz:s:xal";
+ static struct option long_options[] =
+ {
+ {"help", 0, NULL, 'H'},
+@@ -669,6 +669,8 @@
+ noexec = 1;
+ logoff = 1;
+ break;
++ case 'l': /* no-op to simply ignore the old -l option */
++ break;
+ case 'v':
+ (void) fputs ("\n", stdout);
+ version (0, NULL);