media-gfx/fondu: port to EAPI 7

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-04-19 20:11:58 +01:00
parent 4337dd163c
commit eeaf407d6f
2 changed files with 11 additions and 12 deletions
@@ -10,9 +10,8 @@ frommacbinary.c:58: warning: too few arguments for format
Upstream: https://sourceforge.net/tracker/?func=detail&aid=2875547&group_id=39411&atid=425133
Author: Peter Volkov <pva@gentoo.org>
=== modified file 'fondu.c'
--- fondu.c 2009-10-09 07:24:15 +0000
+++ fondu.c 2009-10-09 07:25:49 +0000
--- a/fondu.c
+++ b/fondu.c
@@ -473,7 +473,7 @@
}
if ( styleoff!=0 ) {
@@ -55,9 +54,8 @@ Author: Peter Volkov <pva@gentoo.org>
pt += strings[ 0 ][0];
if ( format!=0 && format!=-1 )
=== modified file 'frommacbinary.c'
--- frommacbinary.c 2009-10-09 07:24:15 +0000
+++ frommacbinary.c 2009-10-09 07:27:54 +0000
--- a/frommacbinary.c
+++ b/frommacbinary.c
@@ -55,7 +55,7 @@
/* frombin filenames */
+7 -6
View File
@@ -1,29 +1,30 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
inherit epatch
EAPI=7
MY_PV=${PV:2:6}
DESCRIPTION="Utilities for converting between and manipulating mac fonts and unix fonts"
HOMEPAGE="http://fondu.sourceforge.net/"
SRC_URI="http://fondu.sourceforge.net/${PN}_src-${MY_PV}.tgz"
S="${WORKDIR}"/${PN}-${MY_PV}
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
IUSE=""
S=${WORKDIR}/${PN}-${MY_PV}
PATCHES=(
"${FILESDIR}"/${P}-build-fix.patch
)
src_prepare() {
default
sed -e 's:^CFLAGS =:CFLAGS +=:' \
-e 's:$(CFLAGS) -o:$(CFLAGS) $(LDFLAGS) -o:' \
-e 's:wilprefix:prefix:' \
-i Makefile.in || die "failed to sed"
epatch "${FILESDIR}/${P}-build-fix.patch"
}
src_install() {