diff -r e3fb635fcb8e -r f5f6e93f3dc6 clamav/clamav.patch --- a/clamav/clamav.patch Mon Nov 02 20:07:19 2009 +0100 +++ b/clamav/clamav.patch Mon Nov 02 22:29:58 2009 +0100 @@ -1,7 +1,6 @@ -diff -Nau clamav-milter/clamav-milter.c.orig clamav-milter/clamav-milter.c Index: clamav-milter/clamav-milter.c ---- clamav-milter/clamav-milter.c.orig 2009-10-28 16:34:13.000000000 +0100 -+++ clamav-milter/clamav-milter.c 2009-11-01 15:26:46.212861448 +0100 +--- clamav-milter/clamav-milter.c.orig 2009-04-01 13:48:54 +0200 ++++ clamav-milter/clamav-milter.c 2009-04-09 17:25:12 +0200 @@ -32,7 +32,7 @@ #include #endif @@ -11,10 +10,9 @@ #include "clamav.h" -diff -Nau clamav-milter/clamfi.c.orig clamav-milter/clamfi.c Index: clamav-milter/clamfi.c ---- clamav-milter/clamfi.c.orig 2009-10-28 16:34:13.000000000 +0100 -+++ clamav-milter/clamfi.c 2009-11-01 15:26:46.214251049 +0100 +--- clamav-milter/clamfi.c.orig 2009-04-02 18:36:34 +0200 ++++ clamav-milter/clamfi.c 2009-04-09 17:25:12 +0200 @@ -29,7 +29,7 @@ #include #include @@ -24,10 +22,9 @@ #include "shared/optparser.h" #include "shared/output.h" -diff -Nau clamav-milter/clamfi.h.orig clamav-milter/clamfi.h Index: clamav-milter/clamfi.h ---- clamav-milter/clamfi.h.orig 2009-07-06 15:21:58.000000000 +0200 -+++ clamav-milter/clamfi.h 2009-11-01 15:26:46.214882752 +0100 +--- clamav-milter/clamfi.h.orig 2009-03-16 19:37:26 +0100 ++++ clamav-milter/clamfi.h 2009-04-09 17:25:12 +0200 @@ -22,7 +22,7 @@ #define _CLAMFI_H @@ -37,11 +34,10 @@ extern uint64_t maxfilesize; extern int addxvirus; -diff -Nau configure.orig configure Index: configure ---- configure.orig 2009-10-28 16:34:13.000000000 +0100 -+++ configure 2009-11-01 15:29:06.145022137 +0100 -@@ -16692,9 +16692,6 @@ +--- configure.orig 2009-04-08 16:38:23 +0200 ++++ configure 2009-04-09 17:25:12 +0200 +@@ -20949,9 +20949,6 @@ save_LIBS="$LIBS" CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -lpthread" @@ -49,25 +45,21 @@ - CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -L/usr/lib/libmilter" - fi LIBS="$LIBS -lmilter $CLAMAV_MILTER_LIBS" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mi_stop in -lmilter" >&5 + { $as_echo "$as_me:$LINENO: checking for mi_stop in -lmilter" >&5 $as_echo_n "checking for mi_stop in -lmilter... " >&6; } -@@ -16842,9 +16839,9 @@ - fi +@@ -21191,7 +21188,7 @@ LIBS="$save_LIBS" -- for ac_header in libmilter/mfapi.h -+ for ac_header in milter/mfapi.h - do : -- ac_fn_c_check_header_mongrel "$LINENO" "libmilter/mfapi.h" "ac_cv_header_libmilter_mfapi_h" "$ac_includes_default" -+ ac_fn_c_check_header_mongrel "$LINENO" "milter/mfapi.h" "ac_cv_header_libmilter_mfapi_h" "$ac_includes_default" - if test "x$ac_cv_header_libmilter_mfapi_h" = x""yes; then : - cat >>confdefs.h <<_ACEOF - #define HAVE_LIBMILTER_MFAPI_H 1 -diff -Nau libclamav/others.c.orig libclamav/others.c + +-for ac_header in libmilter/mfapi.h ++for ac_header in milter/mfapi.h + do + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` + if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then Index: libclamav/others.c ---- libclamav/others.c.orig 2009-10-28 16:34:13.000000000 +0100 -+++ libclamav/others.c 2009-11-01 15:26:46.257883269 +0100 -@@ -177,8 +177,10 @@ +--- libclamav/others.c.orig 2009-04-03 10:33:24 +0200 ++++ libclamav/others.c 2009-04-09 17:29:05 +0200 +@@ -176,8 +176,10 @@ if(is_rar_initd) return; is_rar_initd = 1; @@ -78,10 +70,9 @@ return; if (!(cli_unrar_open = (int(*)(int, const char *, unrar_state_t *))lt_dlsym(rhandle, "libclamunrar_iface_LTX_unrar_open")) || -diff -Nau shared/output.c.orig shared/output.c Index: shared/output.c ---- shared/output.c.orig 2009-10-28 16:34:13.000000000 +0100 -+++ shared/output.c 2009-11-01 15:26:46.259056039 +0100 +--- shared/output.c.orig 2009-03-16 19:37:26 +0100 ++++ shared/output.c 2009-04-09 17:25:12 +0200 @@ -67,7 +67,7 @@ pthread_mutex_t logg_mutex = PTHREAD_MUTEX_INITIALIZER; #endif