From owner-freebsd-ports Tue Feb 5 16:10: 8 2002 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 C5ADD37B436 for ; Tue, 5 Feb 2002 16:10:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g160A1B43784; Tue, 5 Feb 2002 16:10:01 -0800 (PST) (envelope-from gnats) Received: from shumai.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id 264E637B427 for ; Tue, 5 Feb 2002 16:01:27 -0800 (PST) Received: (from marcus@localhost) by shumai.marcuscom.com (8.11.6/8.11.6) id g1601ZF24304; Tue, 5 Feb 2002 19:01:35 -0500 (EST) (envelope-from marcus) Message-Id: <200202060001.g1601ZF24304@shumai.marcuscom.com> Date: Tue, 5 Feb 2002 19:01:35 -0500 (EST) From: Joe Marcus Clarke Reply-To: Joe Marcus Clarke To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/34652: [PATCH] Remove malloc.h from textproc/libxml 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: 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 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message