From owner-svn-ports-head@freebsd.org Tue Oct 20 15:44:31 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 20989A193BA; Tue, 20 Oct 2015 15:44:31 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E0C8B9B9; Tue, 20 Oct 2015 15:44:30 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9KFiUOm076019; Tue, 20 Oct 2015 15:44:30 GMT (envelope-from kwm@FreeBSD.org) Received: (from kwm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9KFiTkT076018; Tue, 20 Oct 2015 15:44:29 GMT (envelope-from kwm@FreeBSD.org) Message-Id: <201510201544.t9KFiTkT076018@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kwm set sender to kwm@FreeBSD.org using -f From: Koop Mast Date: Tue, 20 Oct 2015 15:44:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r399864 - head/graphics/libdrm/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Oct 2015 15:44:31 -0000 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 + #include + #ifdef HAVE_SYS_SYSCTL_H ++#include + #include + #endif + #include +@@ -781,38 +782,7 @@ int drmCheckModesettingSupported(const c if (found) return 0; #elif defined (__FreeBSD__) || defined (__FreeBSD_kernel__)