summaryrefslogtreecommitdiff
path: root/devel/tavrasm/patches
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-09-11 18:08:44 +0000
committerjmmv <jmmv>2003-09-11 18:08:44 +0000
commit3a7d828d750b9c5213ef2e4507f08dfe7543294f (patch)
treefd5b3176bcfc4e22f3c8b699feca779a8e2a6487 /devel/tavrasm/patches
parent7e098a34f3456626dc5eca0c7f91b272cc2ad54c (diff)
downloadpkgsrc-3a7d828d750b9c5213ef2e4507f08dfe7543294f.tar.gz
Update to 1.19. Closes PR pkg/22711 by Lloyd Parkes. Changes since 1.17:
1.19 - Messed up applying some of the patches in 1.18 :-( 1.18 - Added support for specifying unsigned integer values [0; 2^32-1] Thanks to Richard Gerrits for pointing out the problem. Added support for specifying Z/Y/Z for adiw, sbiw and movw. Thanks to Richard Barrington for suggesting this. Added support for a bunch of Mega devices. Thanks to Andreas Schwarz for supplying a patch with these. Fixed problems compiling with GCC 3.2 Several people supplied patches, but I was just too busy integrating them. Thanks to Patrick Dreker for supplying the final patch.
Diffstat (limited to 'devel/tavrasm/patches')
-rw-r--r--devel/tavrasm/patches/patch-aa18
1 files changed, 14 insertions, 4 deletions
diff --git a/devel/tavrasm/patches/patch-aa b/devel/tavrasm/patches/patch-aa
index a907758391f..11ba9697b7d 100644
--- a/devel/tavrasm/patches/patch-aa
+++ b/devel/tavrasm/patches/patch-aa
@@ -1,10 +1,20 @@
-$NetBSD: patch-aa,v 1.2 2002/08/20 08:30:46 dillo Exp $
+$NetBSD: patch-aa,v 1.3 2003/09/11 18:08:45 jmmv Exp $
---- makefile.orig Tue Apr 3 10:27:39 2001
+--- makefile.orig 2003-03-12 01:56:02.000000000 +0100
+++ makefile
-@@ -30,6 +30,8 @@ CPPFLAGS =
+@@ -24,12 +24,14 @@ VERSION = 117
+
+ ### Compiler options #########################################################
+
+-CC = gcc
+-CFLAGS = -O2 -Wall -DAVRLANG=LANGUAGE_$(LANGUAGE)
+-CPPFLAGS =
++CC ?= gcc
++CFLAGS += -DAVRLANG=LANGUAGE_$(LANGUAGE)
++CPPFLAGS ?=
CCFLAGS = $(CFLAGS) $(CPPFLAGS)
- LINK = -lm
+-LINK = -lm -lstdc++
++LINK = $(LDFLAGS) $(LIBS) -lm -lstdc++
OBJS = avrparse.o avrlex.o avrasm.o symbol.o semantic.o utils.o
+LEX = lex
+YACC = bison