pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/tavrasm Don't use malloc.h. While here, depend o...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/95ac922045f8
branches:  trunk
changeset: 531938:95ac922045f8
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Aug 08 21:02:53 2007 +0000

description:
Don't use malloc.h. While here, depend on bison using tools framework,
not directly.

diffstat:

 devel/tavrasm/Makefile         |   6 ++----
 devel/tavrasm/distinfo         |   3 ++-
 devel/tavrasm/patches/patch-ab |  13 +++++++++++++
 3 files changed, 17 insertions(+), 5 deletions(-)

diffs (51 lines):

diff -r cbda68eadbf1 -r 95ac922045f8 devel/tavrasm/Makefile
--- a/devel/tavrasm/Makefile    Wed Aug 08 20:53:47 2007 +0000
+++ b/devel/tavrasm/Makefile    Wed Aug 08 21:02:53 2007 +0000
@@ -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 @@
 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 -r cbda68eadbf1 -r 95ac922045f8 devel/tavrasm/distinfo
--- a/devel/tavrasm/distinfo    Wed Aug 08 20:53:47 2007 +0000
+++ b/devel/tavrasm/distinfo    Wed Aug 08 21:02:53 2007 +0000
@@ -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 -r cbda68eadbf1 -r 95ac922045f8 devel/tavrasm/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/tavrasm/patches/patch-ab    Wed Aug 08 21:02:53 2007 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index