1 |
commit: ee6618e3c33ea3fce11ae1d0821a54c13d5151c4 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 10 00:18:16 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 10 00:18:16 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee6618e3 |
7 |
|
8 |
sys-apps/gscanbus: Port to EAPI 7 |
9 |
|
10 |
Package-Manager: Portage-2.3.88, Repoman-2.3.20 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
...canbus-0.8-Wimplicit-function-declaration.patch | 22 ++++++++++++++++++++++ |
14 |
sys-apps/gscanbus/gscanbus-0.8.ebuild | 14 +++++++------- |
15 |
2 files changed, 29 insertions(+), 7 deletions(-) |
16 |
|
17 |
diff --git a/sys-apps/gscanbus/files/gscanbus-0.8-Wimplicit-function-declaration.patch b/sys-apps/gscanbus/files/gscanbus-0.8-Wimplicit-function-declaration.patch |
18 |
new file mode 100644 |
19 |
index 00000000000..79a585694ab |
20 |
--- /dev/null |
21 |
+++ b/sys-apps/gscanbus/files/gscanbus-0.8-Wimplicit-function-declaration.patch |
22 |
@@ -0,0 +1,22 @@ |
23 |
+--- a/decodeselfid.c |
24 |
++++ b/decodeselfid.c |
25 |
+@@ -25,6 +25,8 @@ |
26 |
+ |
27 |
+ #include "decodeselfid.h" |
28 |
+ |
29 |
++#include <string.h> |
30 |
++ |
31 |
+ void printbin(FILE *stream, unsigned int i, unsigned char width) { |
32 |
+ int j; |
33 |
+ for (j=0; j<width; j++) { |
34 |
+--- a/fatal.c |
35 |
++++ b/fatal.c |
36 |
+@@ -18,6 +18,8 @@ |
37 |
+ */ |
38 |
+ #include "fatal.h" |
39 |
+ |
40 |
++#include <stdlib.h> |
41 |
++ |
42 |
+ void fatal(char *s) { |
43 |
+ fprintf(stderr, "Error: %s\n", s); |
44 |
+ exit(1); |
45 |
|
46 |
diff --git a/sys-apps/gscanbus/gscanbus-0.8.ebuild b/sys-apps/gscanbus/gscanbus-0.8.ebuild |
47 |
index 693ade0c091..98a308f1c30 100644 |
48 |
--- a/sys-apps/gscanbus/gscanbus-0.8.ebuild |
49 |
+++ b/sys-apps/gscanbus/gscanbus-0.8.ebuild |
50 |
@@ -1,7 +1,7 @@ |
51 |
-# Copyright 1999-2015 Gentoo Foundation |
52 |
+# Copyright 1999-2020 Gentoo Authors |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
|
55 |
-EAPI=4 |
56 |
+EAPI=7 |
57 |
|
58 |
DESCRIPTION="Bus scanning, testing and topology visualizing tool for Linux IEEE1394 subsystem" |
59 |
HOMEPAGE="https://sourceforge.net/projects/gscanbus.berlios/" |
60 |
@@ -10,11 +10,11 @@ SRC_URI="mirror://sourceforge/${PN}.berlios/${P}.tar.gz" |
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="amd64 ppc x86" |
64 |
-IUSE="" |
65 |
|
66 |
-RDEPEND="sys-libs/libraw1394 |
67 |
+RDEPEND=" |
68 |
+ sys-libs/libraw1394 |
69 |
x11-libs/gtk+:2" |
70 |
-DEPEND="${RDEPEND} |
71 |
- virtual/pkgconfig" |
72 |
+DEPEND="${RDEPEND}" |
73 |
+BDEPEND="virtual/pkgconfig" |
74 |
|
75 |
-DOCS=( AUTHORS README TODO ) |
76 |
+PATCHES=( "${FILESDIR}"/${P}-Wimplicit-function-declaration.patch ) |