summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-07-23 21:17:41 +0200
committerDavid Seifert <soap@gentoo.org>2022-07-23 21:17:41 +0200
commitf78117d8e9e481e3a8c3b3e6f54afc830e1b1a1a (patch)
tree4e2539b5333143bacadb6ee82bffae0ca7ea1b65 /app-cdr
parentapp-emulation/ganeti: fix dtd url (http->https) (diff)
downloadgentoo-f78117d8e9e481e3a8c3b3e6f54afc830e1b1a1a.tar.gz
gentoo-f78117d8e9e481e3a8c3b3e6f54afc830e1b1a1a.tar.bz2
gentoo-f78117d8e9e481e3a8c3b3e6f54afc830e1b1a1a.zip
app-cdr/b5i2iso: update EAPI 6 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-cdr')
-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.patch6
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);