Gentoo Archives: gentoo-commits

From: Steve Arnold <nerdboy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/fbset/, sys-apps/fbset/files/
Date: Fri, 06 Apr 2018 06:58:35
Message-Id: 1522997889.460e5389d2fb5003af2741d50ea347be9e7f104c.nerdboy@gentoo
1 commit: 460e5389d2fb5003af2741d50ea347be9e7f104c
2 Author: Stephen L Arnold <nerdboy <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 6 06:16:31 2018 +0000
4 Commit: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 6 06:58:09 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=460e5389
7
8 sys-apps/fbset: add types patch for musl, update EAPI and copyright date
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 sys-apps/fbset/fbset-2.1.ebuild | 10 ++++++----
13 sys-apps/fbset/files/fbset-2.1-add-linux-types-h.patch | 11 +++++++++++
14 2 files changed, 17 insertions(+), 4 deletions(-)
15
16 diff --git a/sys-apps/fbset/fbset-2.1.ebuild b/sys-apps/fbset/fbset-2.1.ebuild
17 index cd50cd3945d..1c334fdbfb9 100644
18 --- a/sys-apps/fbset/fbset-2.1.ebuild
19 +++ b/sys-apps/fbset/fbset-2.1.ebuild
20 @@ -1,6 +1,8 @@
21 -# Copyright 1999-2016 Gentoo Foundation
22 +# Copyright 1999-2018 Gentoo Foundation
23 # Distributed under the terms of the GNU General Public License v2
24
25 +EAPI=6
26 +
27 inherit toolchain-funcs flag-o-matic eutils
28
29 DESCRIPTION="A utility to set the framebuffer videomode"
30 @@ -16,10 +18,10 @@ DEPEND="sys-devel/bison
31 sys-devel/flex"
32 RDEPEND=""
33
34 -src_unpack() {
35 - unpack ${A}
36 - cd "${S}"
37 +src_prepare() {
38 epatch "${FILESDIR}/${P}-build.patch"
39 + epatch "${FILESDIR}/${P}-add-linux-types-h.patch"
40 + default
41 }
42
43 src_compile() {
44
45 diff --git a/sys-apps/fbset/files/fbset-2.1-add-linux-types-h.patch b/sys-apps/fbset/files/fbset-2.1-add-linux-types-h.patch
46 new file mode 100644
47 index 00000000000..589d61b0ee8
48 --- /dev/null
49 +++ b/sys-apps/fbset/files/fbset-2.1-add-linux-types-h.patch
50 @@ -0,0 +1,11 @@
51 +--- a/fbset.h 2018-04-05 18:17:18.292975594 +0000
52 ++++ b/fbset.h 2018-04-05 18:22:20.448747231 +0000
53 +@@ -17,6 +17,8 @@
54 +
55 + #ifdef __GLIBC__
56 + #include <asm/types.h>
57 ++#else
58 ++#include <linux/types.h>
59 + #endif
60 +
61 + #define VERSION "Linux Frame Buffer Device Configuration " \