head 1.5; access; symbols pkgsrc-2020Q4:1.4.0.50 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.48 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.44 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.24 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.46 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.42 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.40 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.38 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.36 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.34 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.32 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.30 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.28 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.26 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.22 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.20 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.18 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.16 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.14 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.12 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.10 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.8 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.6 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.4 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.2 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.2.0.24 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.22 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.20 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.18 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.16 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.14 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.12 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.10 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.2.0.8 pkgsrc-2012Q3-base:1.2 pkgsrc-2012Q2:1.2.0.6 pkgsrc-2012Q2-base:1.2 pkgsrc-2012Q1:1.2.0.4 pkgsrc-2012Q1-base:1.2 pkgsrc-2011Q4:1.2.0.2 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q3:1.1.1.1.0.66 pkgsrc-2011Q3-base:1.1.1.1 pkgsrc-2011Q2:1.1.1.1.0.64 pkgsrc-2011Q2-base:1.1.1.1 pkgsrc-2011Q1:1.1.1.1.0.62 pkgsrc-2011Q1-base:1.1.1.1 pkgsrc-2010Q4:1.1.1.1.0.60 pkgsrc-2010Q4-base:1.1.1.1 pkgsrc-2010Q3:1.1.1.1.0.58 pkgsrc-2010Q3-base:1.1.1.1 pkgsrc-2010Q2:1.1.1.1.0.56 pkgsrc-2010Q2-base:1.1.1.1 pkgsrc-2010Q1:1.1.1.1.0.54 pkgsrc-2010Q1-base:1.1.1.1 pkgsrc-2009Q4:1.1.1.1.0.52 pkgsrc-2009Q4-base:1.1.1.1 pkgsrc-2009Q3:1.1.1.1.0.50 pkgsrc-2009Q3-base:1.1.1.1 pkgsrc-2009Q2:1.1.1.1.0.48 pkgsrc-2009Q2-base:1.1.1.1 pkgsrc-2009Q1:1.1.1.1.0.46 pkgsrc-2009Q1-base:1.1.1.1 pkgsrc-2008Q4:1.1.1.1.0.44 pkgsrc-2008Q4-base:1.1.1.1 pkgsrc-2008Q3:1.1.1.1.0.42 pkgsrc-2008Q3-base:1.1.1.1 cube-native-xorg:1.1.1.1.0.40 cube-native-xorg-base:1.1.1.1 pkgsrc-2008Q2:1.1.1.1.0.38 pkgsrc-2008Q2-base:1.1.1.1 cwrapper:1.1.1.1.0.36 pkgsrc-2008Q1:1.1.1.1.0.34 pkgsrc-2008Q1-base:1.1.1.1 pkgsrc-2007Q4:1.1.1.1.0.32 pkgsrc-2007Q4-base:1.1.1.1 pkgsrc-2007Q3:1.1.1.1.0.30 pkgsrc-2007Q3-base:1.1.1.1 pkgsrc-2007Q2:1.1.1.1.0.28 pkgsrc-2007Q2-base:1.1.1.1 pkgsrc-2007Q1:1.1.1.1.0.26 pkgsrc-2007Q1-base:1.1.1.1 pkgsrc-2006Q4:1.1.1.1.0.24 pkgsrc-2006Q4-base:1.1.1.1 pkgsrc-2006Q3:1.1.1.1.0.22 pkgsrc-2006Q3-base:1.1.1.1 pkgsrc-2006Q2:1.1.1.1.0.20 pkgsrc-2006Q2-base:1.1.1.1 pkgsrc-2006Q1:1.1.1.1.0.18 pkgsrc-2006Q1-base:1.1.1.1 pkgsrc-2005Q4:1.1.1.1.0.16 pkgsrc-2005Q4-base:1.1.1.1 pkgsrc-2005Q3:1.1.1.1.0.14 pkgsrc-2005Q3-base:1.1.1.1 pkgsrc-2005Q2:1.1.1.1.0.12 pkgsrc-2005Q2-base:1.1.1.1 pkgsrc-2005Q1:1.1.1.1.0.10 pkgsrc-2005Q1-base:1.1.1.1 pkgsrc-2004Q4:1.1.1.1.0.8 pkgsrc-2004Q4-base:1.1.1.1 pkgsrc-2004Q3:1.1.1.1.0.6 pkgsrc-2004Q3-base:1.1.1.1 pkgsrc-2004Q2:1.1.1.1.0.4 pkgsrc-2004Q2-base:1.1.1.1 pkgsrc-2004Q1:1.1.1.1.0.2 pkgsrc-2004Q1-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2021.03.21.10.21.07; author fcambus; state dead; branches; next 1.4; commitid rUQyekYPu6SN7aMC; 1.4 date 2014.12.15.12.37.01; author jperkin; state Exp; branches; next 1.3; commitid CqsnH7c4UCOfq82y; 1.3 date 2014.12.09.15.10.47; author mef; state Exp; branches; next 1.2; commitid OhBsgIXFFH4Usn1y; 1.2 date 2011.11.29.06.11.53; author sbd; state Exp; branches; next 1.1; 1.1 date 2004.02.13.23.00.36; author minskim; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2004.02.13.23.00.36; author minskim; state Exp; branches; next ; desc @@ 1.5 log @atasm: update to 1.09. Pkgsrc changes: - Regenerate Makefile patch - Remove patch for GCC 2.95 introduced in 2004 ChangeLog: September 21, 2011 version 1.07 - Introduced .BANKNUM operator - Allow .SET 6 to forward reference labels - Allow leading underscores in label names - Fixed an error with command-line defines - Allow character quoting of spaces and semicolons - Allow comments to start without a preceding space - Fixed local label references inside of macros or macro parameters May 26, 2014 version 1.08 - Initial support of list files with -g command-line parameter - Allow .INCBIN to honor include paths - Missing state files no longer segfault - Double-forward defines now throw an error rather than silently generate bad code March 20, 2021 version 1.09 - Fixed a problem with filename creation when saving output to an ATR image - Fixed CVE-2019-19785: Stack-based buffer overflow in to_comma() - Fixed CVE-2019-19786: Stack-based buffer overflow in parse_expr() - Fixed CVE-2019-19787: Stack-based buffer overflow in get_signed_expression() @ text @$NetBSD: patch-aa,v 1.4 2014/12/15 12:37:01 jperkin Exp $ Honor CC, CFLAGS and LDFLAGS from pkgsrc. --- src/Makefile.orig 2009-03-17 20:39:26.000000000 +0000 +++ src/Makefile @@@@ -12,15 +12,15 @@@@ # if you are compiling under UNIX, change the above lines to # reflect the location of zlib. I use: USEZ = -DZLIB_CAPABLE -ZLIB = -lz +#ZLIB = -lz UNIX = -DUNIX # Compiler flags, if you are using egcs, pgcs, or gcc >2.8.1 use: #CFLAGS = -g -Wall $(USEZ) $(DOS) $(UNIX) -CFLAGS = -Wall $(USEZ) $(DOS) $(UNIX) -O3 -fomit-frame-pointer -march=pentiumpro +CFLAGS+ = $(USEZ) $(DOS) $(UNIX) L = $(ZLIB) -CC = gcc +#CC = gcc DESTDIR = /usr/local/bin MANDIR = /usr/local/man/man1 DOCDIR = /usr/local/doc/atasm @@@@ -42,7 +42,8 @@@@ symbol.o: symbol.h inc_path.h atasm_err. prog : $(OBJS) $(CC) -o atasm $(OBJS) $(L) - + $(CC) $(LDFLAGS) -o atasm $(OBJS) $(L) + clean: rm -f *.rej *.o *~ atasm atasm.1 atasm.exe cd ../tests && make clean @ 1.4 log @Find correct zlib. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2014/12/09 15:10:47 mef Exp $ @ 1.3 log @(pkgsrc) - to make pkglint clean, change directory organization, using BUILD_DIR= src etc. - Add LICENSE= gnu-gpl-v2 - Use SUBST instead of ${SED} at do-install: target - Newly installs example files - (invocation without argument gives error as Pass 1: Error: Cannot open file: 'test.m65' but it is the same as prev. version and user should give input) (upstream) Update 1.04 to 1.06 ------------------------------ October 10, 2003 version 1.05 - added new directives .BANK, .SET 6, and .OPT LIST/NO LIST; Preliminary support for .ATR disk images and the Atari++ emulator memory snapshots; March 17, 2009 version 1.06 - allow negative offsets with .SET 6 directives; allow arithmentic expressions in REPEAT blocks; Better detection of resized labels; Fixed a buffer overflow problem; Added -l option to allow label output; Compiling Windows executable with mingw @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2011/11/29 06:11:53 sbd Exp $ d5 9 a13 3 --- Makefile.orig 2009-03-18 05:39:26.000000000 +0900 +++ src/Makefile 2014-12-09 23:26:41.000000000 +0900 @@@@ -17,10 +17,10 @@@@ UNIX = -DUNIX @ 1.2 log @Honor LDFLAGS from pkgsrc. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1.1.1 2004/02/13 23:00:36 minskim Exp $ d5 3 a7 4 --- Makefile.orig 2003-08-23 00:53:29.000000000 +0000 +++ Makefile @@@@ -16,10 +16,10 @@@@ ZLIB = -lz UNIX = -DUNIX d10 1 d12 1 a12 1 +CFLAGS += $(USEZ) $(DOS) $(UNIX) d20 1 a20 2 @@@@ -37,7 +37,7 @@@@ setparse.o: symbol.h inc_path.o: inc_path.h inc_path.c d23 2 a24 1 - $(CC) -o atasm $(OBJS) $(L) d26 1 a26 1 d29 1 @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 1 --- Makefile.orig 2003-08-22 19:53:29.000000000 -0500 d20 9 @ 1.1.1.1 log @Import atasm-1.04 from pkgsrc-wip. Packaged by mor at linex dot com in PR pkg/22190, and modified by me. This is a 6502 cross-assembler optimized to code for the Atari 8 bit computer line. It is meant to be compatible with the Mac/65 assemlber on the native Atari 8 bit platform. @ text @@