binutils-gdb/gdb/gnulib
Simon Marchi b567ca638c Carry the gnulib getcwd backport as a patch
Commit

  e2fc52e745 ("Fix PR gdb/23558: Use system's 'getcwd' when cross-compiling GDB")

backported some changes from a future gnulib version to our import.
However, this means that every time someone wants to change our gnulib
import (e.g. add a module), they must make sure not to include that
backported change.  It also means that someone running the
update-gnulib.sh script without changes will get some diffs and wonder
why.

Instead, I suggest we carry that backport as a patch applied by the
update-gnulib.sh script after running the import tool.  It will make it
clear what backport or local modification we have and should make
running update-gnulib.sh give a reproducible result.

There is a hunk in the configure file in this patch, this is because the
commit that backported the getcwd bits didn't include the re-generated
configure.

Note: you'll need this patch as well to get deterministic results:

  Generate aclocal-m4-deps.mk more deterministically and portably.
  https://sourceware.org/ml/gdb-patches/2018-09/msg00643.html

gdb/ChangeLog:

	* patches/0001-Fix-PR-gdb-23558-Use-system-s-getcwd-when-cross-comp.patch:
	New file.
	* update-gnulib.sh: Apply patch.
	* configure: Re-generate.
2018-09-18 23:40:55 -04:00
..
import Import gnulib's inet_ntop module. 2018-09-18 14:05:47 -07:00
patches Carry the gnulib getcwd backport as a patch 2018-09-18 23:40:55 -04:00
Makefile.in Automatically update "aclocal_m4_deps" when updating gnulib 2018-09-04 13:58:14 -04:00
aclocal-m4-deps.mk Import gnulib's inet_ntop module. 2018-09-18 14:05:47 -07:00
aclocal.m4 Import gnulib's inet_ntop module. 2018-09-18 14:05:47 -07:00
config.in Import gnulib's inet_ntop module. 2018-09-18 14:05:47 -07:00
configure Carry the gnulib getcwd backport as a patch 2018-09-18 23:40:55 -04:00
configure.ac Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
update-gnulib.sh Carry the gnulib getcwd backport as a patch 2018-09-18 23:40:55 -04:00