update to 2.4.103
This commit is contained in:
parent
09487e0eef
commit
3045a84138
@ -1,7 +1,7 @@
|
|||||||
diff -uNr libdrm-2.4.69.orig/xf86drm.c libdrm-2.4.69/xf86drm.c
|
diff -Naur a/xf86drm.c b/xf86drm.c
|
||||||
--- libdrm-2.4.69.orig/xf86drm.c 2016-07-20 20:42:39.000000000 +0200
|
--- a/xf86drm.c 2021-01-14 16:31:10.113000000 +0800
|
||||||
+++ libdrm-2.4.69/xf86drm.c 2016-07-21 08:00:10.411599806 +0200
|
+++ b/xf86drm.c 2021-01-14 16:33:33.316000000 +0800
|
||||||
@@ -484,11 +484,6 @@
|
@@ -507,11 +507,6 @@
|
||||||
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 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -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) {
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
BIN
libdrm-2.4.103.tar.xz
Normal file
BIN
libdrm-2.4.103.tar.xz
Normal file
Binary file not shown.
BIN
libdrm-2.4.103.tar.xz.sig
Normal file
BIN
libdrm-2.4.103.tar.xz.sig
Normal file
Binary file not shown.
@ -46,7 +46,7 @@ end}
|
|||||||
%bcond_without udev
|
%bcond_without udev
|
||||||
|
|
||||||
Name: libdrm
|
Name: libdrm
|
||||||
Version: 2.4.102
|
Version: 2.4.103
|
||||||
Release: 1
|
Release: 1
|
||||||
License: MIT
|
License: MIT
|
||||||
Summary: library for direct rendering manager
|
Summary: library for direct rendering manager
|
||||||
@ -258,6 +258,9 @@ install -Dpm0644 -t %{buildroot}%{_udevrulesdir} %{S:2}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Jul 27 2020 chengguipeng<chengguipeng1@huawei.com> - 2.4.102-1
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- Id:NA
|
- Id:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user