Skip to content

Commit

Permalink
app-cdr/b5i2iso: update EAPI 6 -> 8
Browse files Browse the repository at this point in the history
Signed-off-by: David Seifert <[email protected]>
  • Loading branch information
SoapGentoo committed Jul 23, 2022
1 parent 32179e6 commit f78117d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -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
}
6 changes: 3 additions & 3 deletions app-cdr/b5i2iso/files/b5i2iso-0.2-segfault.patch
Original file line number Diff line number Diff line change
@@ -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>
Expand All @@ -15,4 +15,4 @@
+}
fdest = fopen(destfilename,"wb");

fseek(fsource, 2352, SEEK_CUR);
fseek(fsource, 2352, SEEK_CUR);

0 comments on commit f78117d

Please sign in to comment.