From 8dbfd720cd25a336f6a2444b967db6add0349130 Mon Sep 17 00:00:00 2001
From: Sebastian Achilles <s.achilles@fz-juelich.de>
Date: Wed, 16 Aug 2023 17:44:34 +0200
Subject: [PATCH] add Automake patch

---
 .../Automake-1.16.5_fix-help2man-error.patch      | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 Golden_Repo/a/Automake/Automake-1.16.5_fix-help2man-error.patch

diff --git a/Golden_Repo/a/Automake/Automake-1.16.5_fix-help2man-error.patch b/Golden_Repo/a/Automake/Automake-1.16.5_fix-help2man-error.patch
new file mode 100644
index 00000000..396cf962
--- /dev/null
+++ b/Golden_Repo/a/Automake/Automake-1.16.5_fix-help2man-error.patch
@@ -0,0 +1,15 @@
+fix for:
+  help2man: can't get --help info from automake-1.16
+
+based on https://github.com/xbmc/xbmc/pull/18584
+--- a/Makefile.in	2020-03-16 19:11:10.000000000 -0700
++++ b/Makefile.in	2020-10-22 08:06:24.606751367 -0700
+@@ -699,7 +699,7 @@
+ update_mans = \
+   $(AM_V_GEN): \
+     && $(MKDIR_P) doc \
+-    && ./pre-inst-env $(PERL) $(srcdir)/doc/help2man --output=$@
++    && ./pre-inst-env $(PERL) $(srcdir)/doc/help2man --output=$@ --no-discard-stderr
+ 
+ amhello_sources = \
+   doc/amhello/configure.ac \
-- 
GitLab