mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-fs/reiserfsprogs: Don't include sys/acl.h (bug #585978).
Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
12
sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.25-no_acl.patch
Normal file
12
sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.25-no_acl.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
https://bugs.gentoo.org/585978
|
||||
|
||||
--- a/reiserfscore/xattr.c
|
||||
+++ b/reiserfscore/xattr.c
|
||||
@@ -1,7 +1,6 @@
|
||||
#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#include <errno.h>
|
||||
-#include <sys/acl.h>
|
||||
#include "reiserfs_lib.h"
|
||||
|
||||
static inline unsigned short from32to16(unsigned int x)
|
||||
@@ -15,13 +15,23 @@ SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ia64 ~mips ~ppc ~ppc64 -sparc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="static-libs"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.6.25-no_acl.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
epatch "${PATCHES[@]}"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -std=gnu89 #427300
|
||||
econf \
|
||||
--bindir="${EPREFIX}/bin" \
|
||||
--libdir="${EPREFIX}/$(get_libdir)" \
|
||||
--sbindir="${EPREFIX}/sbin" \
|
||||
local myeconfargs=(
|
||||
--bindir="${EPREFIX}/bin"
|
||||
--libdir="${EPREFIX}/$(get_libdir)"
|
||||
--sbindir="${EPREFIX}/sbin"
|
||||
$(use_enable static-libs static)
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@@ -15,13 +15,18 @@ SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 -sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="static-libs"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.6.25-no_acl.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
epatch "${PATCHES[@]}"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -std=gnu89 #427300
|
||||
myeconfargs=(
|
||||
local myeconfargs=(
|
||||
--bindir="${EPREFIX}/bin"
|
||||
--libdir="${EPREFIX}/$(get_libdir)"
|
||||
--sbindir="${EPREFIX}/sbin"
|
||||
|
||||
Reference in New Issue
Block a user