avr-gdb: rebuild for Python 3.12

This commit is contained in:
Andrew J. Hesford 2023-09-23 21:04:12 -04:00
parent 4a2046413d
commit 599f44ac7e
2 changed files with 14 additions and 2 deletions

View File

@ -0,0 +1,11 @@
--- ./gdb/completer.c.orig 2023-09-29 16:16:06.344069450 -0400
+++ ./gdb/completer.c 2023-09-29 16:16:21.522162391 -0400
@@ -2011,7 +2011,7 @@
rl_basic_quote_characters = NULL;
}
- return rl_completer_word_break_characters;
+ return (char *)rl_completer_word_break_characters;
}
char *

View File

@ -1,12 +1,13 @@
# Template file for 'avr-gdb'
pkgname=avr-gdb
version=12.1
revision=1
revision=2
build_style=gnu-configure
configure_args="--target=avr --disable-werror --disable-nls --with-system-readline
--with-system-gdbinit=/etc/gdb/gdbinit --with-system-zlib
$(vopt_with guile) $(vopt_if python --with-python=/usr/bin/python3)"
hostmakedepends="pkg-config texinfo $(vopt_if python python3-devel) $(vopt_if guile guile)"
hostmakedepends="pkg-config texinfo $(vopt_if guile guile)
$(vopt_if python "python3-setuptools python3-devel")"
makedepends="expat-devel ncurses-devel readline-devel zlib-devel gmp-devel
$(vopt_if guile guile-devel) $(vopt_if python 'gettext-devel python3-devel')"
depends="gdb-common"