summaryrefslogtreecommitdiffstats
path: root/debian/patches/01_default_perms.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:22:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:22:22 +0000
commit5f10fabc911797331b5e6c87b506f206f23e2494 (patch)
tree9d32c383a40f91753667e6274d23f097b03d2669 /debian/patches/01_default_perms.diff
parentAdding upstream version 2.4.114. (diff)
downloadlibdrm-5f10fabc911797331b5e6c87b506f206f23e2494.tar.xz
libdrm-5f10fabc911797331b5e6c87b506f206f23e2494.zip
Adding debian version 2.4.114-1.debian/2.4.114-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/01_default_perms.diff')
-rw-r--r--debian/patches/01_default_perms.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/patches/01_default_perms.diff b/debian/patches/01_default_perms.diff
new file mode 100644
index 0000000..cea04a4
--- /dev/null
+++ b/debian/patches/01_default_perms.diff
@@ -0,0 +1,11 @@
+--- 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"