import libdrm-2.4.103-1.el8

This commit is contained in:
CentOS Sources 2020-11-18 20:13:35 +00:00 committed by Andrew Lukoshko
parent 1a730beba7
commit ba78dc108c
4 changed files with 12 additions and 9 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/libdrm-2.4.101.tar.xz SOURCES/libdrm-2.4.103.tar.xz

View File

@ -1 +1 @@
c08ba0e9b19cea7cd2bbd9fcc39218ac443b41a5 SOURCES/libdrm-2.4.101.tar.xz 7583f6c48fca590cbf813e6d92bc4d26f7f4e0ee SOURCES/libdrm-2.4.103.tar.xz

View File

@ -1,7 +1,7 @@
diff -uNr libdrm-2.4.69.orig/xf86drm.c libdrm-2.4.69/xf86drm.c diff -up libdrm-2.4.103/xf86drm.c.dma libdrm-2.4.103/xf86drm.c
--- libdrm-2.4.69.orig/xf86drm.c 2016-07-20 20:42:39.000000000 +0200 --- libdrm-2.4.103/xf86drm.c.dma 2020-11-04 13:24:14.000000000 +1000
+++ libdrm-2.4.69/xf86drm.c 2016-07-21 08:00:10.411599806 +0200 +++ libdrm-2.4.103/xf86drm.c 2020-11-04 13:42:04.190975193 +1000
@@ -484,11 +484,6 @@ @@ -507,11 +507,6 @@ drm_public int drmAvailable(void)
int fd; int fd;
if ((fd = drmOpenMinor(0, 1, DRM_NODE_PRIMARY)) < 0) { if ((fd = drmOpenMinor(0, 1, DRM_NODE_PRIMARY)) < 0) {
@ -13,7 +13,7 @@ diff -uNr libdrm-2.4.69.orig/xf86drm.c libdrm-2.4.69/xf86drm.c
return 0; return 0;
} }
@@ -661,38 +656,6 @@ @@ -704,38 +699,6 @@ static int drmOpenByName(const char *nam
} }
} }
@ -25,7 +25,7 @@ diff -uNr libdrm-2.4.69.orig/xf86drm.c libdrm-2.4.69/xf86drm.c
- int retcode; - int retcode;
- -
- sprintf(proc_name, "/proc/dri/%d/name", i); - sprintf(proc_name, "/proc/dri/%d/name", i);
- if ((fd = open(proc_name, 0, 0)) >= 0) { - if ((fd = open(proc_name, O_RDONLY, 0)) >= 0) {
- retcode = read(fd, buf, sizeof(buf)-1); - retcode = read(fd, buf, sizeof(buf)-1);
- close(fd); - close(fd);
- if (retcode) { - if (retcode) {

View File

@ -47,7 +47,7 @@ end}
Name: libdrm Name: libdrm
Summary: Direct Rendering Manager runtime library Summary: Direct Rendering Manager runtime library
Version: 2.4.101 Version: 2.4.103
Release: 1%{?dist} Release: 1%{?dist}
License: MIT License: MIT
@ -282,6 +282,9 @@ install -Dpm0644 -t %{buildroot}%{_udevrulesdir} %{S:2}
%endif %endif
%changelog %changelog
* Wed Nov 04 2020 Dave Airlie <airlied@redhat.com> - 2.4.103-1
- Update to 2.4.103
* Tue May 26 2020 Dave Airlie <airlied@redhat.com> - 2.4.101-1 * Tue May 26 2020 Dave Airlie <airlied@redhat.com> - 2.4.101-1
- Update to 2.4.101 - Update to 2.4.101