From owner-freebsd-ports Wed Oct 31 10: 1:30 2001 Delivered-To: freebsd-ports@freebsd.org Received: from straylight.ringlet.net (sentinel.office1.bg [217.75.129.210]) by hub.freebsd.org (Postfix) with SMTP id F1AFC37B406 for ; Wed, 31 Oct 2001 10:01:11 -0800 (PST) Received: (qmail 74048 invoked by uid 1000); 31 Oct 2001 16:21:41 -0000 Date: Wed, 31 Oct 2001 18:21:41 +0200 From: Peter Pentchev To: "Thyer, Matthew" Cc: murray@freebsd.org, ports@freebsd.org Subject: Re: ports/devel/nasm fails to build on recent -CURRENT due to has been replaced by Message-ID: <20011031182141.B73971@straylight.oblivion.bg> Mail-Followup-To: "Thyer, Matthew" , murray@freebsd.org, ports@freebsd.org References: <3BDF453A.2692101B@dsto.defence.gov.au> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="wac7ysb48OaltWcw" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3BDF453A.2692101B@dsto.defence.gov.au>; from Matthew.Thyer@dsto.defence.gov.au on Wed, Oct 31, 2001 at 10:56:34AM +1030 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 --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 31, 2001 at 10:56:34AM +1030, Thyer, Matthew wrote: > cc -c -O -pipe -Wall -ansi -pedantic -I. -I.. symtab.c > In file included from symtab.c:12: > /usr/include/malloc.h:2: #error " has been replaced by " > *** Error code 1 Please try the attached patch. Also attached is a message I sent to H. Peter Anvin, who is listed as the last person who touched the nasm source :) G'luck, Peter -- No language can express every thought unambiguously, least of all this one. Index: ports/devel/nasm/files/patch-rdoff::symtab.c =================================================================== RCS file: ports/devel/nasm/files/patch-rdoff::symtab.c diff -N ports/devel/nasm/files/patch-rdoff::symtab.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ ports/devel/nasm/files/patch-rdoff::symtab.c 31 Oct 2001 14:52:42 -0000 @@ -0,0 +1,10 @@ +--- rdoff/symtab.c.old Wed Oct 31 16:52:11 2001 ++++ rdoff/symtab.c Wed Oct 31 16:52:17 2001 +@@ -9,7 +9,6 @@ + */ + #include + #include +-#include + + #include "symtab.h" + #include "hash.h" --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="hpa.mail" Date: Wed, 31 Oct 2001 18:19:42 +0200 From: Peter Pentchev To: "H. Peter Anvin" Subject: nasm build fix Message-ID: <20011031181941.A73971@straylight.oblivion.bg> Hi, I'm writing to you because your name is listed in the MODIFIED file of the nasm-0.98 distribution used by the FreeBSD Ports collection. A file in the nasm distrbution contains an '#include ' line. The header has been obsoleted by the header for the malloc(3) and free(3) functions, as per the ISO/IEC 9899:1990 ("ISO C89") standard. The FreeBSD developers decided to recently remove it, because has been the standard header file for several years now. However, there still are a couple of programs which use , and the FreeBSD Ports Collection team is working with their authors towards replacing that with the proper use of . Please find attached a patch to the nasm sources, which allows it to build again on FreeBSD 5.0-CURRENT, and should allow it to build on pretty much any recent release of most OS's. Thank you for your work on nasm! G'luck, Peter --- rdoff/symtab.c.old Wed Oct 31 16:52:11 2001 +++ rdoff/symtab.c Wed Oct 31 16:52:17 2001 @@ -9,7 +9,6 @@ */ #include #include -#include #include "symtab.h" #include "hash.h" --wac7ysb48OaltWcw-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message