Update to 2.4.74

This commit is contained in:
Baptiste Daroussin 2017-01-14 10:37:09 +00:00
parent fe48f8380a
commit d41f933bc5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=431463
5 changed files with 13 additions and 17 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= libdrm
PORTVERSION= 2.4.66
PORTVERSION= 2.4.74
PORTEPOCH= 1
CATEGORIES= graphics x11
MASTER_SITES= http://dri.freedesktop.org/libdrm/
@ -10,6 +10,8 @@ MASTER_SITES= http://dri.freedesktop.org/libdrm/
MAINTAINER= x11@FreeBSD.org
COMMENT= Userspace interface to kernel Direct Rendering Module services
LICENSE= MIT
LIB_DEPENDS= libpciaccess.so:devel/libpciaccess \
libpthread-stubs.so:devel/libpthread-stubs

View file

@ -1,2 +1,3 @@
SHA256 (libdrm-2.4.66.tar.bz2) = 79cb8e988749794edfb2d777b298d5292eff353bbbb71ed813589e61d2bc2d76
SIZE (libdrm-2.4.66.tar.bz2) = 694574
TIMESTAMP = 1484389267
SHA256 (libdrm-2.4.74.tar.bz2) = d80dd5a76c401f4c8756dcccd999c63d7e0a3bad258d96a829055cfd86ef840b
SIZE (libdrm-2.4.74.tar.bz2) = 781730

View file

@ -6,12 +6,12 @@ dragonfly fixed this issue in,
http://gitweb.dragonflybsd.org/dragonfly.git/commit/b922632f623ee2cc2c1346bb3a6894a7756676aa
which will be included in the 4.4 release when it is released.
--- xf86drm.c.orig 2015-11-02 12:26:19.910518000 +0100
+++ xf86drm.c 2015-11-02 12:27:10.575894000 +0100
@@ -174,7 +174,7 @@
--- xf86drm.c.orig 2016-11-29 11:15:10 UTC
+++ xf86drm.c
@@ -173,7 +173,7 @@ drmIoctl(int fd, unsigned long request,
do {
ret = ioctl(fd, request, arg);
ret = ioctl(fd, request, arg);
- } while (ret == -1 && (errno == EINTR || errno == EAGAIN));
+ } while (ret == -1 && (errno == EINTR || errno == EAGAIN || errno == 512));
return ret;

View file

@ -1,10 +0,0 @@
--- tests/kms/kms-universal-planes.c.orig 2016-02-15 12:05:56.305353000 +0100
+++ tests/kms/kms-universal-planes.c 2016-02-15 12:06:11.194126000 +0100
@@ -32,6 +32,7 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
+#include <sys/select.h>
#include <drm_fourcc.h>
#include "xf86drm.h"

View file

@ -34,6 +34,9 @@ include/libdrm/savage_drm.h
include/libdrm/sis_drm.h
include/libdrm/tegra_drm.h
include/libdrm/via_drm.h
include/libdrm/vc4_drm.h
include/libdrm/virtgpu_drm.h
include/libsync.h
%%KMS%%include/libkms/libkms.h
include/xf86drm.h
include/xf86drmMode.h