head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.20 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.18 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.16 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.14 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.12 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.10 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.8 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.6 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.4 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.2 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.3.0.8 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.6 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.4 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.2 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.2.0.16 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.14 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.12 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.10 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.8 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.6 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.4 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.2 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.1.0.2; locks; strict; comment @# @; 1.4 date 2008.01.28.05.38.21; author bjs; state dead; branches; next 1.3; 1.3 date 2007.01.06.15.11.58; author jmmv; state Exp; branches; next 1.2; 1.2 date 2005.02.25.13.41.24; author tron; state dead; branches; next 1.1; 1.1 date 2005.01.06.13.06.10; author adrianp; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2005.01.06.13.06.10; author salo; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2005.01.07.01.40.27; author salo; state Exp; branches; next ; desc @@ 1.4 log @ Update to version 2.01. There are far too many changes to include here; please see the ChangeLog if interested. All patches except Makefile patches are no longer necessary. While here, add -Wno-signed-char to quiet these warnings. Also change INSTALLATION_DIRS to AUTO_MKDIRS, quiet pkglint by setting INFO_FILES=yes. @ text @$NetBSD: patch-ae,v 1.3 2007/01/06 15:11:58 jmmv Exp $ --- outform.h.orig 2005-01-15 23:15:51.000000000 +0100 +++ outform.h @@@@ -57,7 +57,7 @@@@ /* ====configurable info begins here==== */ /* formats configurable: - * bin,obj,elf,aout,aoutb,coff,win32,as86,rdf2 */ + * bin,obj,elf,aout,aoutb,coff,win32,as86,rdf2,macho */ /* process options... */ @@@@ -98,6 +98,9 @@@@ #ifndef OF_IEEE #define OF_IEEE #endif +#ifndef OF_MACHO +#define OF_MACHO +#endif #endif /* OF_ALL */ /* turn on groups of formats specified.... */ @@@@ -141,6 +144,9 @@@@ #ifndef OF_IEEE #define OF_IEEE #endif +#ifndef OF_MACHO +#define OF_MACHO +#endif #endif /* finally... override any format specifically specified to be off */ @@@@ -174,6 +180,9 @@@@ #ifdef OF_NO_IEEE #undef OF_IEEE #endif +#ifdef OF_NO_MACHO +#undef OF_MACHO +#endif #ifndef OF_DEFAULT #define OF_DEFAULT of_bin @@@@ -194,6 +203,7 @@@@ extern struct ofmt of_obj; extern struct ofmt of_win32; extern struct ofmt of_rdf2; extern struct ofmt of_ieee; +extern struct ofmt of_macho; extern struct ofmt of_dbg; struct ofmt *drivers[] = { @@@@ -227,6 +237,9 @@@@ struct ofmt *drivers[] = { #ifdef OF_IEEE &of_ieee, #endif +#ifdef OF_MACHO + &of_macho, +#endif #ifdef OF_DBG &of_dbg, #endif @ 1.3 log @Add support to generate Mach-O objects (for Intel Macs). Code taken from the CVS repository, so it will be in the next public release of nasm. Bump PKGREVISION to 3. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Remove obsolete patch files. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.1 2005/01/06 13:06:10 adrianp Exp $ d3 59 a61 15 --- ndisasm.c.orig 2002-04-30 17:04:18.000000000 -0400 +++ ndisasm.c 2004-12-15 13:27:21.000000000 -0500 @@@@ -243,10 +243,10 @@@@ nextsync = next_sync (offset, &synclen); } while (p > q && (p - q >= INSN_MAX || lenread == 0)) { - lendis = disasm (q, outbuf, bits, offset, autosync, prefer); + lendis = disasm (q, outbuf, sizeof(outbuf), bits, offset, autosync, prefer); if (!lendis || lendis > (p - q) || (unsigned long)lendis > nextsync-offset) - lendis = eatbyte (q, outbuf); + lendis = eatbyte (q, outbuf, sizeof(outbuf)); output_ins (offset, q, lendis, outbuf); q += lendis; offset += lendis; @ 1.1 log @Bump to nb1 for recent security issue: http://sourceforge.net/mailarchive/forum.php?thread_id=6166881&forum_id=4978 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1287 @ text @d1 1 a1 1 $NetBSD$ @ 1.1.2.1 log @file patch-ae was added on branch pkgsrc-2004Q4 on 2005-01-06 13:06:10 +0000 @ text @d1 17 @ 1.1.2.2 log @Pullup ticket 211 - requested by Adrian Portelli security fix for nasm Module Name: pkgsrc Committed By: adrianp Date: Thu Jan 6 13:06:10 UTC 2005 Modified Files: pkgsrc/devel/nasm: Makefile distinfo Added Files: pkgsrc/devel/nasm/patches: patch-ac patch-ad patch-ae patch-af patch-ag patch-ah patch-ai Log Message: Bump to nb1 for recent security issue: http://sourceforge.net/mailarchive/forum.php?thread_id=6166881&forum_id=4978 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1287 @ text @a0 17 $NetBSD: patch-ae,v 1.1.2.1 2005/01/07 01:40:27 salo Exp $ --- ndisasm.c.orig 2002-04-30 17:04:18.000000000 -0400 +++ ndisasm.c 2004-12-15 13:27:21.000000000 -0500 @@@@ -243,10 +243,10 @@@@ nextsync = next_sync (offset, &synclen); } while (p > q && (p - q >= INSN_MAX || lenread == 0)) { - lendis = disasm (q, outbuf, bits, offset, autosync, prefer); + lendis = disasm (q, outbuf, sizeof(outbuf), bits, offset, autosync, prefer); if (!lendis || lendis > (p - q) || (unsigned long)lendis > nextsync-offset) - lendis = eatbyte (q, outbuf); + lendis = eatbyte (q, outbuf, sizeof(outbuf)); output_ins (offset, q, lendis, outbuf); q += lendis; offset += lendis; @