summaryrefslogtreecommitdiff
path: root/app-cdr/b5i2iso
diff options
context:
space:
mode:
Diffstat (limited to 'app-cdr/b5i2iso')
-rw-r--r--app-cdr/b5i2iso/Manifest4
-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
3 files changed, 13 insertions, 11 deletions
diff --git a/app-cdr/b5i2iso/Manifest b/app-cdr/b5i2iso/Manifest
index cc9fca635e01..ba644d9cb711 100644
--- a/app-cdr/b5i2iso/Manifest
+++ b/app-cdr/b5i2iso/Manifest
@@ -1,4 +1,4 @@
-AUX b5i2iso-0.2-segfault.patch 388 BLAKE2B 151e6f41afe5e241be181de2b0ce50a2ee0bff64ab1b04ff99501b2844705a1295cbfea28b85446d2aa899eb6e3a58b9f40e992c336965f8b07749e1698af53c SHA512 133fb1c4da9391e1465f0c820fea2038859c351dbf9b9a8de293294c66857a68f0f544bbca9b8a927a615cc3488a691db6a0bb532bea98362904876634966a5f
+AUX b5i2iso-0.2-segfault.patch 377 BLAKE2B b64cf2f53c1d6cb824a8c119a03ed0c33686e1b867043b354d8065ab897db7010aebbbc7a47a27caa10050a7a556b9a33513ca33381affee9c936ca8a60b0ce8 SHA512 dc487dfa703f99dfe2c71dd33e7f088e231f68e27453fca55abafe7cc947d9f96ef07fe6558165c3752b9d0e2bf3041ea82b64f078168a620d24fcbf2f16c0af
DIST b5i2iso-0.2.tar.bz2 7503 BLAKE2B a1ac74596213845c49dd007390445640ebe6226ae6273f4e05d567c58badb2ca2698c06951be7348c63c89920dd8034e376343d387665ae08ee13747efcf903b SHA512 2ec6ce30225370898aee9876937b70ee38ed68b6515bef13eb010f1ef1970894995461d5dc5f44ac24d2e7e682774e4fc3c6d2bdde8f744129a3f6103b50f9e4
-EBUILD b5i2iso-0.2-r1.ebuild 566 BLAKE2B 1203d0d037fc908dbbe7ceda22d7a1361dc8a45caebf9c3b8ee1e5c260d253808438eccf034d6d8c6e0f3fdd42d765f2f00c6e5c3e68cef859f9d1813172f718 SHA512 8f65c6c9ab081713d779417d93bef18935f583010e982212238b978e6a8e33b3105972c52121f6dfa2b31f3b03da6b405a1d57c4fa9f3542b35e379fb435df38
+EBUILD b5i2iso-0.2-r2.ebuild 554 BLAKE2B e1afd9485907499b58ce1a3a497d9254c315be3031da7bbe538f6f56402f0a247a9bd9e6ca4bc9a2f53a592147f34e5b5e3b90342b2a88985c2a71af5087317a SHA512 780f3f9c20b8d1c2545de6c0e5f10d209ea893c744e0ba59b339340a0d90e791c6a9b45b53f159827f39a154bdf9461f1e029ee8ca7eb2f8feaa222c5d6e1e51
MISC metadata.xml 168 BLAKE2B 2e0e000b4c3b6ca04c12903fdbe278415c05a822623c52e9aa95cbbf3d50bcb1246b7edbda7d2f6b559af8950c6374e6e0a69b76319964cfe686bf50b0604a57 SHA512 4dcf45d1809e8390a2d8155c8ebfe0dd610203e392aeab0ccd8a10f42cc8532a4925eff32b35e7a6c35598a4efd288229034ec0732299dbd8cfa0acff705fed3
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);