From 77d5c1c721198e5ab3ea4142ef632eb820250427 Mon Sep 17 00:00:00 2001
From: Jens Henrik Goebbert <j.goebbert@fz-juelich.de>
Date: Tue, 25 Jul 2023 08:40:58 +0200
Subject: [PATCH] fix disable-man

---
 Golden_Repo/e/eudev/eudev-3.2.11-GCCcore-11.3.0.eb |  9 +++++++--
 Golden_Repo/e/eudev/eudev_fix-xsltproc-path.patch  | 12 ++++++++++++
 2 files changed, 19 insertions(+), 2 deletions(-)
 create mode 100644 Golden_Repo/e/eudev/eudev_fix-xsltproc-path.patch

diff --git a/Golden_Repo/e/eudev/eudev-3.2.11-GCCcore-11.3.0.eb b/Golden_Repo/e/eudev/eudev-3.2.11-GCCcore-11.3.0.eb
index 5710764ae..dbbfe278a 100644
--- a/Golden_Repo/e/eudev/eudev-3.2.11-GCCcore-11.3.0.eb
+++ b/Golden_Repo/e/eudev/eudev-3.2.11-GCCcore-11.3.0.eb
@@ -16,10 +16,14 @@ toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
 
 source_urls = [('https://github.com/eudev-project/eudev/archive')]
 sources = ['v%(version)s.tar.gz']
-patches = ['%(name)s-%(version)s_python3.patch']
+patches = [
+    '%(name)s-%(version)s_python3.patch',
+    '%(name)s_fix-xsltproc-path.patch',
+]
 checksums = [
     {'v3.2.11.tar.gz': 'dcfc482099f3fdfcfdb9aeabbc4d609877cf4d2d0407f50ab0c59d43fff44f92'},
     {'eudev-3.2.11_python3.patch': '846b1e72e12853c4146d3a4e312301001bbfb13110ce76de2afdf860f4d085a8'},
+    {'eudev_fix-xsltproc-path.patch': 'e1d0848c9af38e26af5773c38c7933a96471cac95b1243a1f9860a0eaa999f17'},
 ]
 
 builddependencies = [
@@ -28,11 +32,12 @@ builddependencies = [
     ('Python', '3.10.4'),
     ('Autotools', '20220317'),
     ('pkgconf', '1.8.0'),
+    ('libxslt', '1.1.34'),
 ]
 
 osdependencies = [('kernel-headers', 'linux-libc-dev')]
 
-preconfigopts = "./autogen.sh && "
+preconfigopts = 'autoreconf -f -i -s && '
 configopts = '--disable-blkid --disable-selinux --disable-manpages '
 
 runtest = 'check'
diff --git a/Golden_Repo/e/eudev/eudev_fix-xsltproc-path.patch b/Golden_Repo/e/eudev/eudev_fix-xsltproc-path.patch
new file mode 100644
index 000000000..34c4b23a2
--- /dev/null
+++ b/Golden_Repo/e/eudev/eudev_fix-xsltproc-path.patch
@@ -0,0 +1,12 @@
+diff -Naur eudev-3.2.11.orig/man/make.sh eudev-3.2.11/man/make.sh
+--- eudev-3.2.11.orig/man/make.sh       2021-12-14 19:57:01.000000000 +0000
++++ eudev-3.2.11/man/make.sh    2023-07-01 18:24:34.751268855 +0000
+@@ -2,7 +2,7 @@
+
+ set -e
+
+-XSLTPROC="/usr/bin/xsltproc"
++XSLTPROC="xsltproc"
+
+ XSLTPROC_FLAGS="--stringparam man.output.quietly 1 \
+ --stringparam funcsynopsis.style ansi \
-- 
GitLab