commit:     eddf9c85473ad7a63f11c24c664429ebbc8a850f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 27 08:43:50 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 27 08:43:50 2024 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=eddf9c85

14.1.0: add 77_all_m2_docs_sandbox.patch

Bug: https://bugs.gentoo.org/930014
Signed-off-by: Sam James <sam <AT> gentoo.org>

 14.1.0/gentoo/77_all_m2_docs_sandbox.patch | 37 ++++++++++++++++++++++++++++++
 14.1.0/gentoo/README.history               |  4 ++++
 2 files changed, 41 insertions(+)

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 <[email protected]>
+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 <[email protected]>
+---
+ 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

Reply via email to