diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-12-05 17:13:03 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-12-13 11:20:44 +0100 |
commit | 5062d76783b8e4d90bc4986e6d7a11a92bd211c0 (patch) | |
tree | d890eeae5f11ae417d2f465c23c423a4a94830af /patches/glibc-2.28/0101-don-t-regen-docs-if-perl-is-not-found.patch | |
parent | 058555997f8b0eea24960e95e7a1cdc53a6bbacb (diff) | |
download | OSELAS.Toolchain-5062d76783b8e4d90bc4986e6d7a11a92bd211c0.tar.gz OSELAS.Toolchain-5062d76783b8e4d90bc4986e6d7a11a92bd211c0.tar.xz |
glibc: version bump 2.27 -> 2.28
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/glibc-2.28/0101-don-t-regen-docs-if-perl-is-not-found.patch')
-rw-r--r-- | patches/glibc-2.28/0101-don-t-regen-docs-if-perl-is-not-found.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/patches/glibc-2.28/0101-don-t-regen-docs-if-perl-is-not-found.patch b/patches/glibc-2.28/0101-don-t-regen-docs-if-perl-is-not-found.patch new file mode 100644 index 0000000..346c8ff --- /dev/null +++ b/patches/glibc-2.28/0101-don-t-regen-docs-if-perl-is-not-found.patch @@ -0,0 +1,35 @@ +From: Michael Olbrich <m.olbrich@pengutronix.de> +Date: Wed, 2 Nov 2011 00:14:37 +0100 +Subject: [PATCH] don't regen docs if perl is not found + +If we're using a cvs snapshot which updates the source files, and +perl isn't installed yet, then we can't regen the docs. Not a big +deal, so just whine a little and continue on our merry way. + +This patch was taken from gentoo. +http://bugs.gentoo.org/60132 + +Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> +--- + manual/Makefile | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/manual/Makefile b/manual/Makefile +index c2756640a785..8b0b178152a5 100644 +--- a/manual/Makefile ++++ b/manual/Makefile +@@ -101,9 +101,14 @@ $(objpfx)dir-add.texi: xtract-typefun.awk $(texis-path) + $(objpfx)libm-err.texi: $(objpfx)stamp-libm-err + $(objpfx)stamp-libm-err: libm-err-tab.pl $(wildcard $(foreach dir,$(sysdirs),\ + $(dir)/libm-test-ulps)) ++ifneq ($(PERL),no) + pwd=`pwd`; \ + $(PERL) $< $$pwd/.. > $(objpfx)libm-err-tmp + $(move-if-change) $(objpfx)libm-err-tmp $(objpfx)libm-err.texi ++else ++ echo "Unable to rebuild math docs, no perl installed" ++ touch libm-err.texi ++endif + touch $@ + + # Package version and bug reporting URL. |