pkgsrc-WIP-changes archive

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

avr-gdb: Update to 14.2



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By:	micha
Date:		Fri Apr 26 18:10:08 2024 +0200
Changeset:	ceaa91e717bf7b1ea64145d3796fca3731df1468

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

Log Message:
avr-gdb: Update to 14.2

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

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

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

diffs:
diff --git a/avr-gdb/COMMIT_MSG b/avr-gdb/COMMIT_MSG
index 8bc0404a39..fea864bb2a 100644
--- a/avr-gdb/COMMIT_MSG
+++ b/avr-gdb/COMMIT_MSG
@@ -1,8 +1,9 @@
-cross/avr-gdb: Update to 12.1
+cross/avr-gdb: Update to 14.2
 
 Homepage added.
-Dependencies GMP and source-highlight added.
-Patch for nonportable shell syntax added.
+Dependencies updated.
 
 Upstream changelog:
+<https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-14.2-release>
+<https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-13.2-release>
 <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 3fe54079a1..acfe33027e 100644
--- a/avr-gdb/Makefile
+++ b/avr-gdb/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=	gdb-12.1
+DISTNAME=	gdb-14.2
 PKGNAME=	${DISTNAME:S/^/avr-/}
 CATEGORIES=	cross
 MASTER_SITES=	${MASTER_SITE_GNU:=gdb/}
@@ -12,7 +12,10 @@ 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
 
-USE_LANGUAGES=		c c++11
+USE_LANGUAGES=		c c++
+USE_CXX_FEATURES+=	c++11
+FORCE_CXX_STD=		c++11
+
 USE_TOOLS+=		bash gmake
 CONFIG_SHELL=		${TOOLS_PATH.bash}
 GNU_CONFIGURE=		yes
@@ -36,7 +39,10 @@ TEST_DEPENDS+=		dejagnu>=1.6.2:../../devel/dejagnu
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb ${DESTDIR}${PREFIX}/bin/avr-gdb
 
+.include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/gmp/buildlink3.mk"
+BUILDLINK_API_DEPENDS.mpfr+=	mpfr>=3.1.0
+.include "../../math/mpfr/buildlink3.mk"
 .include "../../mk/curses.buildlink3.mk"
 .include "../../mk/termcap.buildlink3.mk"
 .include "../../textproc/source-highlight/buildlink3.mk"
diff --git a/avr-gdb/distinfo b/avr-gdb/distinfo
index fd605b5c02..aa19a8873a 100644
--- a/avr-gdb/distinfo
+++ b/avr-gdb/distinfo
@@ -1,7 +1,7 @@
 $NetBSD: distinfo,v 1.4 2014/08/29 07:17:45 makoto Exp $
 
-BLAKE2s (gdb-12.1.tar.gz) = 7542e0be93cb2eb70e719fed675d5b0aa65a129b99ce5d82fc5ba1823fca7707
-SHA512 (gdb-12.1.tar.gz) = 2db1798a91d96c622e74cf4b6545982f99daab2cbe4bb5985d34d13518cf0bc0d50c88d47e375695dd64bc7801edcdccb7e89fadedf54bf1aa67fa6810627e0f
-Size (gdb-12.1.tar.gz) = 38604458 bytes
+BLAKE2s (gdb-14.2.tar.gz) = 0d56cb1743813ef8e3ff72c5683932db946af9eddb2b758381547248f5fd26c0
+SHA512 (gdb-14.2.tar.gz) = b24a72e0b6552873b97a42d7c81ea1ea03c14e62098d794c423e57a1e4f2a2fb4cd9db49cd20189afa11e1d178da5ac061556c2f8424a943f8e0fc30b2ff4c63
+Size (gdb-14.2.tar.gz) = 41051885 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
deleted file mode 100644
index 09a983114d..0000000000
--- a/avr-gdb/patches/patch-gdb_configure
+++ /dev/null
@@ -1,16 +0,0 @@
-$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
deleted file mode 100644
index 2ba73c91c1..0000000000
--- a/avr-gdb/patches/patch-gdb_configure.ac
+++ /dev/null
@@ -1,16 +0,0 @@
-$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