- Change default device mode to 0666. (#221545)
This commit is contained in:
parent
c39710922d
commit
bfbffc74e0
11
libdrm-2.3.0-default-mode.patch
Normal file
11
libdrm-2.3.0-default-mode.patch
Normal 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"
|
@ -1,7 +1,7 @@
|
|||||||
Summary: libdrm Direct Rendering Manager runtime library
|
Summary: libdrm Direct Rendering Manager runtime library
|
||||||
Name: libdrm
|
Name: libdrm
|
||||||
Version: 2.3.0
|
Version: 2.3.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: MIT/X11
|
License: MIT/X11
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://dri.sourceforge.net
|
URL: http://dri.sourceforge.net
|
||||||
@ -15,6 +15,7 @@ BuildRequires: pkgconfig automake autoconf libtool
|
|||||||
Obsoletes: XFree86-libs, xorg-x11-libs
|
Obsoletes: XFree86-libs, xorg-x11-libs
|
||||||
|
|
||||||
Patch0: nouveau-20061117.patch
|
Patch0: nouveau-20061117.patch
|
||||||
|
Patch1: libdrm-2.3.0-default-mode.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libdrm Direct Rendering Manager runtime library
|
libdrm Direct Rendering Manager runtime library
|
||||||
@ -32,6 +33,7 @@ libdrm Direct Rendering Manager development package
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .nouveau
|
%patch0 -p1 -b .nouveau
|
||||||
|
%patch1 -p1 -b .666
|
||||||
|
|
||||||
%build
|
%build
|
||||||
aclocal ; automake ; autoconf
|
aclocal ; automake ; autoconf
|
||||||
@ -81,6 +83,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/pkgconfig/libdrm.pc
|
%{_libdir}/pkgconfig/libdrm.pc
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Nov 17 2006 Adam Jackson <ajax@redhat.com> 2.3.0-1.fc7
|
||||||
- Update to 2.3.0 from upstream.
|
- Update to 2.3.0 from upstream.
|
||||||
- Add nouveau userspace header.
|
- Add nouveau userspace header.
|
||||||
|
Loading…
Reference in New Issue
Block a user