diff options
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xf86-video-intel/distinfo | 3 | ||||
-rw-r--r-- | x11/xf86-video-intel/patches/patch-src_intel__device.c | 25 |
2 files changed, 27 insertions, 1 deletions
diff --git a/x11/xf86-video-intel/distinfo b/x11/xf86-video-intel/distinfo index cb960e12f27..bcaed1cf8f5 100644 --- a/x11/xf86-video-intel/distinfo +++ b/x11/xf86-video-intel/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.31 2020/09/23 08:33:35 jperkin Exp $ +$NetBSD: distinfo,v 1.32 2020/10/13 04:38:29 maya Exp $ SHA1 (xf86-video-intel-5ca3ac1a90af177eb111a965e9b4dd8a27cc58fc.tar.bz2) = f9cb02d46b771e278a11dc88536049daf76f6ee8 RMD160 (xf86-video-intel-5ca3ac1a90af177eb111a965e9b4dd8a27cc58fc.tar.bz2) = 40400b5860115d3c679ec849e0ba90dba74ee6ca SHA512 (xf86-video-intel-5ca3ac1a90af177eb111a965e9b4dd8a27cc58fc.tar.bz2) = 29fea01332438ad7616bae56a926f5c6fa08f93f67c23a0bb38f775719f12b15fba5bcb096c0665948f80d3ff6b7c108f360e44aae008192ef6c9b21187b4bbb Size (xf86-video-intel-5ca3ac1a90af177eb111a965e9b4dd8a27cc58fc.tar.bz2) = 1250303 bytes +SHA1 (patch-src_intel__device.c) = e9a4420e11244b9ec552adb603c8e75cd28a8f57 SHA1 (patch-src_legacy_i810_i810__dri.c) = fb963b994d51c9db48457106048226214a2d986c SHA1 (patch-src_sna_sna__video.c) = 2771938849a475fc8c346dce0251000932add3de diff --git a/x11/xf86-video-intel/patches/patch-src_intel__device.c b/x11/xf86-video-intel/patches/patch-src_intel__device.c new file mode 100644 index 00000000000..fe9f07e37a5 --- /dev/null +++ b/x11/xf86-video-intel/patches/patch-src_intel__device.c @@ -0,0 +1,25 @@ +$NetBSD: patch-src_intel__device.c,v 1.1 2020/10/13 04:38:30 maya Exp $ + +Try i915kms as a kernel module name, from freebsd ports +_WITH_GETLINE for freebsd. + +--- src/intel_device.c.orig 2020-05-15 16:56:58.000000000 +0000 ++++ src/intel_device.c +@@ -28,6 +28,9 @@ + #include "config.h" + #endif + ++#define _WITH_GETLINE /* to expose getline() in stdio.h on FreeBSD */ ++#include <stdio.h> /* for getline() */ ++ + #include <sys/types.h> + #include <sys/stat.h> + #include <assert.h> +@@ -204,6 +207,7 @@ static inline struct intel_device *intel + } + + static const char *kernel_module_names[] ={ ++ "i915kms", + "i915", + NULL, + }; |