update to 2.4.103

This commit is contained in:
zhanzhimin 2021-01-29 16:22:30 +08:00
parent 09487e0eef
commit 3045a84138
6 changed files with 10 additions and 7 deletions

View File

@ -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 -Naur a/xf86drm.c b/xf86drm.c
--- a/xf86drm.c 2021-01-14 16:31:10.113000000 +0800
+++ b/xf86drm.c 2021-01-14 16:33:33.316000000 +0800
@@ -507,11 +507,6 @@
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 @@
}
}
@ -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) {

Binary file not shown.

Binary file not shown.

BIN
libdrm-2.4.103.tar.xz Normal file

Binary file not shown.

BIN
libdrm-2.4.103.tar.xz.sig Normal file

Binary file not shown.

View File

@ -46,7 +46,7 @@ end}
%bcond_without udev
Name: libdrm
Version: 2.4.102
Version: 2.4.103
Release: 1
License: MIT
Summary: library for direct rendering manager
@ -258,6 +258,9 @@ install -Dpm0644 -t %{buildroot}%{_udevrulesdir} %{S:2}
%endif
%changelog
* Fri Jan 29 2021 zhanzhimin <zhanzhimin@huawei.com> - 2.4.103-1
- update to 2.4.103
* Mon Jul 27 2020 chengguipeng<chengguipeng1@huawei.com> - 2.4.102-1
- Type:bugfix
- Id:NA