Diff libowfat-0.32-r5 with a libowfat-0.33-r1
/usr/portage/dev-libs/libowfat/libowfat-0.33-r1.ebuild 2023-10-09 14:52:29.524368351 +0300 | ||
---|---|---|
11 | 11 | |
12 | 12 |
LICENSE="GPL-2" |
13 | 13 |
SLOT="0" |
14 |
KEYWORDS="amd64 hppa sparc x86" |
|
14 |
KEYWORDS="~amd64 ~hppa ~sparc ~x86" |
|
15 | 15 |
IUSE="diet" |
16 | 16 | |
17 | 17 |
RDEPEND="diet? ( >=dev-libs/dietlibc-0.33_pre20090721 )" |
18 | 18 |
DEPEND="${RDEPEND}" |
19 | 19 | |
20 |
PATCHES=( |
|
21 |
"${FILESDIR}"/${P}-gcc10.patch |
|
22 |
"${FILESDIR}"/${P}-ar.patch |
|
23 |
) |
|
24 | ||
25 | 20 |
pkg_setup() { |
26 | 21 |
# Required for mult/umult64.c to be usable |
27 | 22 |
append-flags -fomit-frame-pointer |
28 | 23 |
} |
29 | 24 | |
30 |
src_prepare() { |
|
31 |
default |
|
32 | ||
33 |
# do not define "__pure__", this the gcc builtin (bug #806505) |
|
34 |
sed 's#__pure__;#__attribute__((__pure__));#' -i fmt.h scan.h byte.h stralloc.h str.h critbit.h || die |
|
35 |
sed 's#__pure__$#__attrib__pure__#' -i fmt.h scan.h byte.h stralloc.h str.h critbit.h || die |
|
36 |
# remove unneeded definition of __deprecated__ |
|
37 |
sed '/^#define __deprecated__$/d' -i scan/scan_iso8601.c scan/scan_httpdate.c || die |
|
38 |
} |
|
39 | ||
40 | 25 |
src_compile() { |
26 |
# workaround for broken dependencies |
|
27 |
emake headers |
|
28 | ||
41 | 29 |
emake \ |
42 | 30 |
CC="$(tc-getCC)" \ |
43 | 31 |
AR="$(tc-getAR)" \ |