Name: cvsnt
# http://www.cvsnt.org/archive/2.5_stable tell which version is stable
Version: 2.5.05.3744
-Release: 15
+Release: 16
License: GPL v2+/LGPL v2+
Group: Development/Version Control
Source0: http://www.cvsnt.org/archive/%{name}-%{version}.tar.gz
Patch7: cxx.patch
Patch8: openssl.patch
Patch9: gcc10.patch
+Patch10: time.patch
URL: http://www.cvsnt.org/
BuildRequires: autoconf >= 2.58
BuildRequires: automake >= 1:1.7.9
%patch7 -p1
%patch8 -p1
%patch9 -p1
+%patch10 -p1
rm -r protocols/ntlm
--- /dev/null
+--- cvsnt-2.5.05.3744/cvsapi/TagDate.cpp~ 2005-06-30 18:41:06.000000000 +0200
++++ cvsnt-2.5.05.3744/cvsapi/TagDate.cpp 2023-02-02 21:24:20.479834973 +0100
+@@ -21,6 +21,7 @@
+ #include <sys/types.h>
+ #include <stdlib.h>
+ #include <ctype.h>
++#include <time.h>
+ #include "lib/getdate.h"
+ #include "TagDate.h"
+
+--- cvsnt-2.5.05.3744/triggers/audit_trigger.cpp~ 2009-12-21 00:19:19.000000000 +0100
++++ cvsnt-2.5.05.3744/triggers/audit_trigger.cpp 2023-02-02 21:26:59.106501633 +0100
+@@ -20,6 +20,7 @@
+ #include <config.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <time.h>
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+ #endif