summaryrefslogtreecommitdiffstats
path: root/debian/patches/0016-set-fhs-mansections.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-24 04:52:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-24 04:52:23 +0000
commit3505b643c670b57f0f17137d74cae71d206f9ae9 (patch)
treeed41921d48c228c9e46f70336261337818e18f2f /debian/patches/0016-set-fhs-mansections.patch
parentMerging upstream version 6.8. (diff)
downloadmanpages-3505b643c670b57f0f17137d74cae71d206f9ae9.tar.xz
manpages-3505b643c670b57f0f17137d74cae71d206f9ae9.zip
Adding debian version 6.8-1.debian/6.8-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/0016-set-fhs-mansections.patch')
-rw-r--r--debian/patches/0016-set-fhs-mansections.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/0016-set-fhs-mansections.patch b/debian/patches/0016-set-fhs-mansections.patch
new file mode 100644
index 0000000..48ef018
--- /dev/null
+++ b/debian/patches/0016-set-fhs-mansections.patch
@@ -0,0 +1,15 @@
+Description: use a more robust approach to limit manpages installation to FHS-compliant directories. Thanks to Alejandro Colomar (upstream author).
+Author: Marcos Fouces <marcos@debian.org>, Alejandro Colomar <alx@kernel.org>
+
+--- a/share/mk/configure/directory_variables/install.mk
++++ b/share/mk/configure/directory_variables/install.mk
+@@ -23,5 +23,9 @@
+ $(foreach s, $(MANSECTIONS), \
+ $(eval man$(s)ext := .$(s)))
+
++man2typedir := $(man2dir)
++man3constdir := $(man3dir)
++man3headdir := $(man3dir)
++man3typedir := $(man3dir)
+
+ endif # include guard