NetBSD Problem Report #18357

Received: (qmail 15508 invoked by uid 605); 20 Sep 2002 18:40:31 -0000
Message-Id: <20020920184030.8522911122@narn.netbsd.org>
Date: Fri, 20 Sep 2002 11:40:30 -0700 (PDT)
From: maccult@pacbell.net
Sender: gnats-bugs-owner@netbsd.org
Reply-To: maccult@pacbell.net
To: gnats-bugs@gnats.netbsd.org
Subject: gettext fails to build on Mac OS X/Darwin
X-Send-Pr-Version: www-1.0

>Number:         18357
>Category:       pkg
>Synopsis:       gettext fails to build on Mac OS X/Darwin
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    schmonz
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 20 18:41:00 +0000 2002
>Closed-Date:    Sun Aug 31 14:46:08 +0000 2003
>Last-Modified:  Sun Aug 31 14:46:08 +0000 2003
>Originator:     Randy Beaudreault
>Release:        
>Organization:
>Environment:
Darwin localhost 5.5 Darwin Kernel Version 5.5: Thu May 30 14:51:26 PDT 2002; root:xnu/xnu-201.42.3.obj~1/RELEASE_PPC  Power Macintosh powerpc
>Description:
Building gettext on Mac OS X.1.5 gives this error:
cc -I/usr/pkgsrc/devel/gettext/work/.buildlink/include -O -o gettext gettextp.o  -L/usr/pkgsrc/devel/gettext/work/.buildlink/lib ../lib/libnlsut.a -L/usr/pkg/lib -lintl
/usr/bin/ld: Undefined symbols:
__tolower

There is supposedly a patch for this but I haven't gotten the patch to work yet.  (I've included the potential patch below.)
>How-To-Repeat:
Build gettext under pkgsrc.
>Fix:
--- intl/l10nflist.c.orig       Sat Apr 20 00:14:00 2002
+++ intl/l10nflist.c    Sat Apr 20 00:14:06 2002
@@ -382,7 +382,7 @@

       for (cnt = 0; cnt < name_len; ++cnt)
        if (isalpha (codeset[cnt]))
-         *wp++ = _tolower (codeset[cnt]);
+         *wp++ = tolower (codeset[cnt]);
        else if (isdigit (codeset[cnt]))
          *wp++ = codeset[cnt];

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->schmonz 
Responsible-Changed-By: schmonz 
Responsible-Changed-When: Wed Nov 20 10:15:31 PST 2002 
Responsible-Changed-Why:  
I speak this jive. 
State-Changed-From-To: open->closed 
State-Changed-By: danw 
State-Changed-When: Sun Aug 31 14:43:52 UTC 2003 
State-Changed-Why:  
This was fixed by the upgrade to 0.11.5 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.