Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 167829 | Differences between
and this patch

Collapse All | Expand All

(-)clamav-0.90.1-orig/clamav-milter/clamav-milter.c (-1 / +1 lines)
Lines 108-114 Link Here
108
#endif
108
#endif
109
#endif
109
#endif
110
110
111
#ifdef	C_LINUX
111
#if defined(C_LINUX) && defined(ENABLE_NLS)
112
#include <sys/sendfile.h>	/* FIXME: use sendfile on BSD not Linux */
112
#include <sys/sendfile.h>	/* FIXME: use sendfile on BSD not Linux */
113
#include <libintl.h>
113
#include <libintl.h>
114
#include <locale.h>
114
#include <locale.h>
(-)clamav-0.90.1-orig/configure.in (+9 lines)
Lines 160-165 Link Here
160
    AC_CHECK_HEADER(dlfcn.h,[LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -ldl" ; AC_DEFINE(HAVE_NCORE,1,Support for NodalCore acceleration)], AC_MSG_WARN([****** NodalCore support disabled (no support for dlopen)]))
160
    AC_CHECK_HEADER(dlfcn.h,[LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -ldl" ; AC_DEFINE(HAVE_NCORE,1,Support for NodalCore acceleration)], AC_MSG_WARN([****** NodalCore support disabled (no support for dlopen)]))
161
fi
161
fi
162
162
163
AC_ARG_ENABLE(nls,
164
    AC_HELP_STRING([--disable-nls], [disable nls support]),
165
    [want_nls=$enableval], [want_nls=yes]
166
)
167
168
if test $want_nls = yes; then
169
   CPPFLAGS="$CPPFLAGS -DENABLE_NLS"
170
fi
171
163
AC_ARG_ENABLE(dns,
172
AC_ARG_ENABLE(dns,
164
    AC_HELP_STRING([--disable-dns], [disable support for database verification through DNS]),
173
    AC_HELP_STRING([--disable-dns], [disable support for database verification through DNS]),
165
    [want_dns=$enableval], [want_dns=yes]
174
    [want_dns=$enableval], [want_dns=yes]
(-)clamav-0.90.1-orig/shared/getopt.c (-1 / +1 lines)
Lines 82-88 Link Here
82
82
83
#ifndef _
83
#ifndef _
84
/* This is for other GNU distributions with internationalized messages.  */
84
/* This is for other GNU distributions with internationalized messages.  */
85
# if defined HAVE_LIBINTL_H || defined _LIBC
85
# if (defined(HAVE_LIBINTL_H) || defined(_LIBC)) && defined(ENABLE_NLS)
86
#  include <libintl.h>
86
#  include <libintl.h>
87
#  ifndef _
87
#  ifndef _
88
#   define _(msgid)	gettext (msgid)
88
#   define _(msgid)	gettext (msgid)
(-)clamav-0.90.1-orig/shared/output.c (-1 / +1 lines)
Lines 61-67 Link Here
61
pthread_mutex_t logg_mutex = PTHREAD_MUTEX_INITIALIZER;
61
pthread_mutex_t logg_mutex = PTHREAD_MUTEX_INITIALIZER;
62
#endif
62
#endif
63
63
64
#ifdef  C_LINUX
64
#if defined(C_LINUX) && defined(ENABLE_NLS)
65
#include <libintl.h>
65
#include <libintl.h>
66
#include <locale.h>
66
#include <locale.h>
67
67

Return to bug 167829