diff --git a/xorg-x11-server.spec b/xorg-x11-server.spec index 090c986..3283107 100644 --- a/xorg-x11-server.spec +++ b/xorg-x11-server.spec @@ -294,6 +294,7 @@ export CFLAGS="${RPM_OPT_FLAGS} -Wstrict-overflow -rdynamic $CFLAGS" --enable-install-libxf86config \ --enable-xselinux \ --with-dri-driver-path=%{drimoduledir} \ + --disable-dri2 \ ${CONFIGURE} make %{?_smp_mflags} @@ -385,7 +386,7 @@ rm -rf $RPM_BUILD_ROOT %dir %{_libdir}/xorg/modules/extensions %{_libdir}/xorg/modules/extensions/libglx.so %{_libdir}/xorg/modules/extensions/libdri.so -%{_libdir}/xorg/modules/extensions/libdri2.so +#{_libdir}/xorg/modules/extensions/libdri2.so %{_libdir}/xorg/modules/extensions/libdbe.so %{_libdir}/xorg/modules/extensions/libextmod.so %dir %{_libdir}/xorg/modules/input