gdb: update to 8.1.

Closes: #11284 [via git-merge-pr]
This commit is contained in:
maxice8 2018-01-31 19:15:46 -02:00 committed by Leah Neukirchen
parent 1c405a33b2
commit cc0705346f

View file

@ -1,6 +1,6 @@
# Template file for 'gdb' # Template file for 'gdb'
pkgname=gdb pkgname=gdb
version=8.0.1 version=8.1
revision=1 revision=1
patch_args="-Np1" patch_args="-Np1"
build_style=gnu-configure build_style=gnu-configure
@ -15,10 +15,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnu.org/software/gdb/" homepage="http://www.gnu.org/software/gdb/"
license="GPL-3" license="GPL-3"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz" distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
checksum=3dbd5f93e36ba2815ad0efab030dcd0c7b211d7b353a40a53f4c02d7d56295e3 checksum=af61a0263858e69c5dce51eab26662ff3d2ad9aa68da9583e8143b5426be4b34
CFLAGS="-D_GLIBCXX_USE_C99_STDIO=1"
CXXFLAGS="$CFLAGS"
if [ "${CROSS_BUILD}" ]; then if [ "${CROSS_BUILD}" ]; then
# Make python2.7 detection work in cross builds # Make python2.7 detection work in cross builds
@ -41,6 +38,8 @@ pre_configure() {
} }
pre_build() { pre_build() {
export gl_cv_func_gettimeofday_clobber=no export gl_cv_func_gettimeofday_clobber=no
export gl_cv_func_working_strerror=yes
export gl_cv_func_strerror_0_works=yes
} }
post_install() { post_install() {
# resolve conflicts with binutils # resolve conflicts with binutils