logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: b99ef6bfc544b340d6ea0d07b82f764539cc62e9
parent 914246d3257867d162e1f433c86105660516ff52
Author: Michael Forney <mforney@mforney.org>
Date:   Sat, 10 Mar 2018 19:08:35 -0800

libdrm: Check if config.video_drivers is set

Diffstat:

Mpkg/libdrm/gen.lua2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/libdrm/gen.lua b/pkg/libdrm/gen.lua @@ -1,5 +1,5 @@ local function havedriver(name) - local enabled = config.video_drivers[name] + local enabled = config.video_drivers and config.video_drivers[name] return '-D HAVE_'..name:upper()..'='..(enabled and '1' or '0') end