pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/cross/avr-gdb Fixed pkglint warnings:
details: https://anonhg.NetBSD.org/pkgsrc/rev/36bb56b40a83
branches: trunk
changeset: 502518:36bb56b40a83
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Nov 05 17:14:52 2005 +0000
description:
Fixed pkglint warnings:
- Using "+=" with CONFIGURE_ARGS.
- Converted patch-ab to unified format.
- Replaced ${PKGNAME:...} with a simple "avr-gdb".
diffstat:
cross/avr-gdb/Makefile | 12 ++++++------
cross/avr-gdb/distinfo | 4 ++--
cross/avr-gdb/patches/patch-ab | 28 +++++++++++++---------------
3 files changed, 21 insertions(+), 23 deletions(-)
diffs (77 lines):
diff -r c8a505c827b6 -r 36bb56b40a83 cross/avr-gdb/Makefile
--- a/cross/avr-gdb/Makefile Sat Nov 05 16:58:34 2005 +0000
+++ b/cross/avr-gdb/Makefile Sat Nov 05 17:14:52 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2005/06/16 06:57:44 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2005/11/05 17:14:52 rillig Exp $
DISTNAME= gdb-5.3
PKGNAME= avr-gdb-5.3
@@ -9,9 +9,10 @@
MAINTAINER= karlj%mdstud.chalmers.se@localhost
COMMENT= GNU gdb for Atmel AVR 8-bit RISC microcontrollers
-USE_TOOLS+= gmake
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --target=avr --program-prefix=avr
+USE_TOOLS+= gmake
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --target=avr
+CONFIGURE_ARGS+= --program-prefix=avr
INSTALLATION_DIRS= bin
@@ -19,7 +20,6 @@
cd ${WRKSRC} ; ${RM} -rf dejagnu expect sim tcl texinfo
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb \
- ${PREFIX}/bin/${PKGNAME:C/-[^-]*$//}
+ ${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb ${PREFIX}/bin/avr-gdb
.include "../../mk/bsd.pkg.mk"
diff -r c8a505c827b6 -r 36bb56b40a83 cross/avr-gdb/distinfo
--- a/cross/avr-gdb/distinfo Sat Nov 05 16:58:34 2005 +0000
+++ b/cross/avr-gdb/distinfo Sat Nov 05 17:14:52 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2005/02/24 10:16:52 agc Exp $
+$NetBSD: distinfo,v 1.6 2005/11/05 17:14:52 rillig Exp $
SHA1 (gdb-5.3.tar.gz) = 24a6c9da6e89b1b82b7508f27f94098d989ff662
RMD160 (gdb-5.3.tar.gz) = 3f88dc11115de08708c50c73b10acaf00ed25e96
Size (gdb-5.3.tar.gz) = 14707600 bytes
-SHA1 (patch-ab) = b74ff228047ccb45267e1302e4bef20716b255f4
+SHA1 (patch-ab) = 005c0ca2aea16927504e102f85638a65fd610597
diff -r c8a505c827b6 -r 36bb56b40a83 cross/avr-gdb/patches/patch-ab
--- a/cross/avr-gdb/patches/patch-ab Sat Nov 05 16:58:34 2005 +0000
+++ b/cross/avr-gdb/patches/patch-ab Sat Nov 05 17:14:52 2005 +0000
@@ -1,16 +1,14 @@
-$NetBSD: patch-ab,v 1.1 2003/10/21 14:19:37 wennmach Exp $
+$NetBSD: patch-ab,v 1.2 2005/11/05 17:14:52 rillig Exp $
-*** gdb/avr-tdep.c.org Sun Oct 12 02:35:53 2003
---- gdb/avr-tdep.c Sun Oct 12 02:58:30 2003
-***************
-*** 480,485 ****
---- 480,488 ----
- prologue_end = fi->pc;
- else if (sal.end < prologue_end) /* next line begins after fn end */
- prologue_end = sal.end; /* (probably means no prologue) */
-+
-+ /* Check that we don't use a prologue larger then AVR_MAX_PROLOGUE_SIZE */
-+ prologue_end = min (prologue_end, prologue_start + AVR_MAX_PROLOGUE_SIZE);
- }
- else
- /* We're in the boondocks: allow for */
+--- gdb/avr-tdep.c.orig Wed Sep 18 19:14:22 2002
++++ gdb/avr-tdep.c Sat Nov 5 18:12:23 2005
+@@ -480,6 +480,9 @@ avr_scan_prologue (struct frame_info *fi
+ prologue_end = fi->pc;
+ else if (sal.end < prologue_end) /* next line begins after fn end */
+ prologue_end = sal.end; /* (probably means no prologue) */
++
++ /* Check that we don't use a prologue larger then AVR_MAX_PROLOGUE_SIZE */
++ prologue_end = min (prologue_end, prologue_start + AVR_MAX_PROLOGUE_SIZE);
+ }
+ else
+ /* We're in the boondocks: allow for */
Home |
Main Index |
Thread Index |
Old Index