From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-video-vesa/
Date: Sun, 29 Jan 2017 07:05:29 +0000 (UTC) [thread overview]
Message-ID: <1485673518.aafa644775d31150722aef2a6a68925a016aaa72.mattst88@gentoo> (raw)
commit: aafa644775d31150722aef2a6a68925a016aaa72
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 29 07:03:50 2017 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Jan 29 07:05:18 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aafa6447
x11-drivers/xf86-video-vesa: Check for CONFIG_DEVMEM.
Bug: https://bugs.gentoo.org/577360
.../xf86-video-vesa/xf86-video-vesa-2.3.4.ebuild | 17 +++++++++++++++--
1 file changed, 15 insertions(+), 2 deletions(-)
diff --git a/x11-drivers/xf86-video-vesa/xf86-video-vesa-2.3.4.ebuild b/x11-drivers/xf86-video-vesa/xf86-video-vesa-2.3.4.ebuild
index 75d45e5..101f1d0 100644
--- a/x11-drivers/xf86-video-vesa/xf86-video-vesa-2.3.4.ebuild
+++ b/x11-drivers/xf86-video-vesa/xf86-video-vesa-2.3.4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
-inherit xorg-2
+inherit linux-info xorg-2
DESCRIPTION="Generic VESA video driver"
KEYWORDS="-* alpha amd64 ia64 x86 ~amd64-fbsd ~x86-fbsd"
@@ -12,3 +12,16 @@ IUSE=""
RDEPEND=">=x11-base/xorg-server-1.6
>=x11-libs/libpciaccess-0.12.901"
DEPEND="${RDEPEND}"
+
+pkg_pretend() {
+ linux-info_pkg_setup
+
+ if ! linux_config_exists || ! linux_chkconfig_present DEVMEM; then
+ echo
+ ewarn "This driver requires /dev/mem support in your kernel"
+ ewarn " Device Drivers --->"
+ ewarn " Character devices --->"
+ ewarn " [*] /dev/mem virtual device support"
+ echo
+ fi
+}
next reply other threads:[~2017-01-29 7:05 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-29 7:05 Matt Turner [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-01-26 17:47 [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-video-vesa/ Matt Turner
2023-01-24 18:27 Arthur Zamarin
2022-12-09 21:25 Matt Turner
2020-12-24 3:42 Matt Turner
2020-12-20 19:17 Thomas Deutschmann
2020-12-06 20:48 Sam James
2020-09-23 1:08 Matt Turner
2019-01-20 6:52 Matt Turner
2019-01-20 5:43 Matt Turner
2018-05-08 21:15 Matt Turner
2018-05-07 19:22 Thomas Deutschmann
2018-05-06 19:23 Matt Turner
2018-05-06 12:30 Mikle Kolyada
2018-02-15 19:41 Matt Turner
2016-11-13 9:16 Agostino Sarubbo
2016-06-02 17:12 Tobias Klausmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1485673518.aafa644775d31150722aef2a6a68925a016aaa72.mattst88@gentoo \
--to=mattst88@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox