libdrm/libdrm-make-dri-perms-okay.patch
2009-12-01 01:10:23 +00:00

13 lines
558 B
Diff

diff -up libdrm-20080303/xf86drm.h.da libdrm-20080303/xf86drm.h
--- libdrm-20080303/xf86drm.h.da 2008-03-19 15:26:31.000000000 +1000
+++ libdrm-20080303/xf86drm.h 2008-03-19 15:26:46.000000000 +1000
@@ -45,7 +45,7 @@
/* 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)
#define DRM_DIR_NAME "/dev/dri"
#define DRM_DEV_NAME "%s/card%d"