summaryrefslogtreecommitdiff
path: root/devel/tavrasm
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-08-08 21:02:53 +0000
committerjoerg <joerg@pkgsrc.org>2007-08-08 21:02:53 +0000
commit27ea3183bc7b1c19de97fa5bdccb857b3618e34d (patch)
tree87bcac81a86bf15ead8fe53695e50823b200098f /devel/tavrasm
parentd7cae3e665ec15df69e0943397803def350834fa (diff)
downloadpkgsrc-27ea3183bc7b1c19de97fa5bdccb857b3618e34d.tar.gz
Don't use malloc.h. While here, depend on bison using tools framework,
not directly.
Diffstat (limited to 'devel/tavrasm')
-rw-r--r--devel/tavrasm/Makefile6
-rw-r--r--devel/tavrasm/distinfo3
-rw-r--r--devel/tavrasm/patches/patch-ab13
3 files changed, 17 insertions, 5 deletions
diff --git a/devel/tavrasm/Makefile b/devel/tavrasm/Makefile
index ef2c0efbd84..4841c373409 100644
--- a/devel/tavrasm/Makefile
+++ b/devel/tavrasm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/10/01 21:03:36 dillo Exp $
+# $NetBSD: Makefile,v 1.15 2007/08/08 21:02:53 joerg Exp $
#
DISTNAME= tavrasm
@@ -10,11 +10,9 @@ MAINTAINER= dillo@NetBSD.org
HOMEPAGE= http://www.tavrasm.org/
COMMENT= Assembler for the Atmel AVR series of microcontrollers
-BUILD_DEPENDS+= bison-[0-9]*:../../devel/bison
-
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV:S/.//:S/-/./}
BUILD_DIRS= src
-USE_TOOLS+= lex
+USE_TOOLS+= lex bison
MAKE_FILE= makefile
DIST_SUBDIR= ${PKGNAME_NOREV}
diff --git a/devel/tavrasm/distinfo b/devel/tavrasm/distinfo
index eb9d3899138..1c4143f2d9d 100644
--- a/devel/tavrasm/distinfo
+++ b/devel/tavrasm/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.9 2006/10/01 21:03:36 dillo Exp $
+$NetBSD: distinfo,v 1.10 2007/08/08 21:02:53 joerg Exp $
SHA1 (tavrasm-1.22/tavrasm.tar.gz) = 9d19035b9fcc460a33a85338010541824633c417
RMD160 (tavrasm-1.22/tavrasm.tar.gz) = 1e0f4553be660ebcfa44b2a9d81b3936997492e2
Size (tavrasm-1.22/tavrasm.tar.gz) = 65685 bytes
SHA1 (patch-aa) = 45442e39cee3daaf08361811ec8607b59c223a2c
+SHA1 (patch-ab) = 209bbf9f2ce809d0d7460355258ab5b6d955d9a6
diff --git a/devel/tavrasm/patches/patch-ab b/devel/tavrasm/patches/patch-ab
new file mode 100644
index 00000000000..b163c9f27ac
--- /dev/null
+++ b/devel/tavrasm/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.3 2007/08/08 21:02:53 joerg Exp $
+
+--- src/avrparse.y.orig 2007-08-08 20:40:42.000000000 +0000
++++ src/avrparse.y
+@@ -46,7 +46,7 @@
+
+ #include <string.h>
+ #include <stdio.h>
+-#include <malloc.h>
++#include <stdlib.h>
+ #include "avrasm.hh"
+ #include "symbol.hh"
+ #include "semantic.hh"