Skip site navigation (1)Skip section navigation (2)
Date:      20 Nov 2001 22:51:23 -0000
From:      Jos Backus <josb@cncdsl.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32151: Unbreak mozilla-0.9.5 after malloc.h -> stdlib.h
Message-ID:  <20011120225123.70248.qmail@lizzy.bugworks.com>

next in thread | raw e-mail | index | archive | help

>Number:         32151
>Category:       ports
>Synopsis:       Unbreak mozilla-0.9.5 after malloc.h -> stdlib.h
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 20 15:00:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jos Backus
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
none
>Environment:
System: FreeBSD lizzy.bugworks.com 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Sun Nov 18 19:53:54 PST 2001 jos@lizzy.bugworks.com:/disk0/usr/obj/usr/src/sys/LIZZY i386

	Port www/mozilla-0.9.5,1.

>Description:

	Including <malloc.h> aborts mozilla build. Make sure <malloc.h> is no
	longer being included.

>How-To-Repeat:

	Try to build port www/mozilla.

>Fix:

	Apply these patches to the port:

--- dbm/src/nsres.c.orig	Mon Nov 19 16:43:26 2001
+++ dbm/src/nsres.c	Mon Nov 19 16:44:01 2001
@@ -4,7 +4,7 @@
 
 #include <stdio.h>
 
-#if defined(BSDI)||defined(RHAPSODY)
+#if defined(BSDI)||defined(RHAPSODY)||defined(__FreeBSD__)
 #include <stdlib.h>
 #else
 #include <malloc.h>

--- directory/c-sdk/ldap/libraries/liblber/lber-int.h.orig	Tue Nov 20 10:33:23 2001
+++ directory/c-sdk/ldap/libraries/liblber/lber-int.h	Tue Nov 20 10:35:03 2001
@@ -48,7 +48,7 @@
 #ifdef macintosh
 # include "ldap-macos.h"
 #else /* macintosh */
-#if !defined(BSDI)
+#if !defined(BSDI) && !defined(__FreeBSD__)
 # include <malloc.h>
 #endif
 # include <errno.h>
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011120225123.70248.qmail>