summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-antivirus/clamav/files/clamav-0.90-nls.patch')
-rw-r--r--app-antivirus/clamav/files/clamav-0.90-nls.patch33
1 files changed, 21 insertions, 12 deletions
diff --git a/app-antivirus/clamav/files/clamav-0.90-nls.patch b/app-antivirus/clamav/files/clamav-0.90-nls.patch
index 3a9ac5703f84..7349f32ea20b 100644
--- a/app-antivirus/clamav/files/clamav-0.90-nls.patch
+++ b/app-antivirus/clamav/files/clamav-0.90-nls.patch
@@ -1,6 +1,6 @@
-diff -bur clamav-0.90.2-orig/clamav-milter/clamav-milter.c clamav-0.90.2/clamav-milter/clamav-milter.c
---- clamav-0.90.2-orig/clamav-milter/clamav-milter.c 2007-04-13 10:26:39.000000000 +0200
-+++ clamav-0.90.2/clamav-milter/clamav-milter.c 2007-04-13 10:31:02.000000000 +0200
+diff -bur clamav-0.90.2/clamav-milter/clamav-milter.c clamav-0.90.2-nls/clamav-milter/clamav-milter.c
+--- clamav-0.90.2/clamav-milter/clamav-milter.c 2007-04-12 18:35:17.000000000 +0200
++++ clamav-0.90.2-nls/clamav-milter/clamav-milter.c 2007-04-16 15:33:40.000000000 +0200
@@ -110,6 +110,7 @@
#ifdef C_LINUX
@@ -19,9 +19,18 @@ diff -bur clamav-0.90.2-orig/clamav-milter/clamav-milter.c clamav-0.90.2/clamav-
#ifdef USE_SYSLOG
#include <syslog.h>
-diff -bur clamav-0.90.2-orig/configure.in clamav-0.90.2/configure.in
---- clamav-0.90.2-orig/configure.in 2007-04-13 10:26:39.000000000 +0200
-+++ clamav-0.90.2/configure.in 2007-04-13 10:26:57.000000000 +0200
+@@ -664,7 +666,7 @@
+ else
+ progname = "clamav-milter";
+
+-#ifdef C_LINUX
++#ifdef ENABLE_NLS
+ setlocale(LC_ALL, "");
+ bindtextdomain(progname, DATADIR"/clamav-milter/locale");
+ textdomain(progname);
+diff -bur clamav-0.90.2/configure.in clamav-0.90.2-nls/configure.in
+--- clamav-0.90.2/configure.in 2007-04-13 01:10:37.000000000 +0200
++++ clamav-0.90.2-nls/configure.in 2007-04-16 15:33:40.000000000 +0200
@@ -160,6 +160,15 @@
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)]))
fi
@@ -38,9 +47,9 @@ diff -bur clamav-0.90.2-orig/configure.in clamav-0.90.2/configure.in
AC_ARG_ENABLE(dns,
AC_HELP_STRING([--disable-dns], [disable support for database verification through DNS]),
[want_dns=$enableval], [want_dns=yes]
-diff -bur clamav-0.90.2-orig/shared/getopt.c clamav-0.90.2/shared/getopt.c
---- clamav-0.90.2-orig/shared/getopt.c 2007-04-13 10:26:39.000000000 +0200
-+++ clamav-0.90.2/shared/getopt.c 2007-04-13 10:26:57.000000000 +0200
+diff -bur clamav-0.90.2/shared/getopt.c clamav-0.90.2-nls/shared/getopt.c
+--- clamav-0.90.2/shared/getopt.c 2007-02-28 02:08:59.000000000 +0100
++++ clamav-0.90.2-nls/shared/getopt.c 2007-04-16 15:33:40.000000000 +0200
@@ -82,7 +82,7 @@
#ifndef _
@@ -50,9 +59,9 @@ diff -bur clamav-0.90.2-orig/shared/getopt.c clamav-0.90.2/shared/getopt.c
# include <libintl.h>
# ifndef _
# define _(msgid) gettext (msgid)
-diff -bur clamav-0.90.2-orig/shared/output.c clamav-0.90.2/shared/output.c
---- clamav-0.90.2-orig/shared/output.c 2007-04-13 10:26:39.000000000 +0200
-+++ clamav-0.90.2/shared/output.c 2007-04-13 10:26:57.000000000 +0200
+diff -bur clamav-0.90.2/shared/output.c clamav-0.90.2-nls/shared/output.c
+--- clamav-0.90.2/shared/output.c 2007-03-02 01:43:18.000000000 +0100
++++ clamav-0.90.2-nls/shared/output.c 2007-04-16 15:33:40.000000000 +0200
@@ -61,7 +61,7 @@
pthread_mutex_t logg_mutex = PTHREAD_MUTEX_INITIALIZER;
#endif