From owner-freebsd-ports Tue Jul 3 21: 0: 5 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 196C037B405 for ; Tue, 3 Jul 2001 21:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f64402a51586; Tue, 3 Jul 2001 21:00:02 -0700 (PDT) (envelope-from gnats) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D76E937B401 for ; Tue, 3 Jul 2001 20:55:14 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.3/8.11.3) id f643tED51016; Tue, 3 Jul 2001 20:55:14 -0700 (PDT) (envelope-from nobody) Message-Id: <200107040355.f643tED51016@freefall.freebsd.org> Date: Tue, 3 Jul 2001 20:55:14 -0700 (PDT) From: Ken Lui To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/28685: Mozilla 0.9.2 port doesn't have gethostbyname defined properly Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 28685 >Category: ports >Synopsis: Mozilla 0.9.2 port doesn't have gethostbyname defined properly >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 03 21:00:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Ken Lui >Release: 4.3-stable >Organization: >Environment: FreeBSD a7v 4.3-STABLE FreeBSD 4.3-STABLE #1: Tue Jun 26 19:44:12 PDT 2001 >Description: When using the 0.9.2 port that's available, typing in a name with an LDAP directory defined will cause the program to exit due to an undefined reference for gethostbyname_r(). >How-To-Repeat: Compile 0.9.2 from the ports, define an LDAP server and use it using a new message. >Fix: The ports will need an additional patch file in /usr/ports/www/mozilla/files. I've named it as patch-di, and in case this form messes up the formatting, I've added "defined(FREEBSD) ||" to this section of code: --- directory/c-sdk/ldap/include/portable.h.orig Fri May 4 13:43:55 2001 +++ directory/c-sdk/ldap/include/portable.h Tue Jul 3 20:34:14 2001 @@ -248,7 +248,7 @@ defined(UNIXWARE) || defined(SUNOS4) || defined(SNI) || defined(BSDI) || \ defined(NCR) || defined(OSF1) || defined(NEC) || defined(VMS) || \ ( defined(HPUX10) && !defined(_REENTRANT)) || defined(HPUX11) || \ - defined(UnixWare) || defined(LINUX) || defined(NETBSD) || \ + defined(UnixWare) || defined(LINUX) || defined(NETBSD) || defined(FREEBSD) || \ (defined(AIX) && !defined(USE_REENTRANT_LIBC)) #define GETHOSTBYNAME( n, r, b, l, e ) gethostbyname( n ) #elif defined(AIX) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message