commit:     010ed7e99899bc454a50859334b9762a4485d445
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  7 03:53:05 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Oct  7 03:53:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=010ed7e9

sys-fs/rar2fs: don't compress man pages

Closes: https://bugs.gentoo.org/732208
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-fs/rar2fs/files/rar2fs-1.29.1-no-compress-man.patch | 11 +++++++++++
 sys-fs/rar2fs/rar2fs-1.29.1.ebuild                      | 11 +++++++++++
 2 files changed, 22 insertions(+)

diff --git a/sys-fs/rar2fs/files/rar2fs-1.29.1-no-compress-man.patch 
b/sys-fs/rar2fs/files/rar2fs-1.29.1-no-compress-man.patch
new file mode 100644
index 00000000000..dac49db0e0f
--- /dev/null
+++ b/sys-fs/rar2fs/files/rar2fs-1.29.1-no-compress-man.patch
@@ -0,0 +1,11 @@
+diff --git a/m4/m4_ac_prog_gzip.m4 b/m4/m4_ac_prog_gzip.m4
+index 32ffc37..f5589bc 100644
+--- a/m4/m4_ac_prog_gzip.m4
++++ b/m4/m4_ac_prog_gzip.m4
+@@ -1,5 +1,5 @@
+ AC_DEFUN([AC_PROG_GZIP],[
+-AC_CHECK_PROGS(gzip,[gzip],no)
++gzip="no"
+ export gzip;
+ AM_CONDITIONAL([HAVE_GZIP], [test x$gzip != xno])
+ AC_SUBST(gzip)

diff --git a/sys-fs/rar2fs/rar2fs-1.29.1.ebuild 
b/sys-fs/rar2fs/rar2fs-1.29.1.ebuild
index e7b7be74efd..cc417da2459 100644
--- a/sys-fs/rar2fs/rar2fs-1.29.1.ebuild
+++ b/sys-fs/rar2fs/rar2fs-1.29.1.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=7
 
+inherit autotools
+
 DESCRIPTION="A FUSE based filesystem that can mount one or multiple RAR 
archive(s)"
 HOMEPAGE="https://hasse69.github.io/rar2fs/ https://github.com/hasse69/rar2fs";
 SRC_URI="https://github.com/hasse69/${PN}/releases/download/v${PV}/${P}.tar.gz";
@@ -19,6 +21,15 @@ RDEPEND=">=app-arch/unrar-5:=
        sys-fs/fuse:0"
 DEPEND="${RDEPEND}"
 
+PATCHES=(
+       "${FILESDIR}/${PN}-1.29.1-no-compress-man.patch"
+)
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
 src_configure() {
        export USER_CFLAGS="${CFLAGS}"
 

Reply via email to