Rename "sun" variable to avoid conflicts on Solaris
[deliverable/binutils-gdb.git] / gnulib / update-gnulib.sh
index db6a115628dfa53d4e6fd7c2b594b21900ed981d..602a21d6dbfd0c530973f8cd74a5fbce857c9dec 100755 (executable)
@@ -59,6 +59,7 @@ IMPORTED_GNULIB_MODULES="\
     strstr \
     strtok_r \
     sys_stat \
+    time_r \
     unistd \
     unsetenv \
     update-copyright \
@@ -67,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.
@@ -163,17 +164,13 @@ 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 &&
 autoconf &&
This page took 0.02625 seconds and 4 git commands to generate.