import libdrm-2.4.103-1.el8
This commit is contained in:
parent
1a730beba7
commit
ba78dc108c
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/libdrm-2.4.101.tar.xz
|
||||
SOURCES/libdrm-2.4.103.tar.xz
|
||||
|
@ -1 +1 @@
|
||||
c08ba0e9b19cea7cd2bbd9fcc39218ac443b41a5 SOURCES/libdrm-2.4.101.tar.xz
|
||||
7583f6c48fca590cbf813e6d92bc4d26f7f4e0ee SOURCES/libdrm-2.4.103.tar.xz
|
||||
|
@ -1,7 +1,7 @@
|
||||
diff -uNr libdrm-2.4.69.orig/xf86drm.c libdrm-2.4.69/xf86drm.c
|
||||
--- libdrm-2.4.69.orig/xf86drm.c 2016-07-20 20:42:39.000000000 +0200
|
||||
+++ libdrm-2.4.69/xf86drm.c 2016-07-21 08:00:10.411599806 +0200
|
||||
@@ -484,11 +484,6 @@
|
||||
diff -up libdrm-2.4.103/xf86drm.c.dma libdrm-2.4.103/xf86drm.c
|
||||
--- libdrm-2.4.103/xf86drm.c.dma 2020-11-04 13:24:14.000000000 +1000
|
||||
+++ libdrm-2.4.103/xf86drm.c 2020-11-04 13:42:04.190975193 +1000
|
||||
@@ -507,11 +507,6 @@ drm_public int drmAvailable(void)
|
||||
int fd;
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
-
|
||||
- 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);
|
||||
- close(fd);
|
||||
- if (retcode) {
|
||||
|
@ -47,7 +47,7 @@ end}
|
||||
|
||||
Name: libdrm
|
||||
Summary: Direct Rendering Manager runtime library
|
||||
Version: 2.4.101
|
||||
Version: 2.4.103
|
||||
Release: 1%{?dist}
|
||||
License: MIT
|
||||
|
||||
@ -282,6 +282,9 @@ install -Dpm0644 -t %{buildroot}%{_udevrulesdir} %{S:2}
|
||||
%endif
|
||||
|
||||
%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
|
||||
- Update to 2.4.101
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user