[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] [PATCH] Fix for #43785 (ngettext with Solaris 10)
From: |
Tim Ruehsen |
Subject: |
Re: [Bug-wget] [PATCH] Fix for #43785 (ngettext with Solaris 10) |
Date: |
Thu, 05 Feb 2015 14:38:05 +0100 |
User-agent: |
KMail/4.14.2 (Linux/3.16.0-4-amd64; KDE/4.14.2; x86_64; ; ) |
On Thursday 05 February 2015 21:15:16 Kiyoshi KANAZAWA wrote:
> Hi, Tim,
>
>
> % ./configure --prefix=/opt/local --with-ssl=openssl --disable-nls
> --with-libssl-prefix=/opt/openssl --with-libidn=/opt/local CC=gcc % grep
> NLS src/config.h
> /* #undef ENABLE_NLS */
>
>
> libintl.h is not included directly,
>
> but seems to be included via <locale.h>.
DingDong ;-)
We had that problem before, maybe not solved completely. I wonder why Dagobert
has not problems on his Solaris 10 machines.
Could you change to code in src/wget.h from
#if ENABLE_NLS
# include <libintl.h>
# define _(STRING) gettext(STRING)
#else
# define _(STRING) STRING
# define ngettext(STRING1,STRING2,N) STRING2
#endif
to
#if ENABLE_NLS
# include <libintl.h>
# define _(STRING) gettext(STRING)
#else
# ifdef solaris
# include <libintl.h>
# endif
# define _(STRING) STRING
# define ngettext(STRING1,STRING2,N) STRING2
#endif
That is around lines 62.
Please give it a try and report back.
Tim
signature.asc
Description: This is a digitally signed message part.
- Re: [Bug-wget] [PATCH] Fix for #43785 (ngettext with Solaris 10), Kiyoshi KANAZAWA, 2015/02/05
- Re: [Bug-wget] [PATCH] Fix for #43785 (ngettext with Solaris 10), Tim Ruehsen, 2015/02/05
- Re: [Bug-wget] [PATCH] Fix for #43785 (ngettext with Solaris 10), Dagobert Michelsen, 2015/02/05
- Re: [Bug-wget] [PATCH] Fix for #43785 (ngettext with Solaris 10), Kiyoshi KANAZAWA, 2015/02/05
- Re: [Bug-wget] [PATCH] Fix for #43785 (ngettext with Solaris 10), Tim Ruehsen, 2015/02/05
- Re: [Bug-wget] [PATCH] Fix for #43785 (ngettext with Solaris 10), Kiyoshi KANAZAWA, 2015/02/05
- Re: [Bug-wget] [PATCH] Fix for #43785 (ngettext with Solaris 10), Tim Ruehsen, 2015/02/05
- Re: [Bug-wget] [PATCH] Fix for #43785 (ngettext with Solaris 10), Kiyoshi KANAZAWA, 2015/02/05
- Re: [Bug-wget] [PATCH] Fix for #43785 (ngettext with Solaris 10),
Tim Ruehsen <=
- Re: [Bug-wget] [PATCH] Fix for #43785 (ngettext with Solaris 10), Kiyoshi KANAZAWA, 2015/02/05