Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 112575 Details for
Bug 167829
app-antivirus/clamav-0.90: fails to compile with uclibc-0.9.28.1 (C_LINUX/NLS handling)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
updated nls patch
clamav-nls2.patch (text/plain), 2.17 KB, created by
Andrej Kacian (RETIRED)
on 2007-03-08 16:09:23 UTC
(
hide
)
Description:
updated nls patch
Filename:
MIME Type:
Creator:
Andrej Kacian (RETIRED)
Created:
2007-03-08 16:09:23 UTC
Size:
2.17 KB
patch
obsolete
>diff -bur clamav-0.90.1-orig/clamav-milter/clamav-milter.c clamav-0.90.1/clamav-milter/clamav-milter.c >--- clamav-0.90.1-orig/clamav-milter/clamav-milter.c 2007-03-07 17:56:53.000000000 +0100 >+++ clamav-0.90.1/clamav-milter/clamav-milter.c 2007-03-07 18:00:05.000000000 +0100 >@@ -108,7 +108,7 @@ > #endif > #endif > >-#ifdef C_LINUX >+#if defined(C_LINUX) && defined(ENABLE_NLS) > #include <sys/sendfile.h> /* FIXME: use sendfile on BSD not Linux */ > #include <libintl.h> > #include <locale.h> >diff -bur clamav-0.90.1-orig/configure.in clamav-0.90.1/configure.in >--- clamav-0.90.1-orig/configure.in 2007-03-07 17:56:53.000000000 +0100 >+++ clamav-0.90.1/configure.in 2007-03-07 17:57:30.000000000 +0100 >@@ -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 > >+AC_ARG_ENABLE(nls, >+ AC_HELP_STRING([--disable-nls], [disable nls support]), >+ [want_nls=$enableval], [want_nls=yes] >+) >+ >+if test $want_nls = yes; then >+ CPPFLAGS="$CPPFLAGS -DENABLE_NLS" >+fi >+ > 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.1-orig/shared/getopt.c clamav-0.90.1/shared/getopt.c >--- clamav-0.90.1-orig/shared/getopt.c 2007-03-07 17:56:53.000000000 +0100 >+++ clamav-0.90.1/shared/getopt.c 2007-03-07 18:00:25.000000000 +0100 >@@ -82,7 +82,7 @@ > > #ifndef _ > /* This is for other GNU distributions with internationalized messages. */ >-# if defined HAVE_LIBINTL_H || defined _LIBC >+# if (defined(HAVE_LIBINTL_H) || defined(_LIBC)) && defined(ENABLE_NLS) > # include <libintl.h> > # ifndef _ > # define _(msgid) gettext (msgid) >diff -bur clamav-0.90.1-orig/shared/output.c clamav-0.90.1/shared/output.c >--- clamav-0.90.1-orig/shared/output.c 2007-03-07 17:56:53.000000000 +0100 >+++ clamav-0.90.1/shared/output.c 2007-03-07 17:57:30.000000000 +0100 >@@ -61,7 +61,7 @@ > pthread_mutex_t logg_mutex = PTHREAD_MUTEX_INITIALIZER; > #endif > >-#ifdef C_LINUX >+#if defined(C_LINUX) && defined(ENABLE_NLS) > #include <libintl.h> > #include <locale.h> >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 167829
:
110783
|
110784
|
110785
|
111961
|
111962
| 112575