From cc0705346ff402a24bc1f0451a1be387a577aff9 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Wed, 31 Jan 2018 19:15:46 -0200 Subject: [PATCH] gdb: update to 8.1. Closes: #11284 [via git-merge-pr] --- srcpkgs/gdb/template | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/srcpkgs/gdb/template b/srcpkgs/gdb/template index 803cb3021a6..c190c105540 100644 --- a/srcpkgs/gdb/template +++ b/srcpkgs/gdb/template @@ -1,6 +1,6 @@ # Template file for 'gdb' pkgname=gdb -version=8.0.1 +version=8.1 revision=1 patch_args="-Np1" build_style=gnu-configure @@ -15,10 +15,7 @@ maintainer="Juan RP " homepage="http://www.gnu.org/software/gdb/" license="GPL-3" distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz" -checksum=3dbd5f93e36ba2815ad0efab030dcd0c7b211d7b353a40a53f4c02d7d56295e3 - -CFLAGS="-D_GLIBCXX_USE_C99_STDIO=1" -CXXFLAGS="$CFLAGS" +checksum=af61a0263858e69c5dce51eab26662ff3d2ad9aa68da9583e8143b5426be4b34 if [ "${CROSS_BUILD}" ]; then # Make python2.7 detection work in cross builds @@ -41,6 +38,8 @@ pre_configure() { } pre_build() { export gl_cv_func_gettimeofday_clobber=no + export gl_cv_func_working_strerror=yes + export gl_cv_func_strerror_0_works=yes } post_install() { # resolve conflicts with binutils