pkgsrc-WIP-changes archive

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

avr-gdb: Update to 12.1



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By:	micha
Date:		Fri Jun 17 12:22:13 2022 +0200
Changeset:	1401a8644a5232fa5038262b6ff8df76aeadf11c

Modified Files:
	avr-gdb/COMMIT_MSG
	avr-gdb/Makefile
	avr-gdb/TODO
	avr-gdb/distinfo
Added Files:
	avr-gdb/patches/patch-gdb_configure
	avr-gdb/patches/patch-gdb_configure.ac

Log Message:
avr-gdb: Update to 12.1

Homepage added.
Dependencies GMP and source-highlight added.
Patch for nonportable shell syntax added.

Upstream changelog:
<https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-12.1-release>

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1401a8644a5232fa5038262b6ff8df76aeadf11c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 avr-gdb/COMMIT_MSG                     | 10 +++++++---
 avr-gdb/Makefile                       |  6 +++++-
 avr-gdb/TODO                           | 15 ++++++++++++---
 avr-gdb/distinfo                       |  8 +++++---
 avr-gdb/patches/patch-gdb_configure    | 16 ++++++++++++++++
 avr-gdb/patches/patch-gdb_configure.ac | 16 ++++++++++++++++
 6 files changed, 61 insertions(+), 10 deletions(-)

diffs:
diff --git a/avr-gdb/COMMIT_MSG b/avr-gdb/COMMIT_MSG
index 04c47466cc..e48d699567 100644
--- a/avr-gdb/COMMIT_MSG
+++ b/avr-gdb/COMMIT_MSG
@@ -1,4 +1,8 @@
-avr-gdb: Update to 10.2
+avr-gdb: Update to 12.1
 
-Changelog:
-https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-10.2-release
+Homepage added.
+Dependencies GMP and source-highlight added.
+Patch for nonportable shell syntax added.
+
+Upstream changelog:
+<https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-12.1-release>
diff --git a/avr-gdb/Makefile b/avr-gdb/Makefile
index 91969d6921..3fe54079a1 100644
--- a/avr-gdb/Makefile
+++ b/avr-gdb/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	gdb-10.2
+DISTNAME=	gdb-12.1
 PKGNAME=	${DISTNAME:S/^/avr-/}
 CATEGORIES=	cross
 MASTER_SITES=	${MASTER_SITE_GNU:=gdb/}
@@ -8,6 +8,7 @@ MASTER_SITES=	${MASTER_SITE_GNU:=gdb/}
 MAKE_JOBS_SAFE=	yes
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://sourceware.org/gdb/
 COMMENT=	GNU gdb for Atmel AVR 8-bit RISC microcontrollers
 LICENSE=	gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3
 
@@ -35,6 +36,9 @@ TEST_DEPENDS+=		dejagnu>=1.6.2:../../devel/dejagnu
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb ${DESTDIR}${PREFIX}/bin/avr-gdb
 
+.include "../../devel/gmp/buildlink3.mk"
 .include "../../mk/curses.buildlink3.mk"
 .include "../../mk/termcap.buildlink3.mk"
+.include "../../textproc/source-highlight/buildlink3.mk"
+
 .include "../../mk/bsd.pkg.mk"
diff --git a/avr-gdb/TODO b/avr-gdb/TODO
index d717ca9722..010b8953cf 100644
--- a/avr-gdb/TODO
+++ b/avr-gdb/TODO
@@ -1,8 +1,18 @@
 make test results
 -----------------
 
-NetBSD/amd64 9.0
-Timeout for most tests.
+NetBSD/amd64 9.2 (gdb-12.1, avr-gcc 10.3.0, avr-libc 2.1.0)
+One test fails (FAIL: allocfail.sh)
+============================================================================
+Testsuite summary for package-unused version-unused
+============================================================================
+# TOTAL: 33
+# PASS:  32
+# SKIP:  0
+# XFAIL: 0
+# FAIL:  1
+# XPASS: 0
+# ERROR: 0
 
 NetBSD/amd64 6.1
 (After avr-libc installed)
@@ -26,4 +36,3 @@ NetBSD/amd64 6.1 (gdb-7.6.1, avr-gcc 4.5.3, avr-libc 1.8.0)
 # of untested testcases         161
 # of unresolved testcases       108
 # of unsupported tests          188
-
diff --git a/avr-gdb/distinfo b/avr-gdb/distinfo
index 4803954f8c..fd605b5c02 100644
--- a/avr-gdb/distinfo
+++ b/avr-gdb/distinfo
@@ -1,5 +1,7 @@
 $NetBSD: distinfo,v 1.4 2014/08/29 07:17:45 makoto Exp $
 
-RMD160 (gdb-10.2.tar.gz) = be6e1cea6f50a6a7cdaab925828524b278573ec4
-SHA512 (gdb-10.2.tar.gz) = aa89caf47c1c84366020377d47e7c51ddbc48e5b7686f244e38797c8eb88411cf57fcdc37eb669961efb41ceeac4181747f429625fd1acce7712cb9a1fea9c41
-Size (gdb-10.2.tar.gz) = 40267550 bytes
+BLAKE2s (gdb-12.1.tar.gz) = 7542e0be93cb2eb70e719fed675d5b0aa65a129b99ce5d82fc5ba1823fca7707
+SHA512 (gdb-12.1.tar.gz) = 2db1798a91d96c622e74cf4b6545982f99daab2cbe4bb5985d34d13518cf0bc0d50c88d47e375695dd64bc7801edcdccb7e89fadedf54bf1aa67fa6810627e0f
+Size (gdb-12.1.tar.gz) = 38604458 bytes
+SHA1 (patch-gdb_configure) = ae7e0f1a410cdf89d2cc5c0cf03e3c8aa7e6e700
+SHA1 (patch-gdb_configure.ac) = 64bd69d63ca71eb2d2c2d35c28180909c6ff4968
diff --git a/avr-gdb/patches/patch-gdb_configure b/avr-gdb/patches/patch-gdb_configure
new file mode 100644
index 0000000000..09a983114d
--- /dev/null
+++ b/avr-gdb/patches/patch-gdb_configure
@@ -0,0 +1,16 @@
+$NetBSD$
+
+Nonportable shell syntax fixed.
+This patch is intended as workaround until configure.ac patch is merged.
+
+--- gdb/configure.orig	2022-05-01 18:46:31.000000000 +0000
++++ gdb/configure
+@@ -18834,7 +18834,7 @@ else
+ fi
+ 
+ 
+-if test "${enable_libbacktrace}" == "yes"; then
++if test "${enable_libbacktrace}" = "yes"; then
+   LIBBACKTRACE_INC="-I$srcdir/../libbacktrace/ -I../libbacktrace/"
+   LIBBACKTRACE_LIB=../libbacktrace/.libs/libbacktrace.a
+ 
diff --git a/avr-gdb/patches/patch-gdb_configure.ac b/avr-gdb/patches/patch-gdb_configure.ac
new file mode 100644
index 0000000000..2ba73c91c1
--- /dev/null
+++ b/avr-gdb/patches/patch-gdb_configure.ac
@@ -0,0 +1,16 @@
+$NetBSD$
+
+Nonportable shell syntax fixed.
+This patch is intended for upstream.
+
+--- gdb/configure.ac.orig	2022-05-01 18:46:31.000000000 +0000
++++ gdb/configure.ac
+@@ -2120,7 +2120,7 @@ AC_ARG_ENABLE([libbacktrace],
+ esac],
+ enable_libbacktrace=yes)
+ 
+-if test "${enable_libbacktrace}" == "yes"; then
++if test "${enable_libbacktrace}" = "yes"; then
+   LIBBACKTRACE_INC="-I$srcdir/../libbacktrace/ -I../libbacktrace/"
+   LIBBACKTRACE_LIB=../libbacktrace/.libs/libbacktrace.a
+   AC_DEFINE(HAVE_LIBBACKTRACE, 1, [Define if libbacktrace is being used.])


Home | Main Index | Thread Index | Old Index