-diff -burN cvs-1.11.21.orig/src/login.c cvs-1.11.21/src/login.c
---- cvs-1.11.21.orig/src/login.c 2006-01-13 23:13:53.072883256 +0100
-+++ cvs-1.11.21/src/login.c 2006-01-13 23:15:29.033295056 +0100
-@@ -313,9 +313,25 @@
+diff -urNp -x '*.orig' cvs-1.12.13.org/src/login.c cvs-1.12.13/src/login.c
+--- cvs-1.12.13.org/src/login.c 2005-05-13 23:47:28.000000000 +0200
++++ cvs-1.12.13/src/login.c 2023-02-02 09:01:00.365363622 +0100
+@@ -309,9 +309,25 @@ internal error: can only call password_e
fp = CVS_FOPEN (passfile, "r");
if (fp == NULL)
{
+ }
/* Check each line to see if we have this entry already. */
- line = 0;
+ line = 0L;
---- cvs-1.11.4/configure.in.orig Fri Jan 17 19:46:05 2003
-+++ cvs-1.11.4/configure.in Fri Jan 17 19:55:47 2003
-@@ -272,13 +272,12 @@
- AC_FUNC_MMAP
+diff -urNp -x '*.orig' cvs-1.12.13.org/configure.in cvs-1.12.13/configure.in
+--- cvs-1.12.13.org/configure.in 2005-10-03 15:34:45.000000000 +0200
++++ cvs-1.12.13/configure.in 2023-02-02 09:00:39.745239468 +0100
+@@ -514,13 +514,12 @@ dnl for debugging code
+ CVS_FUNC_PRINTF_PTR
# Try to find connect and gethostbyname.
-AC_CHECK_LIB(nsl, main)
-AC_SEARCH_LIBS(gethostbyname, netinet)
+AC_SEARCH_LIBS(gethostbyname, netinet nsl)
+ AC_SUBST(cvs_client_objects)
- dnl
Summary(zh_CN.UTF-8): 并发的版本管理系统CVS
Name: cvs
Version: 1.12.13
-Release: 19
+Release: 20
License: GPL
Group: Development/Version Control
Source0: http://ftp.gnu.org/non-gnu/cvs/source/feature/%{version}/%{name}-%{version}.tar.bz2