pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/xf86-video-intel xf86-video-intel: freebsd/dragonf...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7928fbdb839f
branches:  trunk
changeset: 440591:7928fbdb839f
user:      maya <maya%pkgsrc.org@localhost>
date:      Tue Oct 13 04:38:29 2020 +0000

description:
xf86-video-intel: freebsd/dragonflybsd build fix. from freebsd ports.

Inspired by an outdated patch in PR pkg/50090

diffstat:

 x11/xf86-video-intel/distinfo                          |   3 +-
 x11/xf86-video-intel/patches/patch-src_intel__device.c |  25 ++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletions(-)

diffs (43 lines):

diff -r 680a20742f02 -r 7928fbdb839f x11/xf86-video-intel/distinfo
--- a/x11/xf86-video-intel/distinfo     Tue Oct 13 03:59:16 2020 +0000
+++ b/x11/xf86-video-intel/distinfo     Tue Oct 13 04:38:29 2020 +0000
@@ -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 -r 680a20742f02 -r 7928fbdb839f x11/xf86-video-intel/patches/patch-src_intel__device.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xf86-video-intel/patches/patch-src_intel__device.c    Tue Oct 13 04:38:29 2020 +0000
@@ -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,
+ };



Home | Main Index | Thread Index | Old Index