summaryrefslogtreecommitdiff
path: root/libdrm-make-dri-perms-okay.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-12-12 02:36:25 +0000
committerCoprDistGit <infra@openeuler.org>2024-12-12 02:36:25 +0000
commitf051076cd2fb1be7c424f7e00479e436f0487022 (patch)
tree8d3e4f653fc70dbf1bcf9d8e8df9bda988e0d63f /libdrm-make-dri-perms-okay.patch
parent3ecc28626c625d8f7bf36bbdeaf56f4cc7c07a62 (diff)
automatic import of libdrmopeneuler24.09openeuler24.03_LTS
Diffstat (limited to 'libdrm-make-dri-perms-okay.patch')
-rw-r--r--libdrm-make-dri-perms-okay.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/libdrm-make-dri-perms-okay.patch b/libdrm-make-dri-perms-okay.patch
new file mode 100644
index 0000000..2bce3d6
--- /dev/null
+++ b/libdrm-make-dri-perms-okay.patch
@@ -0,0 +1,13 @@
+diff --git a/xf86drm.h b/xf86drm.h
+index 4badaae..08cc287 100644
+--- a/xf86drm.h
++++ b/xf86drm.h
+@@ -74,7 +74,7 @@ extern "C" {
+ /* Default /dev/dri directory permissions 0755 */
+ #define DRM_DEV_DIRMODE \
+ (S_IRUSR|S_IWUSR|S_IXUSR|S_IRGRP|S_IXGRP|S_IROTH|S_IXOTH)
+-#define DRM_DEV_MODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP)
++#define DRM_DEV_MODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)
+
+ #ifdef __OpenBSD__
+ #define DRM_DIR_NAME "/dev"