head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.42 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.40 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.38 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.36 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.34 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.32 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.30 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.28 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.26 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.24 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.22 pkgsrc-2023Q3-base:1.1 pkgsrc-2023Q2:1.1.0.20 pkgsrc-2023Q2-base:1.1 pkgsrc-2023Q1:1.1.0.18 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.16 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.14 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.12 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.10 pkgsrc-2022Q1-base:1.1 pkgsrc-2021Q4:1.1.0.8 pkgsrc-2021Q4-base:1.1 pkgsrc-2021Q3:1.1.0.6 pkgsrc-2021Q3-base:1.1 pkgsrc-2021Q2:1.1.0.4 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.2 pkgsrc-2021Q1-base:1.1; locks; strict; comment @# @; 1.1 date 2021.03.21.10.21.07; author fcambus; state Exp; branches; next ; commitid rUQyekYPu6SN7aMC; desc @@ 1.1 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$ Honor CC, CFLAGS and LDFLAGS from pkgsrc. --- src/Makefile.orig 2021-03-20 15:15:32.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 -I../zlib -ZLIB = -L../zlib -lz +#ZLIB = -L../zlib -lz UNIX = -DUNIX # Compiler flags, if you are using egcs, pgcs, or gcc >2.8.1 use: #CFLAGS = -g -Wall $(USEZ) $(DOS) $(UNIX) $(ARCH) -CFLAGS = -Wall $(USEZ) $(DOS) $(UNIX) -O3 -fomit-frame-pointer $(ARCH) +CFLAGS += $(USEZ) $(DOS) $(UNIX) L = $(ZLIB) -CC = gcc +#CC = gcc DESTDIR = /usr/local/bin MANDIR = /usr/local/man/man1 DOCDIR = /usr/local/doc/atasm @@@@ -41,7 +41,7 @@@@ state2.o: symbol.h symbol.o: symbol.h inc_path.h atasm_err.h prog : $(OBJS) - $(CC) -o atasm $(OBJS) $(L) $(ARCH) + $(CC) $(LDFLAGS) -o atasm $(OBJS) $(L) $(ARCH) clean: rm -f *.rej *.o *~ atasm atasm.1 atasm.exe @