Author: alexander
Date: 2005-12-23 09:08:39 -0700 (Fri, 23 Dec 2005)
New Revision: 1300
Modified:
trunk/packages/Xorg-modular/Makefile
Log:
When the display doesn't report its DPI via DDC, fall back to 100 dpi
instead of 75
Modified: trunk/packages/Xorg-modular/Makefile
===================================================================
--- trunk/packages/Xorg-modular/Makefile 2005-12-23 15:06:42 UTC (rev
1299)
+++ trunk/packages/Xorg-modular/Makefile 2005-12-23 16:08:39 UTC (rev
1300)
@@ -129,7 +129,10 @@
# Extra safety measure, due to "test: too many arguments" messages
# May well be just an unnecessary precaution
autoreconf --force --install --verbose
+ # Fix build failure
sed -i -e '1i#include <linux/types.h>'
hw/xfree86/os-support/linux/lnx_agp.c
+ # 100 dpi is more appropriate for today's displays as a guess
+ sed -i -e '/DPI/s,75,100,' hw/xfree86/common/xf86Priv.h hw/dmx/dmxinit.c
./configure --help
./configure --prefix=/usr --localstatedir=/var
--with-mesa-source=`pwd`/$(DIR2)
make $(PM)
--
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page