unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob abc4cc877f4807f14c541efb3fd091742135365a 2701 bytes (raw)
name: packages/patches/gcc-13.2.0-libstdc++-info-install-fix.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
 
# Upstreamed <https://gcc.gnu.org/pipermail/gcc-patches/2023-August/628047.html>

From 2db0606adfdb800f3fcc95f2cb6c13ff76246e5f Mon Sep 17 00:00:00 2001
Message-Id: <2db0606adfdb800f3fcc95f2cb6c13ff76246e5f.1692808412.git.mirai@makinata.eu>
From: Bruno Victal <mirai@makinata.eu>
Date: Mon, 21 Aug 2023 20:58:22 +0100
Subject: [PATCH 1/2] libstdc++: Fix 'doc-install-info' rule.

The info manual isn't moved to the expected location after
generation which causes the install rule for it to fail.

libstdc++-v3/Changelog:

	* doc/Makefile.in: Regenerate.
	* doc/Makefile.am: Fix 'doc-install-info' rule.
	Fix typo in commment.
---
 libstdc++-v3/doc/Makefile.am | 4 ++--
 libstdc++-v3/doc/Makefile.in | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/libstdc++-v3/doc/Makefile.am b/libstdc++-v3/doc/Makefile.am
index 8371441c62e..373522d593d 100644
--- a/libstdc++-v3/doc/Makefile.am
+++ b/libstdc++-v3/doc/Makefile.am
@@ -598,7 +598,7 @@ stamp-pdf-docbook: doc-pdf-docbook-pre doc-xml-single-docbook
 doc-pdf-docbook: stamp-pdf-docbook
 
 # TEXINFO, via docbook2X
-# NB: Both experimental and tempermental
+# NB: Both experimental and temperamental
 manual_texi = ${docbook_outdir}/texinfo/libstdc++-manual.texi
 manual_info = ${docbook_outdir}/texinfo/libstdc++-manual.info
 DB2TEXI_FLAGS = \
@@ -615,7 +615,7 @@ stamp-texinfo-docbook: stamp-xml-single-docbook ${docbook_outdir}/texinfo
 
 stamp-info-docbook: stamp-texinfo-docbook
 	@echo "Generating info files..."
-	$(MAKEINFO) $(MAKEINFOFLAGS) ${manual_texi}
+	$(MAKEINFO) $(MAKEINFOFLAGS) ${manual_texi} -o ${manual_info}
 	$(STAMP) stamp-info-docbook
 
 doc-texinfo-docbook: stamp-texinfo-docbook
diff --git a/libstdc++-v3/doc/Makefile.in b/libstdc++-v3/doc/Makefile.in
index 21ad8557f7a..c19e3e3044c 100644
--- a/libstdc++-v3/doc/Makefile.in
+++ b/libstdc++-v3/doc/Makefile.in
@@ -645,7 +645,7 @@ manual_pdf = ${docbook_outdir}/pdf/libstdc++-manual.pdf
 DBLATEX_FLAGS = --verbose --pdf --dump --debug --tmpdir=${docbook_outdir}/latex
 
 # TEXINFO, via docbook2X
-# NB: Both experimental and tempermental
+# NB: Both experimental and temperamental
 manual_texi = ${docbook_outdir}/texinfo/libstdc++-manual.texi
 manual_info = ${docbook_outdir}/texinfo/libstdc++-manual.info
 DB2TEXI_FLAGS = \
@@ -1096,7 +1096,7 @@ stamp-texinfo-docbook: stamp-xml-single-docbook ${docbook_outdir}/texinfo
 
 stamp-info-docbook: stamp-texinfo-docbook
 	@echo "Generating info files..."
-	$(MAKEINFO) $(MAKEINFOFLAGS) ${manual_texi}
+	$(MAKEINFO) $(MAKEINFOFLAGS) ${manual_texi} -o ${manual_info}
 	$(STAMP) stamp-info-docbook
 
 doc-texinfo-docbook: stamp-texinfo-docbook

base-commit: f9ff6fa58217294d63f255dd02abfcc8a074f509
-- 
2.40.1


debug log:

solving abc4cc877f4807f14c541efb3fd091742135365a ...
found abc4cc877f4807f14c541efb3fd091742135365a in https://git.savannah.gnu.org/cgit/guix.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).