--- xa-2.3.8.orig/Makefile +++ xa-2.3.8/Makefile @@ -4,8 +4,8 @@ LD = gcc # for testing. not to be used; build failures in misc/. #CFLAGS = -O2 -W -Wall -pedantic -ansi -CFLAGS = -O2 -LDFLAGS = -lc +CFLAGS += -O2 +LDFLAGS += -lc # for DOS? # CC = gcc-go32 @@ -32,13 +32,13 @@ rm -f xa xa: - (cd src && LD=${LD} CC="${CC} ${CFLAGS}" ${MAKE}) + (cd src && LD=${LD} CC="${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}" ${MAKE}) load: - (cd loader && CC="${CC} ${CFLAGS}" ${MAKE}) + (cd loader && CC="${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}" ${MAKE}) uncpk: - (cd misc && CC="${CC} ${CFLAGS}" ${MAKE}) + (cd misc && CC="${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}" ${MAKE}) dos: clean (cd src && LD=gcc-go32 CC=gcc-go32 CFLAGS="-W -Wall -pedantic" ${MAKE}) --- xa-2.3.8.orig/debian/changelog +++ xa-2.3.8/debian/changelog @@ -0,0 +1,79 @@ +xa (2.3.8-2) unstable; urgency=low + + * debian/control: + - Bump Standards-Version to 4.1.1 + * New upload signed with correct key + + -- David Weinehall Tue, 31 Oct 2017 22:37:07 +0200 + +xa (2.3.8-1) unstable; urgency=low + + * New upstream release + * Switch to debhelper 10 + * debian/control: + - Bump Standards-Version to 4.1.0 + - Build-Depends: debhelper (>= 10) + * debian/copyright: + - Modified to be machine readable + * debian/rules: + - Override dh_auto_test; the test suite causes the package to FTBFS + + -- David Weinehall Sat, 16 Sep 2017 00:05:46 +0400 + +xa (2.3.7-1) experimental; urgency=low + + * New upstream release (Closes: #773717) + | Thanks Andreas Hausmann + * Makefile: modified to handle CFLAGS/CPPFLAGS/LDFLAGS properly + | This is needed to enable hardening + * Switch to debhelper 9 + * debian/compat: + - Use compat level 9 to enable hardening + * Added debian/source/format (1.0) + * Added debian/watch + * Added debian/doc-base + * debian/control: + - Bump Standards-Version to 3.9.6 + - Build-Depends: debhelper (>= 9) + - Depends: ${misc:depends} + * debian/rules: + - Minimised, thanks to new version of debhelper + + -- David Weinehall Wed, 07 Jan 2015 00:06:39 +0200 + +xa (2.3.5-1) unstable; urgency=low + + * New upstream release + * Added link to upstream web site + * Bump Standards-Version to 3.8.2 + + -- David Weinehall Sun, 12 Jul 2009 22:56:19 +0300 + +xa (2.3.3-1) unstable; urgency=low + + * New upstream release + * Bump Standards-Version to 3.7.3 (No changes needed) + * debian/copyright: Converted to UTF-8 + * debian/rules: Don't ignore errors from make clean + + -- David Weinehall Tue, 01 Apr 2008 02:04:25 +0300 + +xa (2.3.0-2) unstable; urgency=low + + * Update upstream maintainer's email address + * Bump Standards-Version to 3.7.2.2 (No changes needed) + + -- David Weinehall Thu, 26 Oct 2006 00:02:17 +0300 + +xa (2.3.0-1) unstable; urgency=low + + * New upstream version + - Forcing of absoluting addressing now works (Closes: #208969) + + -- David Weinehall Wed, 12 Apr 2006 17:14:24 +0300 + +xa (2.2.0-p1-1) unstable; urgency=low + + * Initial Release (Closes: #160023) + + -- David Weinehall Sun, 27 Jul 2003 22:00:28 +0200 --- xa-2.3.8.orig/debian/compat +++ xa-2.3.8/debian/compat @@ -0,0 +1 @@ +10 --- xa-2.3.8.orig/debian/control +++ xa-2.3.8/debian/control @@ -0,0 +1,16 @@ +Source: xa +Section: devel +Priority: optional +Maintainer: David Weinehall +Build-Depends: debhelper (>= 10) +Standards-Version: 4.1.1 +Homepage: http://www.floodgap.com/retrotech/xa/ + +Package: xa65 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: cross-assembler and utility suite for 65xx/65816 processors + xa65 is a cross-assembler and utility suite for the 65xx series of + 8-bit processors, and the 65816, a 16-bit version of the processor. + The 6502 was used in computers such as the Commodore 64, Apple II, + and many more. --- xa-2.3.8.orig/debian/copyright +++ xa-2.3.8/debian/copyright @@ -0,0 +1,21 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: xa +Upstream-Contact: Cameron Kaiser +Source: http://www.floodgap.com/retrotech/xa/ + +Files: * +Copyright: 1989-2017 André Fachar, Jolse Maginnis, David Weinehall and Cameron Kaiser +License: GPL-2+ + This program is free software; you may redistribute it and/or modify it + under the terms of the GNU General Public License as published by the + Free Software Foundation; either version 2 of the License, or (at your + option) any later version. + . + This is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + . + A copy of the GNU General Public License is available as + /usr/share/common-licenses/GPL in the Debian distribution or on the World + Wide Web at https://www.gnu.org/licenses/. --- xa-2.3.8.orig/debian/doc-base +++ xa-2.3.8/debian/doc-base @@ -0,0 +1,9 @@ +Document: xa65 +Title: XA 6502 Cross Assembler +Author: André Fachat +Abstract: This is a brief description of XA 6502 +Section: Programming + +Format: HTML +Index: /usr/share/doc/xa65/xa.html +Files: /usr/share/doc/xa65/xa.html --- xa-2.3.8.orig/debian/docs +++ xa-2.3.8/debian/docs @@ -0,0 +1,5 @@ +README.1st +TODO +doc/fileformat.txt +doc/xa.txt +doc/xa.html --- xa-2.3.8.orig/debian/examples +++ xa-2.3.8/debian/examples @@ -0,0 +1 @@ +examples/* --- xa-2.3.8.orig/debian/rules +++ xa-2.3.8/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f + +override_dh_auto_install: + make install DESTDIR=$(CURDIR)/debian/xa65/usr + +override_dh_auto_test: + +%: + dh $@ --- xa-2.3.8.orig/debian/source/format +++ xa-2.3.8/debian/source/format @@ -0,0 +1 @@ +1.0 --- xa-2.3.8.orig/debian/watch +++ xa-2.3.8/debian/watch @@ -0,0 +1,3 @@ +# watch control file for uscan +version=2 +http://www.floodgap.com/retrotech/xa/dists/xa-(.*)\.tar\.gz debian uupdate --- xa-2.3.8.orig/src/Makefile +++ xa-2.3.8/src/Makefile @@ -8,7 +8,7 @@ all: xa xa: ${OBJ} - ${LD} -o ../xa ${OBJ} ${LDFLAGS} + ${LD} ${CPPFLAGS} ${CFLAGS} -o ../xa ${OBJ} ${LDFLAGS} clean: rm -f *.o *.o65