sys-apps/gscanbus: Port to EAPI 7

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2020-02-10 01:18:16 +01:00
parent dca74e8493
commit ee6618e3c3
2 changed files with 29 additions and 7 deletions

View File

@@ -0,0 +1,22 @@
--- a/decodeselfid.c
+++ b/decodeselfid.c
@@ -25,6 +25,8 @@
#include "decodeselfid.h"
+#include <string.h>
+
void printbin(FILE *stream, unsigned int i, unsigned char width) {
int j;
for (j=0; j<width; j++) {
--- a/fatal.c
+++ b/fatal.c
@@ -18,6 +18,8 @@
*/
#include "fatal.h"
+#include <stdlib.h>
+
void fatal(char *s) {
fprintf(stderr, "Error: %s\n", s);
exit(1);

View File

@@ -1,7 +1,7 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=4
EAPI=7
DESCRIPTION="Bus scanning, testing and topology visualizing tool for Linux IEEE1394 subsystem"
HOMEPAGE="https://sourceforge.net/projects/gscanbus.berlios/"
@@ -10,11 +10,11 @@ SRC_URI="mirror://sourceforge/${PN}.berlios/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
RDEPEND="sys-libs/libraw1394
RDEPEND="
sys-libs/libraw1394
x11-libs/gtk+:2"
DEPEND="${RDEPEND}
virtual/pkgconfig"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
DOCS=( AUTHORS README TODO )
PATCHES=( "${FILESDIR}"/${P}-Wimplicit-function-declaration.patch )