From 92af01f41471d7e932950860f3fb9271fbea2926 Mon Sep 17 00:00:00 2001
From: Ismael Luceno <ismael@sourcemage.org>
Date: Mon, 10 Jul 2023 21:58:03 +0000
Subject: [PATCH 02/13] Remove conflicting/duplicated manpages

The fsf-funding.7, gfdl.7, and gpl.7 files conflict with other
installed instances of GCC.  Since there's no point in having
different versions of these files, just remove them from the
installation.

Origin: Source Mage
Upstream-Status: Inappropriate
Signed-off-by: Ismael Luceno <ismael@sourcemage.org>
---
 gcc/Makefile.in | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index ad9a5d94cd01..a6c0592c7e9d 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -3889,10 +3889,7 @@ install-man: lang.install-man \
 	$(DESTDIR)$(man1dir)/$(GCOV_INSTALL_NAME)$(man1ext) \
 	$(DESTDIR)$(man1dir)/$(GCOV_TOOL_INSTALL_NAME)$(man1ext) \
 	$(DESTDIR)$(man1dir)/$(GCOV_DUMP_INSTALL_NAME)$(man1ext) \
-	$(if $(filter yes,@enable_lto@),$(DESTDIR)$(man1dir)/$(LTO_DUMP_INSTALL_NAME)$(man1ext)) \
-	$(DESTDIR)$(man7dir)/fsf-funding$(man7ext) \
-	$(DESTDIR)$(man7dir)/gfdl$(man7ext) \
-	$(DESTDIR)$(man7dir)/gpl$(man7ext)
+	$(if $(filter yes,@enable_lto@),$(DESTDIR)$(man1dir)/$(LTO_DUMP_INSTALL_NAME)$(man1ext))
 
 $(DESTDIR)$(man7dir)/%$(man7ext): doc/%.7 installdirs
 	-rm -f $@
-- 
2.40.1

