1 # Apply patch from 120042, which only tries to parse pserver, gserver
2 # and kserver methods when doing cvs login. (closes: #120042).
4 # Patch from Horms <horms@vergenet.net>
5 diff -ruN cvs-1.12.13-old/src/login.c cvs-1.12.13/src/login.c
6 --- cvs-1.12.13-old/src/login.c 2006-02-26 22:10:42.000000000 +0800
7 +++ cvs-1.12.13/src/login.c 2006-02-26 22:25:14.000000000 +0800
12 - tmp_root_canonical = normalize_cvsroot (tmp_root);
13 - if (strcmp (cvsroot_canonical, tmp_root_canonical) == 0)
16 - free (tmp_root_canonical);
17 + switch (tmp_root->method)
19 + case gserver_method:
20 + case pserver_method:
22 + case kserver_method:
23 +#endif /* HAVE_KERBEROS */
24 + tmp_root_canonical = normalize_cvsroot (tmp_root);
25 + if (strcmp (cvsroot_canonical, tmp_root_canonical) == 0)
27 + free (tmp_root_canonical);