summaryrefslogtreecommitdiff
path: root/media-gfx/fondu
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/fondu')
-rw-r--r--media-gfx/fondu/Manifest4
-rw-r--r--media-gfx/fondu/files/fondu-20060102-build-fix.patch10
-rw-r--r--media-gfx/fondu/fondu-20060102-r1.ebuild15
3 files changed, 14 insertions, 15 deletions
diff --git a/media-gfx/fondu/Manifest b/media-gfx/fondu/Manifest
index a2d2ff1cad43..698453587615 100644
--- a/media-gfx/fondu/Manifest
+++ b/media-gfx/fondu/Manifest
@@ -1,4 +1,4 @@
-AUX fondu-20060102-build-fix.patch 2446 BLAKE2B aa584eecfdb0221fa7f40b4abbf21103c95cb710d5f37a598ef41d634c0c560a84a856b72e839ef40cba20da6886bf6c127a11072da8949e77aef237350bc656 SHA512 02bd3202020718501540249d9f97c82ee3ddae25f6371a06d7b448fb43e393b5b2bcf5d6609395e6928d5bb559ed6b36614ae6cae271b4aae6afa2f0916b533b
+AUX fondu-20060102-build-fix.patch 2286 BLAKE2B 1cbfae9acdd023cadfcc66957da2b40ef23cea79311e6119fbba5db071360a646d5f89eb12c2085cee94cb97efa9b4e6430faa4f846820548b3af8f161070b50 SHA512 393fe9450a705a86c14b60b74a45d9298feff019ef31bb897e55eede8cabc8cb7e4465e621639c8ca3d92e6aaec3f7d4fce34ad875d6ed28a67a2a780c2d5a98
DIST fondu_src-060102.tgz 131516 BLAKE2B 7ffb51ff8fe40e7bf2eeb4eb66b979cb278b912808f295c6460dfc6172ef32286eeb82a64281f969ecc07ce7cf6d3e4f1dfefe9417e0f4c58c80790eb0f10c70 SHA512 01d31901ab50eee70a74a3e211d78c55173748ad6e0cdadcda471a1f543856795a3bd8b421206cde044d240a1b425f32f6e40239ade0e87517e00b6ed9277bce
-EBUILD fondu-20060102-r1.ebuild 729 BLAKE2B 2df1e7fe61f9a5329834b89931b2c0602738f980fd262b77a057065d275d49c6564bd1bb10b57e4e8504ce809c8087238e64f913f659e75a2de2f8a4bb9e4133 SHA512 35b4307249bc29771253a65050d932f598ef4d493a5226a40a838386b54b301b38689a44d1bfeb44734296a8ae4fe8dd4a6c7efd5a4f1a3214ec2732c8f7a335
+EBUILD fondu-20060102-r1.ebuild 717 BLAKE2B 9c23eef8c89b33d7ea5147d2e59a29d02d7bc6fb200a3f4579d264dd9d50e72a3bc75297bea90fc5b881f8c012aec0abce305bc475b39e1fa406b14c2d182e30 SHA512 48b0b0295bbef6299fecde46640457fc08d133b1d7d87b2afc3ff8709e059abfc03639f8d5310245c134c0e74c0dc49ae25d6adeddae509aa81b3659c50c13d2
MISC metadata.xml 313 BLAKE2B b2781092327c78cdbdb69d47d9b398a8cb13b333dfff2394f38b1d916173995a58d7e8d1f15b68226a3f4c28c3de78369395a1458679ffa972963bbf133c6913 SHA512 142d5ea488f33eaf8b47fc0d3cb330bc01a425756a7d49ad0df7f60dcebf1ba986684b4dd2e2c44ce41d2af018b9586f94f903ce7ba2aec0eb8958d8b7586e48
diff --git a/media-gfx/fondu/files/fondu-20060102-build-fix.patch b/media-gfx/fondu/files/fondu-20060102-build-fix.patch
index d84d0b7bde4e..6a96c2d7c5da 100644
--- a/media-gfx/fondu/files/fondu-20060102-build-fix.patch
+++ b/media-gfx/fondu/files/fondu-20060102-build-fix.patch
@@ -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 */
diff --git a/media-gfx/fondu/fondu-20060102-r1.ebuild b/media-gfx/fondu/fondu-20060102-r1.ebuild
index 03f2e4f22ced..fd4359d3d3cd 100644
--- a/media-gfx/fondu/fondu-20060102-r1.ebuild
+++ b/media-gfx/fondu/fondu-20060102-r1.ebuild
@@ -1,29 +1,30 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="5"
-
-inherit eutils
+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() {