diff options
-rw-r--r-- | app-cdr/b5i2iso/b5i2iso-0.2-r2.ebuild (renamed from app-cdr/b5i2iso/b5i2iso-0.2-r1.ebuild) | 14 | ||||
-rw-r--r-- | app-cdr/b5i2iso/files/b5i2iso-0.2-segfault.patch | 6 |
2 files changed, 11 insertions, 9 deletions
diff --git a/app-cdr/b5i2iso/b5i2iso-0.2-r1.ebuild b/app-cdr/b5i2iso/b5i2iso-0.2-r2.ebuild index 2257660d9dfa..93024872c4d1 100644 --- a/app-cdr/b5i2iso/b5i2iso-0.2-r1.ebuild +++ b/app-cdr/b5i2iso/b5i2iso-0.2-r2.ebuild @@ -1,24 +1,26 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=8 + inherit toolchain-funcs DESCRIPTION="Convert CD images from b5i (BlindWrite) to iso" HOMEPAGE="https://web.archive.org/web/20100116120705/b5i2iso.berlios.de" SRC_URI="mirror://gentoo/${P}.tar.bz2" +S="${WORKDIR}/${PN}" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux ~x64-macos" -PATCHES=( "${FILESDIR}/${P}-segfault.patch" ) -S=${WORKDIR}/${PN} +PATCHES=( "${FILESDIR}"/${P}-segfault.patch ) src_compile() { - $(tc-getCC) ${LDFLAGS} ${CFLAGS} src/${PN}.c -o ${PN} + tc-export CC + emake -C src b5i2iso } src_install() { - dobin ${PN} + dobin src/b5i2iso } diff --git a/app-cdr/b5i2iso/files/b5i2iso-0.2-segfault.patch b/app-cdr/b5i2iso/files/b5i2iso-0.2-segfault.patch index 6fda80e79605..1863ca42afee 100644 --- a/app-cdr/b5i2iso/files/b5i2iso-0.2-segfault.patch +++ b/app-cdr/b5i2iso/files/b5i2iso-0.2-segfault.patch @@ -1,5 +1,5 @@ ---- b5i2iso/src/b5i2iso.c -+++ b5i2iso/src/b5i2iso.c +--- a/src/b5i2iso.c ++++ b/src/b5i2iso.c @@ -1,3 +1,4 @@ +#include <errno.h> #include <stdio.h> @@ -15,4 +15,4 @@ +} fdest = fopen(destfilename,"wb"); - fseek(fsource, 2352, SEEK_CUR);
\ No newline at end of file + fseek(fsource, 2352, SEEK_CUR); |