summaryrefslogtreecommitdiff
path: root/packages/xserver/xserver-kdrive/disable-xf86-dga-xorgcfg.patch
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2006-06-12 12:32:44 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-06-12 12:32:44 +0000
commitf1ab5d1610175c155e1de6ce40500ced5cdcd83b (patch)
tree878d21b2fd1ac7629bbaba49a5cf156dffb88419 /packages/xserver/xserver-kdrive/disable-xf86-dga-xorgcfg.patch
parentdffddd7000a55a3420bbc1025c6acd63a8817d6f (diff)
parentfde62dc6e3a4eed3b138f07db46c0aeeba6608bf (diff)
merge of 1b2e21b185da17a194d778853f848c2e86a2d31a
and 649d3cf23ceed3a98c61de4cfc356bb3848b9cf3
Diffstat (limited to 'packages/xserver/xserver-kdrive/disable-xf86-dga-xorgcfg.patch')
-rw-r--r--packages/xserver/xserver-kdrive/disable-xf86-dga-xorgcfg.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/xserver/xserver-kdrive/disable-xf86-dga-xorgcfg.patch b/packages/xserver/xserver-kdrive/disable-xf86-dga-xorgcfg.patch
new file mode 100644
index 0000000000..9c43e52ead
--- /dev/null
+++ b/packages/xserver/xserver-kdrive/disable-xf86-dga-xorgcfg.patch
@@ -0,0 +1,37 @@
+--- git/configure.ac.orig 2006-05-22 22:40:00.000000000 +0200
++++ git/configure.ac 2006-06-10 15:10:14.000000000 +0200
+@@ -505,7 +505,11 @@
+ XEXTXORG_LIB='$(top_builddir)/Xext/libXextbuiltin.la'
+
+ dnl Core modules for most extensions, et al.
++if test "$KDRIVE" = yes; then
++REQUIRED_MODULES="randrproto renderproto [fixesproto >= 4.0] damageproto xcmiscproto xextproto xproto xtrans xf86bigfontproto [scrnsaverproto >= 1.1] bigreqsproto resourceproto fontsproto inputproto"
++else
+ REQUIRED_MODULES="randrproto renderproto [fixesproto >= 4.0] damageproto xcmiscproto xextproto xproto xtrans xf86miscproto xf86vidmodeproto xf86bigfontproto [scrnsaverproto >= 1.1] bigreqsproto resourceproto fontsproto inputproto xf86dgaproto"
++fi
+ REQUIRED_LIBS="xfont xau fontenc"
+
+ AM_CONDITIONAL(XV, [test "x$XV" = xyes])
+@@ -1514,7 +1526,9 @@
+ AC_SUBST(XKB_COMPILED_DIR)
+
+ dnl and the rest of these are generic, so they're in config.h
++if test ! x"$KDRIVE" = xyes; then
+ AC_DEFINE(XFreeXDGA, 1, [Build XDGA support])
++fi
+ AC_DEFINE(XResExtension, 1, [Build XRes extension])
+
+ dnl CYGWIN does not define fd_set if _POSIX_SOURCE is defined
+@@ -1534,10 +1548,12 @@
+
+ AC_DEFINE_DIR(PROJECTROOT, prefix, [Overall prefix])
+
++if test ! "x$KDRIVE" = xyes ; then
+ dnl xorgconfig CLI configuration utility
+ PKG_CHECK_MODULES([XORGCONFIG_DEP], [xkbfile x11])
+ AC_SUBST(XORGCONFIG_DEP_CFLAGS)
+ AC_SUBST(XORGCONFIG_DEP_LIBS)
++fi
+
+ dnl xorgcfg GUI configuration utility
+ AC_ARG_ENABLE(xorgcfg, AS_HELP_STRING([--enable-xorgcfg],