diff options
author | maya <maya@pkgsrc.org> | 2020-10-13 04:38:29 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2020-10-13 04:38:29 +0000 |
commit | 4a5c5608d43be255a357283b12632ad19729fdf8 (patch) | |
tree | 70e01ef8c58eb58dad75bb43aa9c3a5a194d482d /x11 | |
parent | 2bdcd5bff2906cffd7ce648829a4137ec8a71f7b (diff) | |
download | pkgsrc-4a5c5608d43be255a357283b12632ad19729fdf8.tar.gz |
xf86-video-intel: freebsd/dragonflybsd build fix. from freebsd ports.
Inspired by an outdated patch in PR pkg/50090
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, + }; |