Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/xf86-video-nouveau/dist/src put drmmode_udev_...



details:   https://anonhg.NetBSD.org/xsrc/rev/16fa154fdeef
branches:  trunk
changeset: 10153:16fa154fdeef
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Mar 03 11:09:04 2019 +0000

description:
put drmmode_udev_notify() under HAVE_LIBUDEV.

diffstat:

 external/mit/xf86-video-nouveau/dist/src/drmmode_display.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r df017b31d46e -r 16fa154fdeef external/mit/xf86-video-nouveau/dist/src/drmmode_display.c
--- a/external/mit/xf86-video-nouveau/dist/src/drmmode_display.c        Sun Mar 03 09:44:37 2019 +0000
+++ b/external/mit/xf86-video-nouveau/dist/src/drmmode_display.c        Sun Mar 03 11:09:04 2019 +0000
@@ -1843,6 +1843,7 @@
 
 #endif
 
+#ifdef HAVE_LIBUDEV
 #if HAVE_NOTIFY_FD
 static void
 drmmode_udev_notify(int fd, int notify, void *data)
@@ -1851,6 +1852,7 @@
        drmmode_handle_uevents(scrn);
 }
 #endif
+#endif
 
 static bool has_randr(void)
 {



Home | Main Index | Thread Index | Old Index