Diff fox-1.7.67-r1 with a fox-1.7.67-r2
/usr/portage/x11-libs/fox/fox-1.7.67-r2.ebuild 2023-10-09 14:52:35.916368512 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
... | ... | |
11 | 11 | |
12 | 12 |
LICENSE="LGPL-2.1" |
13 | 13 |
SLOT="1.7" |
14 |
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86" |
|
14 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
|
15 | 15 |
IUSE="+bzip2 +jpeg +opengl +png tiff +truetype +zlib debug doc profile tools" |
16 | 16 | |
17 | 17 |
RDEPEND=" |
... | ... | |
33 | 33 |
x11-libs/libXt" |
34 | 34 |
BDEPEND="doc? ( app-doc/doxygen )" |
35 | 35 | |
36 |
PATCHES=( "${FILESDIR}"/"${PN}"-1.7.67-no-truetype.patch ) |
|
36 |
PATCHES=( |
|
37 |
"${FILESDIR}"/"${PN}"-1.7.67-no-truetype.patch |
|
38 |
"${FILESDIR}"/"${PN}"-1.7.67-pthread_rwlock_prefer_writer_np-musl.patch |
|
39 |
) |
|
37 | 40 | |
38 | 41 |
src_prepare() { |
39 | 42 |
default |
40 | 43 | |
41 | 44 |
sed -i '/#define REXDEBUG 1/d' lib/FXRex.cpp || die "Unable to remove spurious debug line." |
42 | 45 |
sed -i -e "s:windows::" Makefile.am || die |
46 |
sed -i -e 's/register //g' lib/*.cpp || die "Unable remove register keywords from sources under lib folder" |
|
47 |
sed -i -e 's/register //g' shutterbug/*.cpp || die "Unable remove register keywords from sources under shutterbug folder" |
|
48 |
sed -i -e 's/register //g' calculator/*.cpp || die "Unable remove register keywords from sources under calculator folder" |
|
49 |
sed -i -e 's/register //g' glviewer/*.cpp || die "Unable remove register keywords from sources under glviewer folder" |
|
50 |
sed -i -e 's/register //g' chart/*.cpp || die "Unable remove register keywords from sources under chart folder" |
|
43 | 51 |
if ! use tools; then |
44 | 52 |
local d |
45 | 53 |
for d in adie calculator pathfinder shutterbug; do |