From 2b0b804f21b27c9137afe731a3d9ff6fa97e1388 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Mon, 15 Apr 2019 12:55:49 +0200 Subject: [PATCH] app-admin/genromfs: EAPI=7, fix LICENSE Closes: https://bugs.gentoo.org/683372 Closes: https://github.com/gentoo/gentoo/pull/11692 Signed-off-by: Michael Mair-Keimberger Signed-off-by: David Seifert --- .../genromfs/files/genromfs-0.5.2-build.patch | 4 ++-- app-admin/genromfs/genromfs-0.5.2.ebuild | 15 ++++++--------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/app-admin/genromfs/files/genromfs-0.5.2-build.patch b/app-admin/genromfs/files/genromfs-0.5.2-build.patch index 1fbc29fb7d5c..667448e1a20a 100644 --- a/app-admin/genromfs/files/genromfs-0.5.2-build.patch +++ b/app-admin/genromfs/files/genromfs-0.5.2-build.patch @@ -1,5 +1,5 @@ ---- Makefile -+++ Makefile +--- a/Makefile ++++ b/Makefile @@ -5,9 +5,10 @@ PACKAGE = genromfs diff --git a/app-admin/genromfs/genromfs-0.5.2.ebuild b/app-admin/genromfs/genromfs-0.5.2.ebuild index 3b3fd2b0b57b..8bdcc8946afe 100644 --- a/app-admin/genromfs/genromfs-0.5.2.ebuild +++ b/app-admin/genromfs/genromfs-0.5.2.ebuild @@ -1,24 +1,21 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=7 -inherit eutils toolchain-funcs +inherit toolchain-funcs DESCRIPTION="Create space-efficient, small, read-only romfs filesystems" HOMEPAGE="http://romfs.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" -LICENSE="GPL-2" +LICENSE="GPL-2+" SLOT="0" KEYWORDS="amd64 arm64 ppc ~ppc64 s390 x86" -IUSE="" -DOCS=( ChangeLog NEWS genromfs.lsm genrommkdev readme-kernel-patch romfs.txt ) +PATCHES=( "${FILESDIR}"/${P}-build.patch ) -src_prepare() { - epatch "${FILESDIR}"/${P}-build.patch -} +DOCS=( ChangeLog NEWS genromfs.lsm genrommkdev readme-kernel-patch romfs.txt ) src_compile() { tc-export CC -- 2.26.2