Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Michael Haubenwallner <michael.haubenwallner@...>
Subject: Re: Re: AIX: grep .gettext
Date: Wed, 11 Apr 2007 14:38:58 +0200
On Tue, 2007-04-10 at 21:00 +0200, Fabian Groffen wrote:
> On 30-03-2007 22:31:10 +0200, Michael Haubenwallner wrote:
> > Don't know why it is there, but this is why grep has this problem.
> > 
> > Anyway, I have a patch for grep now:
> > http://prefix-launcher.svn.sourceforge.net/viewvc/*checkout*/prefix-launcher/prefix-launcher/trunk/grep/patches/nonlsable.patch
> 
> This seems to be done in the main tree already, which looks the same:
> http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/sys-apps/grep/files/grep-2.5.1a-nls.patch

As lib/getopt.c is required on aix, patching that is necessary too.

And for lib/error.c one might prefer to not include libintl.h instead of
doing that ENABLE_NLS-conditionally, because there _could_ be
libintl.h's out there defining '_': see this lines in error.c:

 59 #ifndef _
 60 # define _(String) String
 61 #endif

--- lib/error.c.orig    2007-04-11 14:33:05.571682000 +0200
+++ lib/error.c 2007-04-11 14:33:08.901567000 +0200
@@ -26,9 +26,6 @@
 #endif
 
 #include <stdio.h>
-#if HAVE_LIBINTL_H
-# include <libintl.h>
-#endif
 
 #if HAVE_VPRINTF || HAVE_DOPRNT || _LIBC
 # if __STDC__


/haubi/


Salomon Automation GmbH - Friesachstraße 15 - A-8114 Friesach bei Graz
Sitz der Gesellschaft: Friesach bei Graz
UID-NR:ATU28654300 - Firmenbuchnummer: 49324 K
Firmenbuchgericht: Landesgericht für Zivilrechtssachen Graz

--
gentoo-alt@g.o mailing list


References:
Re: Re: AIX: grep .gettext
-- Fabian Groffen
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: AIX: grep .gettext
Next by thread:
Re: [prefix][aix] openssl
Previous by date:
Re: [prefix][aix] debianutils succeeded!
Next by date:
Re: [prefix][linux] permission problem merging apr-util on linux


Updated Jun 17, 2009

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.