- Change default device mode to 0666. (#221545)

This commit is contained in:
Adam Jackson 2007-01-29 19:39:31 +00:00
parent c39710922d
commit bfbffc74e0
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- libdrm-2.3.0/libdrm/xf86drm.h.jx 2006-11-08 16:55:14.000000000 -0500
+++ libdrm-2.3.0/libdrm/xf86drm.h 2007-01-29 14:35:36.000000000 -0500
@@ -46,7 +46,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"

View File

@ -1,7 +1,7 @@
Summary: libdrm Direct Rendering Manager runtime library
Name: libdrm
Version: 2.3.0
Release: 1%{?dist}
Release: 2%{?dist}
License: MIT/X11
Group: System Environment/Libraries
URL: http://dri.sourceforge.net
@ -15,6 +15,7 @@ BuildRequires: pkgconfig automake autoconf libtool
Obsoletes: XFree86-libs, xorg-x11-libs
Patch0: nouveau-20061117.patch
Patch1: libdrm-2.3.0-default-mode.patch
%description
libdrm Direct Rendering Manager runtime library
@ -32,6 +33,7 @@ libdrm Direct Rendering Manager development package
%prep
%setup -q
%patch0 -p1 -b .nouveau
%patch1 -p1 -b .666
%build
aclocal ; automake ; autoconf
@ -81,6 +83,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/libdrm.pc
%changelog
* Mon Jan 29 2007 Adam Jackson <ajax@redhat.com> 2.3.0-2
- Change default device mode to 0666. (#221545)
* Fri Nov 17 2006 Adam Jackson <ajax@redhat.com> 2.3.0-1.fc7
- Update to 2.3.0 from upstream.
- Add nouveau userspace header.