diff options
author | rezny <rezny@FreeBSD.org> | 2017-02-23 23:08:12 +0800 |
---|---|---|
committer | rezny <rezny@FreeBSD.org> | 2017-02-23 23:08:12 +0800 |
commit | 6ccec5280398322add3d40d9c106eca257ee5e47 (patch) | |
tree | af10429eccb899116430f3cb03d714561cb1576b /x11-drivers | |
parent | d93c29ceceb2f687d3031154e85b85448e44fb25 (diff) | |
download | freebsd-ports-gnome-6ccec5280398322add3d40d9c106eca257ee5e47.tar.gz freebsd-ports-gnome-6ccec5280398322add3d40d9c106eca257ee5e47.tar.zst freebsd-ports-gnome-6ccec5280398322add3d40d9c106eca257ee5e47.zip |
Remove useless patch, radeon DDX already loads radeonkms.ko as needed
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D9763
Diffstat (limited to 'x11-drivers')
-rw-r--r-- | x11-drivers/xf86-video-ati/Makefile | 1 | ||||
-rw-r--r-- | x11-drivers/xf86-video-ati/files/patch-src__radeon_kms.c | 27 |
2 files changed, 1 insertions, 27 deletions
diff --git a/x11-drivers/xf86-video-ati/Makefile b/x11-drivers/xf86-video-ati/Makefile index 1c63245f178f..0af355eeabe2 100644 --- a/x11-drivers/xf86-video-ati/Makefile +++ b/x11-drivers/xf86-video-ati/Makefile @@ -3,6 +3,7 @@ PORTNAME= xf86-video-ati PORTVERSION= 7.8.0 PORTEPOCH= 1 +PORTREVISION= 1 CATEGORIES= x11-drivers MAINTAINER= x11@FreeBSD.org diff --git a/x11-drivers/xf86-video-ati/files/patch-src__radeon_kms.c b/x11-drivers/xf86-video-ati/files/patch-src__radeon_kms.c deleted file mode 100644 index 08895039f67c..000000000000 --- a/x11-drivers/xf86-video-ati/files/patch-src__radeon_kms.c +++ /dev/null @@ -1,27 +0,0 @@ ---- src/radeon_kms.c.orig 2016-11-17 02:23:37 UTC -+++ src/radeon_kms.c -@@ -30,6 +30,8 @@ - - #include <errno.h> - #include <sys/ioctl.h> -+#include <sys/param.h> -+#include <sys/linker.h> - /* Driver data structures */ - #include "radeon.h" - #include "radeon_drm_queue.h" -@@ -1405,6 +1407,15 @@ static int radeon_get_drm_master_fd(Scrn - XNFasprintf(&busid, "pci:%04x:%02x:%02x.%d", - dev->domain, dev->bus, dev->dev, dev->func); - -+ fd = kldload("radeonkms"); -+ if (fd == -1 && errno != EEXIST) { -+ xf86DrvMsg(pScrn->scrnIndex, X_ERROR, -+ "[drm] Failed to load kernel module for %s: %s\n", -+ busid, strerror(errno)); -+ free(busid); -+ return fd; -+ } -+ - fd = drmOpen(NULL, busid); - if (fd == -1) - xf86DrvMsg(pScrn->scrnIndex, X_ERROR, |