Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Oct 2015 15:44:29 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r399864 - head/graphics/libdrm/files
Message-ID:  <201510201544.t9KFiTkT076018@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Tue Oct 20 15:44:29 2015
New Revision: 399864
URL: https://svnweb.freebsd.org/changeset/ports/399864

Log:
  Unbreak libdrm on 9.3-R.

Modified:
  head/graphics/libdrm/files/patch-xf86drmMode.c

Modified: head/graphics/libdrm/files/patch-xf86drmMode.c
==============================================================================
--- head/graphics/libdrm/files/patch-xf86drmMode.c	Tue Oct 20 15:36:56 2015	(r399863)
+++ head/graphics/libdrm/files/patch-xf86drmMode.c	Tue Oct 20 15:44:29 2015	(r399864)
@@ -2,9 +2,17 @@ Disable checking for hw.dri.%d.modesetti
 This sysctl is only available if a KMS module is loaded. But the libdrm
 check happens before X got a chance of loading the KMS module.
 
---- xf86drmMode.c.orig	2014-08-27 20:04:46.000000000 +0200
-+++ xf86drmMode.c	2014-10-18 15:12:02.586937600 +0200
-@@ -774,38 +774,7 @@
+--- xf86drmMode.c.orig	2015-08-21 16:50:01.000000000 +0200
++++ xf86drmMode.c	2015-10-20 17:34:48.000000000 +0200
+@@ -47,6 +47,7 @@
+ #include <stdlib.h>
+ #include <sys/ioctl.h>
+ #ifdef HAVE_SYS_SYSCTL_H
++#include <sys/types.h>
+ #include <sys/sysctl.h>
+ #endif
+ #include <stdio.h>
+@@ -781,38 +782,7 @@ int drmCheckModesettingSupported(const c
  	if (found)
  		return 0;
  #elif defined (__FreeBSD__) || defined (__FreeBSD_kernel__)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510201544.t9KFiTkT076018>