mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
add two seds in xorg-server instructions:
- allows the modesetting driver to start on i686 - prevents the mouse pointer to disappear on 32 and 64 bit machine, with the modesetting driver git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15577 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
56d38b8466
commit
a2c6cd2f0f
@ -126,6 +126,18 @@
|
||||
|
||||
<screen><userinput>patch -Np1 -i ../xorg-server-&xorg-server-version;-add_prime_support-1.patch</userinput></screen>
|
||||
|
||||
<para>
|
||||
The <application>modesetting</application> driver is now included in
|
||||
the tarball (since version 1.17). It needs to be fixed for 32-bit
|
||||
machines (first command below), and for cards which do not support
|
||||
the mouse pointer in hardware (second command below):
|
||||
</para>
|
||||
|
||||
<screen><userinput>sed -e '/\*\//a #define _FILE_OFFSET_BITS 64' \
|
||||
-i hw/xfree86/drivers/modesetting/dumb_bo.c
|
||||
sed -e 's/ == -EINVAL//' \
|
||||
-i hw/xfree86/drivers/modesetting/drmmode_display.c</userinput></screen>
|
||||
|
||||
<para>
|
||||
Install the server by running the following commands:
|
||||
</para>
|
||||
|
Loading…
Reference in New Issue
Block a user