1 --- cvs-1.12.13.orig/debian/patches/81_fix_-l
2 +++ cvs-1.12.13/debian/patches/81_fix_-l
4 +# Re-added -l option to the client. Does nothing, but stops
5 +# warnings/errors. Will really fix #219950 and #224737, and also a
6 +# differently-described bug (220379). Closes: #219950, #220379
8 +# Patch by Steve McIntyre <steve@einval.com>
9 +diff -ruN cvs-1.12.13-old/src/main.c cvs-1.12.13/src/main.c
10 +--- cvs-1.12.13-old/src/main.c 2006-02-26 22:09:42.000000000 +0800
11 ++++ cvs-1.12.13/src/main.c 2006-02-26 22:09:43.000000000 +0800
13 + int help = 0; /* Has the user asked for help? This
14 + lets us support the `cvs -H cmd'
15 + convention to give help for cmd. */
16 +- static const char short_options[] = "+QqrwtnRvb:T:e:d:Hfz:s:xa";
17 ++ static const char short_options[] = "+QqrwtnRvb:T:e:d:Hfz:s:xal";
18 + static struct option long_options[] =
20 + {"help", 0, NULL, 'H'},
25 ++ case 'l': /* no-op to simply ignore the old -l option */
28 + (void) fputs ("\n", stdout);