Name: cvsnt
# http://www.cvsnt.org/archive/2.5_stable tell which version is stable
Version: 2.5.05.3744
-Release: 13
+Release: 14
License: GPL v2+/LGPL v2+
Group: Development/Version Control
Source0: http://www.cvsnt.org/archive/%{name}-%{version}.tar.gz
Patch6: format-security.patch
Patch7: cxx.patch
Patch8: openssl.patch
+Patch9: gcc10.patch
URL: http://www.cvsnt.org/
BuildRequires: autoconf >= 2.58
BuildRequires: automake >= 1:1.7.9
%patch6 -p1
%patch7 -p1
%patch8 -p1
+%patch9 -p1
rm -r protocols/ntlm
--- /dev/null
+--- cvsnt-2.5.05.3744/diff/diff3.c~ 2021-10-23 22:29:35.000000000 +0200
++++ cvsnt-2.5.05.3744/diff/diff3.c 2021-10-23 22:32:54.900316124 +0200
+@@ -205,8 +205,8 @@
+ static int merge;
+
+ /* I/O mode: nonzero only if using binary input/output. */
+-int binary_input;
+-int binary_output;
++extern int binary_input;
++extern int binary_output;
+
+ diff_encoding_type encoding3 = {0};
+ int no_unlink;