Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Feb 2002 19:01:35 -0500 (EST)
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/34652: [PATCH] Remove malloc.h from textproc/libxml
Message-ID:  <200202060001.g1601ZF24304@shumai.marcuscom.com>

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

>Number:         34652
>Category:       ports
>Synopsis:       [PATCH] Remove malloc.h from textproc/libxml
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 05 16:10:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Joe Marcus Clarke
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
MarcusCom, Inc.
>Environment:
System: FreeBSD shumai.marcuscom.com 4.5-STABLE FreeBSD 4.5-STABLE #0: Sat Feb 2 17:21:37 EST 2002 marcus@shumai.marcuscom.com:/usr/obj/usr/src/sys/SHUMAI i386

	
>Description:
libxml includes malloc.h in two locations.  The header file that includes
malloc.h is used my other applications (such as galeon).  This could break
builds on -current.
>How-To-Repeat:
	
>Fix:


--- Makefile.orig	Tue Feb  5 18:50:27 2002
+++ Makefile	Tue Feb  5 18:51:42 2002
@@ -20,4 +20,8 @@
 GNU_CONFIGURE=	yes
 INSTALLS_SHLIB=	yes
 
+pre-patch:
+	@find ${WRKSRC} -name "*.[ch]" | xargs ${PERL} -pi -e \
+		's|malloc\.h|stdlib.h|g'
+
 .include <bsd.port.mk>
>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?200202060001.g1601ZF24304>