[arch-commits] Commit in sh2-elf-gdb/trunk (PKGBUILD)

Anatol Pomozov anatolik at gemini.archlinux.org
Wed Jun 8 19:36:20 UTC 2022


    Date: Wednesday, June 8, 2022 @ 19:36:20
  Author: anatolik
Revision: 1229380

upgpkg: sh2-elf-gdb 12.1-1

Modified:
  sh2-elf-gdb/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-08 19:29:54 UTC (rev 1229379)
+++ PKGBUILD	2022-06-08 19:36:20 UTC (rev 1229380)
@@ -4,24 +4,19 @@
 
 _target=sh2-elf
 pkgname=$_target-gdb
-pkgver=10.2
-pkgrel=2
+pkgver=12.1
+pkgrel=1
 pkgdesc='The GNU Debugger for the SuperH SH 2 (bare-metal) target'
 arch=(x86_64)
 url='https://www.gnu.org/software/gdb/'
 license=(GPL3)
-depends=(xz ncurses expat python guile gdb-common mpfr)
+depends=(xz ncurses expat python guile gdb-common mpfr source-highlight libelf)
 options=(!emptydirs)
 source=(https://ftp.gnu.org/gnu/gdb/gdb-$pkgver.tar.xz{,.sig})
-sha512sums=('3653762ac008e065c37cd641653184c9ff7ce51ee2222ade1122bec9d6cc64dffd4fb74888ef11ac1942064a08910e96b7865112ad37f4602eb0a16bed074caa'
+sha512sums=('425568d2e84672177d0fb87b1ad7daafdde097648d605e30cf0656970f66adc6a82ca2d83375ea4be583e9683a340e5bfdf5819668ddf66728200141ae50ff2d'
             'SKIP')
 validpgpkeys=('F40ADB902B24264AA42E50BF92EDB04BFF325CF3') # Joel Brobecker <brobecker at adacore.com>
 
-prepare() {
-  cd gdb-$pkgver
-  sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" libiberty/configure
-}
-
 build() {
   cd gdb-$pkgver
 
@@ -34,6 +29,7 @@
     --enable-interwork \
     --with-system-readline \
     --disable-nls \
+    --enable-source-highlight \
     --with-python=/usr/bin/python \
     --with-guile=guile-2.2 \
     --with-system-gdbinit=/etc/gdb/gdbinit



More information about the arch-commits mailing list