[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/34: gnu: libdrm: Update to 2.4.102.
From: |
guix-commits |
Subject: |
21/34: gnu: libdrm: Update to 2.4.102. |
Date: |
Sat, 25 Jul 2020 14:54:02 -0400 (EDT) |
mbakke pushed a commit to branch wip-staging
in repository guix.
commit ca57048444b5a2d316818bb5bda35ae6e1fd2f61
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Jul 24 22:43:37 2020 +0200
gnu: libdrm: Update to 2.4.102.
* gnu/packages/patches/libdrm-realpath-virtio.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/xdisorg.scm (libdrm): Update to 2.4.102.
[source](patches): Remove.
---
gnu/local.mk | 1 -
gnu/packages/patches/libdrm-realpath-virtio.patch | 42 -----------------------
gnu/packages/xdisorg.scm | 5 ++-
3 files changed, 2 insertions(+), 46 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index 7f9ad1f..5fe33a8 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1209,7 +1209,6 @@ dist_patch_DATA =
\
%D%/packages/patches/libbase-use-own-logging.patch \
%D%/packages/patches/libbonobo-activation-test-race.patch \
%D%/packages/patches/libcanberra-sound-theme-freedesktop.patch \
- %D%/packages/patches/libdrm-realpath-virtio.patch \
%D%/packages/patches/libextractor-exiv2.patch \
%D%/packages/patches/libgeotiff-adapt-test-script-for-proj-6.2.patch
\
%D%/packages/patches/libgit2-mtime-0.patch \
diff --git a/gnu/packages/patches/libdrm-realpath-virtio.patch
b/gnu/packages/patches/libdrm-realpath-virtio.patch
deleted file mode 100644
index b7d8516..0000000
--- a/gnu/packages/patches/libdrm-realpath-virtio.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-Only check for for relative path on virtio devices. Otherwise it could
-break driver loading in some circumstances, notably the IceCat sandbox.
-
-https://gitlab.freedesktop.org/mesa/drm/-/issues/39
-
-Taken from upstream:
-https://gitlab.freedesktop.org/mesa/drm/-/commit/57df07572ce45a1b60bae6fb89770388d3abd6dd
-
-diff --git a/xf86drm.c b/xf86drm.c
---- a/xf86drm.c
-+++ b/xf86drm.c
-@@ -3103,15 +3103,18 @@ static int drmParseSubsystemType(int maj, int min)
- int subsystem_type;
-
- snprintf(path, sizeof(path), "/sys/dev/char/%d:%d/device", maj, min);
-- if (!realpath(path, real_path))
-- return -errno;
-- snprintf(path, sizeof(path), "%s", real_path);
-
- subsystem_type = get_subsystem_type(path);
-+ /* Try to get the parent (underlying) device type */
- if (subsystem_type == DRM_BUS_VIRTIO) {
-+ /* Assume virtio-pci on error */
-+ if (!realpath(path, real_path))
-+ return DRM_BUS_VIRTIO;
- strncat(path, "/..", PATH_MAX);
- subsystem_type = get_subsystem_type(path);
-- }
-+ if (subsystem_type < 0)
-+ return DRM_BUS_VIRTIO;
-+ }
- return subsystem_type;
- #elif defined(__OpenBSD__) || defined(__DragonFly__) || defined(__FreeBSD__)
- return DRM_BUS_PCI;
-@@ -3920,6 +3923,7 @@ process_device(drmDevicePtr *device, const char *d_name,
-
- switch (subsystem_type) {
- case DRM_BUS_PCI:
-+ case DRM_BUS_VIRTIO:
- return drmProcessPciDevice(device, node, node_type, maj, min,
- fetch_deviceinfo, flags);
- case DRM_BUS_USB:
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 20702c3..98d52cc 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -497,7 +497,7 @@ rasterisation.")
(define-public libdrm
(package
(name "libdrm")
- (version "2.4.101")
+ (version "2.4.102")
(source (origin
(method url-fetch)
(uri (string-append
@@ -505,8 +505,7 @@ rasterisation.")
version ".tar.xz"))
(sha256
(base32
- "19vqbhqljhln0lrpnv3s7y3lkhsdcp76dl8bhqj3cis9ism1pwyx"))
- (patches (search-patches "libdrm-realpath-virtio.patch"))))
+ "0nx0bd9dhymdsd99v4ifib77yjirkvkxf5hzdkbr7qr8dhrzkjwb"))))
(build-system meson-build-system)
(arguments
`(#:configure-flags
- 09/34: gnu: pciutils: Update to 3.7.0., (continued)
- 09/34: gnu: pciutils: Update to 3.7.0., guix-commits, 2020/07/25
- 12/34: gnu: libinput: Update to 1.15.6., guix-commits, 2020/07/25
- 13/34: gnu: vulkan-tools: Update to 1.2.148., guix-commits, 2020/07/25
- 11/34: gnu: python-requests: Update to 2.24.0., guix-commits, 2020/07/25
- 14/34: gnu: wayland-protocols: Update to 1.20., guix-commits, 2020/07/25
- 17/34: gnu: libvorbis: Update to 1.3.7., guix-commits, 2020/07/25
- 03/34: gnu: nspr: Update to 4.27., guix-commits, 2020/07/25
- 08/34: gnu: GTK+: Update to 3.24.21., guix-commits, 2020/07/25
- 10/34: gnu: python-mako: Update to 1.1.3., guix-commits, 2020/07/25
- 16/34: gnu: libpsl: Update to 0.21.1., guix-commits, 2020/07/25
- 21/34: gnu: libdrm: Update to 2.4.102.,
guix-commits <=
- 22/34: gnu: libva: Update to 2.8.0., guix-commits, 2020/07/25
- 23/34: gnu: mesa: Update to 20.1.4., guix-commits, 2020/07/25
- 24/34: gnu: python-coverage: Update to 5.2.1., guix-commits, 2020/07/25
- 15/34: gnu: wayland: Update to 1.18.0., guix-commits, 2020/07/25
- 18/34: gnu: libevdev: Update to 1.9.1., guix-commits, 2020/07/25
- 19/34: gnu: xkeyboard-config: Update to 2.30., guix-commits, 2020/07/25
- 20/34: gnu: libvdpau: Update to 1.4., guix-commits, 2020/07/25
- 25/34: gnu: linux-pam: Update to 1.4.0., guix-commits, 2020/07/25
- 26/34: gnu: check: Update to 0.15.1., guix-commits, 2020/07/25
- 30/34: gnu: libical: Disable parallel build., guix-commits, 2020/07/25