aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-06-27 09:43:50 +0100
committerSam James <sam@gentoo.org>2024-06-27 09:43:50 +0100
commiteddf9c85473ad7a63f11c24c664429ebbc8a850f (patch)
tree2c92168aaedac0bfd01160d5068d6e0a17919801
parent15.0.0: add revert annotation (diff)
downloadgcc-patches-eddf9c85473ad7a63f11c24c664429ebbc8a850f.tar.gz
gcc-patches-eddf9c85473ad7a63f11c24c664429ebbc8a850f.tar.bz2
gcc-patches-eddf9c85473ad7a63f11c24c664429ebbc8a850f.zip
14.1.0: add 77_all_m2_docs_sandbox.patch
Bug: https://bugs.gentoo.org/930014 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--14.1.0/gentoo/77_all_m2_docs_sandbox.patch37
-rw-r--r--14.1.0/gentoo/README.history4
2 files changed, 41 insertions, 0 deletions
diff --git a/14.1.0/gentoo/77_all_m2_docs_sandbox.patch b/14.1.0/gentoo/77_all_m2_docs_sandbox.patch
new file mode 100644
index 0000000..c402937
--- /dev/null
+++ b/14.1.0/gentoo/77_all_m2_docs_sandbox.patch
@@ -0,0 +1,37 @@
+https://bugs.gentoo.org/930014
+https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=232a86f9640cde6908d0875b8df52c36030c5b5e
+
+From 232a86f9640cde6908d0875b8df52c36030c5b5e Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Tue, 21 May 2024 12:31:47 +0100
+Subject: [PATCH] modula2: Pass --destdir for dir index during install of
+ m2.info.
+
+This patch adds DESTDIR to the infodir when installing m2.info.
+
+gcc/m2/ChangeLog
+
+ * Make-lang.in (m2.install-info): Pass --destdir for dir index.
+
+Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
+---
+ gcc/m2/Make-lang.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gcc/m2/Make-lang.in b/gcc/m2/Make-lang.in
+index 0abd8ce1455..da4226123df 100644
+--- a/gcc/m2/Make-lang.in
++++ b/gcc/m2/Make-lang.in
+@@ -425,7 +425,7 @@ m2.install-info: installdirs
+ else true; fi
+ -if [ -f gm2$(exeext) ] && [ -f $(DESTDIR)$(infodir)/m2.info ]; then \
+ if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
+- install-info --dir-file=$(infodir)/dir $(DESTDIR)$(infodir)/m2.info; \
++ install-info --dir-file=$(DESTDIR)$(infodir)/dir $(DESTDIR)$(infodir)/m2.info; \
+ else true; fi; \
+ else true; fi
+
+--
+2.43.5
+
+
diff --git a/14.1.0/gentoo/README.history b/14.1.0/gentoo/README.history
index 0498143..dfda57a 100644
--- a/14.1.0/gentoo/README.history
+++ b/14.1.0/gentoo/README.history
@@ -1,3 +1,7 @@
+3 27 June 2024
+
+ + 77_all_m2_docs_sandbox.patch
+
2 9 June 2024
- 76_all_ppc_PR112868-no-checking-many.patch