diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-06 02:23:21 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-06 02:23:21 +0000 |
commit | 620b1fe25a6d7c388cbf50d751774da3bc07d931 (patch) | |
tree | e66d84a05c3dbe01beb2300e23d10b3e1ca5a189 /libdrm-make-dri-perms-okay.patch | |
parent | 833e13be121649e018112d9d6ce741aa5810d1be (diff) |
automatic import of libdrmopeneuler24.03_LTS
Diffstat (limited to 'libdrm-make-dri-perms-okay.patch')
-rw-r--r-- | libdrm-make-dri-perms-okay.patch | 12 |
1 files changed, 12 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..35895cb --- /dev/null +++ b/libdrm-make-dri-perms-okay.patch @@ -0,0 +1,12 @@ +diff -up libdrm-2.4.64/xf86drm.h.forceperms libdrm-2.4.64/xf86drm.h +--- libdrm-2.4.64/xf86drm.h.forceperms 2015-08-25 07:25:09.946427122 +1000 ++++ libdrm-2.4.64/xf86drm.h 2015-08-25 07:28:57.435553839 +1000 +@@ -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" |