summaryrefslogtreecommitdiffstats
path: root/debian/patches
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
parentAdding upstream version 2.4.114. (diff)
downloadlibdrm-debian.tar.xz
libdrm-debian.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')
-rw-r--r--debian/patches/01_default_perms.diff11
-rw-r--r--debian/patches/series1
2 files changed, 12 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"
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8ca2297
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_default_perms.diff