ports/opt (3.5): gdb: update to 10.1

commit 9891f2fc301434fbc8cdd250afed8e2aed30bef4 Author: Juergen Daubert <jue@jue.li> Date: Sun Oct 25 12:22:00 2020 +0100 gdb: update to 10.1 diff --git a/gdb/.footprint b/gdb/.footprint index 6bd8f580e..c5cb1cadc 100644 --- a/gdb/.footprint +++ b/gdb/.footprint @@ -4,6 +4,8 @@ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/gdb -rwxr-xr-x root/root usr/bin/gdb-add-index -rwxr-xr-x root/root usr/bin/gdbserver +drwxr-xr-x root/root usr/lib/ +-rwxr-xr-x root/root usr/lib/libinproctrace.so drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/gdb/ drwxr-xr-x root/root usr/share/gdb/syscalls/ @@ -16,6 +18,7 @@ drwxr-xr-x root/root usr/share/gdb/syscalls/ -rw-r--r-- root/root usr/share/gdb/syscalls/mips-n32-linux.xml -rw-r--r-- root/root usr/share/gdb/syscalls/mips-n64-linux.xml -rw-r--r-- root/root usr/share/gdb/syscalls/mips-o32-linux.xml +-rw-r--r-- root/root usr/share/gdb/syscalls/netbsd.xml -rw-r--r-- root/root usr/share/gdb/syscalls/ppc-linux.xml -rw-r--r-- root/root usr/share/gdb/syscalls/ppc64-linux.xml -rw-r--r-- root/root usr/share/gdb/syscalls/s390-linux.xml diff --git a/gdb/.signature b/gdb/.signature index 861727d5d..56d017abd 100644 --- a/gdb/.signature +++ b/gdb/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/Xk6IjXq1gebleuXBnQlIxub+TkIF5Cz+rE5/+s7ZHQVzaAPhptdL3YA4huGB1xklBVlB9X4dbHZBhwr7SuFCw0= -SHA256 (Pkgfile) = 994f2543d7ef71c59fa4013d33307dbe349cd9425397813d160c6d4d31793c0a -SHA256 (.footprint) = 2a2adc49342318ac40acd7b3252b4e1587b1d3eac40e86f74f1625dbbcc716f3 -SHA256 (gdb-9.2.tar.xz) = 360cd7ae79b776988e89d8f9a01c985d0b1fa21c767a4295e5f88cb49175c555 +RWSE3ohX2g5d/aegZ8ejH3EI7bM+rtM7s89jJRElrCXrH1T9IWfkjILB8V38wEXs8Jnvir2efXMJx+xZGDr6PqEw2On8Cu0VdwM= +SHA256 (Pkgfile) = dc565217d539bcf690a21ba3b8606df6208a4f27f57c6cffd26b1c9fbccc5ea9 +SHA256 (.footprint) = 2b1c8a1230995bcc07a526aaee56df28339a3f99afe97bb7ed5535bf56e79962 +SHA256 (gdb-10.1.tar.xz) = f82f1eceeec14a3afa2de8d9b0d3c91d5a3820e23e0a01bbb70ef9f0276b62c0 diff --git a/gdb/Pkgfile b/gdb/Pkgfile index 9ac13efe5..e428d9ae0 100644 --- a/gdb/Pkgfile +++ b/gdb/Pkgfile @@ -1,27 +1,30 @@ # Description: The GNU Debugger (GDB) # URL: https://www.gnu.org/software/gdb # Maintainer: Thomas Penteker, tek at serverop dot de -# Depends on: ncurses +# Depends on: libmpfr readline xz zlib expat name=gdb -version=9.2 +version=10.1 release=1 source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) build() { - cd $name-$version + cd $name-$version - sed -i 's/all: info/all: $(true)/1' gdb/doc/Makefile.in + sed '/^SUBDIRS/s/doc//' -i gdb/Makefile.in - mkdir build - cd build + mkdir build && cd build - ../configure --prefix=/usr - make -j ${JOBS:-1} + ../configure \ + --prefix=/usr \ + --with-system-{readline,zlib} + make + make DESTDIR=$PKG install - # ... - sed -i 's/^exit $st/exit 0/g' ../missing + install -d $PKG/usr/share/man/man{1,5} + install -m 0644 ../gdb/doc/*.1 $PKG/usr/share/man/man1 + install -m 0644 ../gdb/doc/*.5 $PKG/usr/share/man/man5 - make DESTDIR=$PKG install - rm -rf $PKG/usr/{lib,include,share/info,share/locale} + rm -r $PKG/usr/{include,lib/{*.a,*.la}} + rm -r $PKG/usr/share/{info,locale} }
participants (1)
-
crux@crux.nu