Browse Source

fix building under Debian 2.2

master
parent
commit
1d9661893e
  1. 10
      clamav/clamav.patch
  2. 2
      clamav/clamav.spec

10
clamav/clamav.patch

@ -0,0 +1,10 @@
--- clamd/others.c.orig Fri Jun 20 19:35:45 2003
+++ clamd/others.c Wed Jul 2 17:05:58 2003
@@ -26,6 +26,7 @@
#include <fcntl.h>
#include <time.h>
#include <sys/stat.h>
+#include <sys/time.h>
#if defined(CLAMD_USE_SYSLOG) && !defined(C_AIX)
#include <syslog.h>

2
clamav/clamav.spec

@ -38,6 +38,7 @@ Release: 20030702
# list of sources
Source0: http://www.clamav.org/stable/clamav-%{version}.tar.gz
Source1: rc.clamav
Patch0: clamav.patch
# build information
Prefix: %{l_prefix}
@ -59,6 +60,7 @@ AutoReqProv: no
%prep
%setup -q
%patch -p0
%build
# configure package

Loading…
Cancel
Save