@@ -, +, @@ --- graphics/libdrm/Makefile | 2 +- graphics/libdrm/distinfo | 6 +++--- graphics/libdrm/files/patch-xf86drm.c | 20 +------------------- 3 files changed, 5 insertions(+), 23 deletions(-) --- b/graphics/libdrm/Makefile +++ b/graphics/libdrm/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= libdrm -PORTVERSION= 2.4.96 +PORTVERSION= 2.4.98 PORTEPOCH= 1 CATEGORIES= graphics x11 MASTER_SITES= http://dri.freedesktop.org/libdrm/ --- b/graphics/libdrm/distinfo +++ b/graphics/libdrm/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1539797646 -SHA256 (libdrm-2.4.96.tar.bz2) = 0d561acf7bb4cc59dc82415100e6c1a44860e8c380e00f9592923e3cd08db393 -SIZE (libdrm-2.4.96.tar.bz2) = 829518 +TIMESTAMP = 1555689149 +SHA256 (libdrm-2.4.98.tar.bz2) = 8be0edccaca3abde8b6bb1431b46354c7fab46e9b91cc6946ba65b51f56f1894 +SIZE (libdrm-2.4.98.tar.bz2) = 833295 --- b/graphics/libdrm/files/patch-xf86drm.c +++ b/graphics/libdrm/files/patch-xf86drm.c @@ -41,15 +41,6 @@ #endif #ifdef __NetBSD__ -@@ -177,7 +174,7 @@ drm_public void drmFree(void *pt) - } - - /** -- * Call ioctl, restarting if it is interupted -+ * Call ioctl, restarting if it is interrupted - */ - drm_public int - drmIoctl(int fd, unsigned long request, void *arg) @@ -220,6 +217,89 @@ drm_public drmHashEntry *drmGetEntry(int fd) return entry; } @@ -140,15 +131,6 @@ /** * Compare two busid strings * -@@ -287,7 +367,7 @@ static int drmMatchBusID(const char *id1, const char * - * - * \internal - * Checks for failure. If failure was caused by signal call chown again. -- * If any other failure happened then it will output error mesage using -+ * If any other failure happened then it will output error message using - * drmMsg() call. - */ - #if !UDEV @@ -324,8 +404,8 @@ static int chown_check_return(const char *path, uid_t static int drmOpenDevice(dev_t dev, int minor, int type) { @@ -419,7 +401,7 @@ return DRM_BUS_VIRTIO; return -EINVAL; --#elif defined(__OpenBSD__) +-#elif defined(__OpenBSD__) || defined(__DragonFly__) +#elif defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) return DRM_BUS_PCI; #else