Correct path to milter header file.

Mon, 02 Nov 2009 19:23:11 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Mon, 02 Nov 2009 19:23:11 +0100
changeset 229
6571d477ad5f
parent 228
19b611159e28
child 230
f4b972145c42

Correct path to milter header file.

clamav/clamav.patch file | annotate | diff | comparison | revisions
clamav/clamav.spec file | annotate | diff | comparison | revisions
     1.1 --- a/clamav/clamav.patch	Sun Nov 01 15:44:56 2009 +0100
     1.2 +++ b/clamav/clamav.patch	Mon Nov 02 19:23:11 2009 +0100
     1.3 @@ -51,15 +51,18 @@
     1.4       LIBS="$LIBS -lmilter $CLAMAV_MILTER_LIBS"
     1.5       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mi_stop in -lmilter" >&5
     1.6   $as_echo_n "checking for mi_stop in -lmilter... " >&6; }
     1.7 -@@ -16842,7 +16839,7 @@
     1.8 +@@ -16842,9 +16839,9 @@
     1.9   fi
    1.10   
    1.11       LIBS="$save_LIBS"
    1.12  -    for ac_header in libmilter/mfapi.h
    1.13  +    for ac_header in milter/mfapi.h
    1.14   do :
    1.15 -   ac_fn_c_check_header_mongrel "$LINENO" "libmilter/mfapi.h" "ac_cv_header_libmilter_mfapi_h" "$ac_includes_default"
    1.16 +-  ac_fn_c_check_header_mongrel "$LINENO" "libmilter/mfapi.h" "ac_cv_header_libmilter_mfapi_h" "$ac_includes_default"
    1.17 ++  ac_fn_c_check_header_mongrel "$LINENO" "milter/mfapi.h" "ac_cv_header_libmilter_mfapi_h" "$ac_includes_default"
    1.18   if test "x$ac_cv_header_libmilter_mfapi_h" = x""yes; then :
    1.19 +   cat >>confdefs.h <<_ACEOF
    1.20 + #define HAVE_LIBMILTER_MFAPI_H 1
    1.21  diff -Nau libclamav/others.c.orig libclamav/others.c
    1.22  Index: libclamav/others.c
    1.23  --- libclamav/others.c.orig	2009-10-28 16:34:13.000000000 +0100
     2.1 --- a/clamav/clamav.spec	Sun Nov 01 15:44:56 2009 +0100
     2.2 +++ b/clamav/clamav.spec	Mon Nov 02 19:23:11 2009 +0100
     2.3 @@ -32,7 +32,7 @@
     2.4  Group:        AntiVirus
     2.5  License:      GPL
     2.6  Version:      0.95.3
     2.7 -Release:      20091030
     2.8 +Release:      20091101
     2.9  
    2.10  #   package options
    2.11  %option       with_milter  no

mercurial