* [gentoo-commits] repo/gentoo:master commit in: sys-fs/rar2fs/, sys-fs/rar2fs/files/
@ 2016-06-21 18:57 Mike Frysinger
0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger @ 2016-06-21 18:57 UTC (permalink / raw
To: gentoo-commits
commit: 0851f5ecbcfc8215b085210642e81ee331af8ba9
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 21 18:57:37 2016 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Tue Jun 21 18:57:37 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0851f5ec
sys-fs/rar2fs: fix building w/newer glibc #580852
sys-fs/rar2fs/files/rar2fs-1.22.0-sysmacros.patch | 31 +++++++++++++++++++++++
sys-fs/rar2fs/rar2fs-1.22.0.ebuild | 6 +++++
2 files changed, 37 insertions(+)
diff --git a/sys-fs/rar2fs/files/rar2fs-1.22.0-sysmacros.patch b/sys-fs/rar2fs/files/rar2fs-1.22.0-sysmacros.patch
new file mode 100644
index 0000000..0593409
--- /dev/null
+++ b/sys-fs/rar2fs/files/rar2fs-1.22.0-sysmacros.patch
@@ -0,0 +1,31 @@
+https://github.com/hasse69/rar2fs/pull/51
+
+From e8c477f726eb7bfd65ef33e2b080063e6f8013c0 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Tue, 21 Jun 2016 14:54:06 -0400
+Subject: [PATCH] include sys/sysmacros.h for major/minor/makedev
+
+These funcs are defined in sys/sysmacros.h, so include the header to
+fix building with C libs that don't implicitly include via sys/types.h.
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ configure.ac | 2 +-
+ rar2fs.c | 3 +++
+ 2 files changed, 4 insertions(+), 1 deletion(-)
+
+--- a/rar2fs.c
++++ b/rar2fs.c
+@@ -56,6 +56,9 @@
+ #ifdef HAVE_SYS_XATTR_H
+ # include <sys/xattr.h>
+ #endif
++#ifdef __linux__
++# include <sys/sysmacros.h>
++#endif
+ #ifdef HAVE_ICONV
+ #include <iconv.h>
+ #endif
+--
+2.8.2
+
diff --git a/sys-fs/rar2fs/rar2fs-1.22.0.ebuild b/sys-fs/rar2fs/rar2fs-1.22.0.ebuild
index ead77dd..6332e1b 100644
--- a/sys-fs/rar2fs/rar2fs-1.22.0.ebuild
+++ b/sys-fs/rar2fs/rar2fs-1.22.0.ebuild
@@ -4,6 +4,8 @@
EAPI=5
+inherit eutils
+
DESCRIPTION="A FUSE based filesystem that can mount one or multiple RAR archive(s)"
HOMEPAGE="http://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,10 @@ DEPEND="${RDEPEND}"
DOCS="AUTHORS ChangeLog"
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.22.0-sysmacros.patch #580852
+}
+
src_configure() {
export USER_CFLAGS="${CFLAGS}"
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-fs/rar2fs/, sys-fs/rar2fs/files/
@ 2020-10-07 3:53 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2020-10-07 3:53 UTC (permalink / raw
To: gentoo-commits
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}"
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-07 3:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-21 18:57 [gentoo-commits] repo/gentoo:master commit in: sys-fs/rar2fs/, sys-fs/rar2fs/files/ Mike Frysinger
-- strict thread matches above, loose matches on Subject: below --
2020-10-07 3:53 Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox