summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-09-09 23:42:40 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-09-09 23:43:09 +0200
commit33212addfeda3946e488ea711a667a61adde96d2 (patch)
treecd2a82255048741e0a7543fe70784781852c775d /sys-libs/libhugetlbfs/files
parentsys-libs/libhugetlbfs: bump to v2.23 (diff)
downloadgentoo-33212addfeda3946e488ea711a667a61adde96d2.tar.gz
gentoo-33212addfeda3946e488ea711a667a61adde96d2.tar.bz2
gentoo-33212addfeda3946e488ea711a667a61adde96d2.zip
sys-libs/libhugetlbfs: install uncompressed man pages
Closes: https://bugs.gentoo.org/704326 Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sys-libs/libhugetlbfs/files')
-rw-r--r--sys-libs/libhugetlbfs/files/libhugetlbfs-2.23-uncompressed-man-pages.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/sys-libs/libhugetlbfs/files/libhugetlbfs-2.23-uncompressed-man-pages.patch b/sys-libs/libhugetlbfs/files/libhugetlbfs-2.23-uncompressed-man-pages.patch
new file mode 100644
index 00000000000..c0ca6a398e7
--- /dev/null
+++ b/sys-libs/libhugetlbfs/files/libhugetlbfs-2.23-uncompressed-man-pages.patch
@@ -0,0 +1,34 @@
+--- a/Makefile
++++ b/Makefile
+@@ -436,27 +436,19 @@ install-man:
+ $(INSTALL) -d $(DESTDIR)$(MANDIR8)
+ for x in $(INSTALL_MAN1); do \
+ $(INSTALL) -m 444 man/$$x $(DESTDIR)$(MANDIR1); \
+- gzip -f $(DESTDIR)$(MANDIR1)/$$x; \
+ done
+ for x in $(INSTALL_MAN3); do \
+ $(INSTALL) -m 444 man/$$x $(DESTDIR)$(MANDIR3); \
+- gzip -f $(DESTDIR)$(MANDIR3)/$$x; \
+ done
+- rm -f $(DESTDIR)$(MANDIR3)/free_huge_pages.3.gz
+- rm -f $(DESTDIR)$(MANDIR3)/free_hugepage_region.3.gz
+- rm -f $(DESTDIR)$(MANDIR3)/hugetlbfs_unlinked_fd_for_size.3.gz
+- rm -f $(DESTDIR)$(MANDIR3)/hugetlbfs_find_path_for_size.3.gz
+- ln -s get_huge_pages.3.gz $(DESTDIR)$(MANDIR3)/free_huge_pages.3.gz
+- ln -s get_hugepage_region.3.gz $(DESTDIR)$(MANDIR3)/free_hugepage_region.3.gz
+- ln -s hugetlbfs_unlinked_fd.3.gz $(DESTDIR)$(MANDIR3)/hugetlbfs_unlinked_fd_for_size.3.gz
+- ln -s hugetlbfs_find_path.3.gz $(DESTDIR)$(MANDIR3)/hugetlbfs_find_path_for_size.3.gz
++ ln -s get_huge_pages.3 $(DESTDIR)$(MANDIR3)/free_huge_pages.3
++ ln -s get_hugepage_region.3 $(DESTDIR)$(MANDIR3)/free_hugepage_region.3
++ ln -s hugetlbfs_unlinked_fd.3 $(DESTDIR)$(MANDIR3)/hugetlbfs_unlinked_fd_for_size.3
++ ln -s hugetlbfs_find_path.3 $(DESTDIR)$(MANDIR3)/hugetlbfs_find_path_for_size.3
+ for x in $(INSTALL_MAN7); do \
+ $(INSTALL) -m 444 man/$$x $(DESTDIR)$(MANDIR7); \
+- gzip -f $(DESTDIR)$(MANDIR7)/$$x; \
+ done
+ for x in $(INSTALL_MAN8); do \
+ $(INSTALL) -m 444 man/$$x $(DESTDIR)$(MANDIR8); \
+- gzip -f $(DESTDIR)$(MANDIR8)/$$x; \
+ done
+
+ install-bin: