Diff fam-2.7.0_p17_p2 with a fam-2.7.0_p17_p3

/usr/portage/app-admin/fam/fam-2.7.0_p17_p3.ebuild 2020-06-22 16:38:00.000000000 +0300
1 1
# Copyright 1999-2020 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=6
5
inherit autotools eutils flag-o-matic ltprune multilib-minimal toolchain-funcs
4
EAPI=7
5
inherit autotools flag-o-matic multilib-minimal toolchain-funcs
6 6

  
7 7
FAM_PV="${PV/_p*/}"
8 8
DEBIAN_PATCH="${PV#*_p}"
......
10 10
DESCRIPTION="FAM, the File Alteration Monitor"
11 11
HOMEPAGE="http://oss.sgi.com/projects/fam/"
12 12
SRC_URI="
13
	ftp://oss.sgi.com/projects/fam/download/stable/${PN}-${FAM_PV}.tar.gz
14
	mirror://debian/pool/main/f/${PN}/${PN}_${FAM_PV}-${DEBIAN_PATCH}.diff.gz
13
	mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${FAM_PV}.orig.tar.gz
14
	mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${FAM_PV}-${DEBIAN_PATCH}.diff.gz
15 15
"
16 16

  
17 17
LICENSE="GPL-2 LGPL-2.1"
18 18
SLOT="0"
19
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 s390 sparc x86"
19
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
20 20
IUSE="static-libs"
21 21

  
22 22
DEPEND="
......
29 29
"
30 30
DOCS=( AUTHORS ChangeLog INSTALL NEWS TODO README )
31 31
S=${WORKDIR}/${PN}-${FAM_PV}
32
PATCHES=(
33
	"${FILESDIR}"/${PN}-${FAM_PV}-AM_CONFIG_HEADER.patch
34
	"${FILESDIR}"/${PN}-${FAM_PV}-bindresvport.patch #729120
35
	"${FILESDIR}"/${PN}-${FAM_PV}-out-of-tree.patch
36
	"${FILESDIR}"/${PN}-${FAM_PV}-sysmacros.patch #580702
37
)
38

  
39
src_unpack() {
40
	default
41
	cd "${WORKDIR}" || die
42
	tar xzf "${WORKDIR}"/${PN}-${FAM_PV}/${PN}-${FAM_PV}.tar.gz || die
43
}
32 44

  
33 45
src_prepare() {
46
	find "${S}" -type f -exec chmod +w {} \; || die
47

  
34 48
	eapply "${WORKDIR}"/${PN}_${FAM_PV}-${DEBIAN_PATCH}.diff
35 49
	edos2unix debian/patches/10_debianbug375967.patch
36 50
	eapply "${FILESDIR}"/${PN}-${FAM_PV}-patch-header.patch
37

  
38 51
	eapply debian/patches/*patch
39 52

  
40
	eapply "${FILESDIR}"/${PN}-${FAM_PV}-AM_CONFIG_HEADER.patch
41
	eapply "${FILESDIR}"/${PN}-${FAM_PV}-out-of-tree.patch
42
	eapply "${FILESDIR}"/${PN}-${FAM_PV}-sysmacros.patch #580702
43

  
44
	eapply_user
53
	default
45 54

  
46 55
	eautoreconf
47 56
}
......
59 68
}
60 69

  
61 70
multilib_src_install_all() {
62
	prune_libtool_files
71
	find "${ED}" -name '*.la' -delete || die
72

  
63 73
	einstalldocs
64 74

  
65 75
	sed -i "${D}"/etc/fam.conf \
Thank you!