mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
app-arch/lrzip: fix/keyword *-macos, *-solaris, bug #468854
Package-Manager: Portage-2.3.13, Repoman-2.3.3
This commit is contained in:
11
app-arch/lrzip/files/lrzip-0.631-solaris.patch
Normal file
11
app-arch/lrzip/files/lrzip-0.631-solaris.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/liblrzip.c
|
||||
+++ b/liblrzip.c
|
||||
@@ -36,7 +36,7 @@
|
||||
#include "lrzip_core.h"
|
||||
#include "rzip.h"
|
||||
|
||||
-#if defined(__APPLE__) || defined(__FreeBSD__)
|
||||
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__sun) || defined(sun)
|
||||
# define fmemopen(s, len, modes) fake_fmemopen((s), (len), (modes))
|
||||
static FILE *fake_fmemopen(void *buf, size_t buflen, const char *mode)
|
||||
{
|
||||
@@ -11,7 +11,7 @@ SRC_URI="http://ck.kolivas.org/apps/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="dev-libs/lzo
|
||||
@@ -23,7 +23,8 @@ DEPEND="${RDEPEND}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-missing-stdarg_h.patch
|
||||
)
|
||||
"${FILESDIR}"/${P}-solaris.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
|
||||
Reference in New Issue
Block a user