Note: If clamav 0.94 isn't going into Lenny, then there is no need for this
and clamav would block it's transition, frozen or not.
Small change needed to build with libclamav5:
diff -u klamav-0.44/debian/changelog klamav-0.44/debian/changelog
--- klamav-0.44/debian/changelog
+++ klamav-0.44/debian/changelog
@@ -1,3 +1,11 @@
+klamav (0.44-3) unstable; urgency=low
+
+ * Add debian/patches/12-clamav-0.94_build_fix.diff to fix FTBFS against
+ clamav 0.94
+ - Thanks to Mandriva for the patch
+
+ -- Scott Kitterman <scott@kitterman.com> Sat, 06 Sep 2008 19:06:06 -0400
+
klamav (0.44-2) unstable; urgency=low
* Add 11-ukraine.patch for Ukranian translation (thanks to Yuri Chornoivan)
only in patch2:
unchanged:
--- klamav-0.44.orig/debian/patches/12-clamav-0.94_build_fix.diff
+++ klamav-0.44/debian/patches/12-clamav-0.94_build_fix.diff
@@ -0,0 +1,16 @@
+diff -Nur -x '*.orig' -x '*~' klamav-0.44/src/klammail/clamdmail.c
klamav-0.44.new/src/klammail/clamdmail.c
+--- klamav-0.44/src/klammail/clamdmail.c 2008-07-06
08:05:42.000000000 -0400
++++ klamav-0.44.new/src/klammail/clamdmail.c 2008-09-06
19:05:52.000000000 -0400
+@@ -157,12 +157,6 @@
+ }
+ }
+
+- if(fsync(fd) == -1) {
+-// cli_dbgmsg("fsync() failed for descriptor %d\n",
fd);
+- close(fd);
+- return CL_EFSYNC;
+- }
+-
+ close(fd);
+
+ if((fd = open(tmpnm, O_RDONLY)) == -1) {
Please cc me on any replies as I am not subscribed.
Scott K
Attachment:
signature.asc
Description: This is a digitally signed message part.