X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gnulib%2Fupdate-gnulib.sh;h=6fa7a56ce2f1060fd362c2e6d8ca85e18d51dcfa;hb=bb1183e25ae74ba21500fb4e39bc1ca9822e3086;hp=0c8357c8880f89c1bbc2c9f5293920d5afc19a6b;hpb=8ae0786c30a3a8d846994d0a6e7a00646f0bcd20;p=deliverable%2Fbinutils-gdb.git diff --git a/gnulib/update-gnulib.sh b/gnulib/update-gnulib.sh index 0c8357c888..6fa7a56ce2 100755 --- a/gnulib/update-gnulib.sh +++ b/gnulib/update-gnulib.sh @@ -1,6 +1,6 @@ #! /bin/sh -# Copyright (C) 2011-2019 Free Software Foundation, Inc. +# Copyright (C) 2011-2020 Free Software Foundation, Inc. # # This file is part of GDB. # @@ -55,9 +55,11 @@ IMPORTED_GNULIB_MODULES="\ setenv \ signal-h \ strchrnul \ + strerror_r-posix \ strstr \ strtok_r \ sys_stat \ + time_r \ unistd \ unsetenv \ update-copyright \ @@ -66,7 +68,7 @@ IMPORTED_GNULIB_MODULES="\ " # The gnulib commit ID to use for the update. -GNULIB_COMMIT_SHA1="38237baf99386101934cd93278023aa4ae523ec0" +GNULIB_COMMIT_SHA1="6be2862414da45975b8cbc33acc5387b012f3354" # The expected version number for the various auto tools we will # use after the import. @@ -162,19 +164,15 @@ fi # Apply our local patches. apply_patches () { - patch -p3 -f -i "$1" + patch -p2 -f -i "$1" if [ $? -ne 0 ]; then echo "Failed to apply some patches. Aborting." exit 1 fi } -apply_patches "patches/0001-Fix-PR-gdb-23558-Use-system-s-getcwd-when-cross-comp.patch" -apply_patches "patches/0002-mkostemp-mkostemps-Fix-compilation-error-in-C-mode-o.patch" -apply_patches "patches/0003-Fix-glob-c-Coverity-issues.patch" - # Regenerate all necessary files... -aclocal -Iimport/m4 -I../config && +aclocal && autoconf && autoheader && automake @@ -182,15 +180,3 @@ if [ $? -ne 0 ]; then echo "Error: Failed to regenerate Makefiles and configure scripts." exit 1 fi - -# Update aclocal-m4-deps.mk -ACLOCAL_M4_DEPS_FILE=aclocal-m4-deps.mk -cat > ${ACLOCAL_M4_DEPS_FILE}.tmp <