diff options
Diffstat (limited to 'meta/packages/xorg-xserver/xserver-kdrive-1.3.0.0/enable-xcalibrate.patch')
| -rw-r--r-- | meta/packages/xorg-xserver/xserver-kdrive-1.3.0.0/enable-xcalibrate.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/meta/packages/xorg-xserver/xserver-kdrive-1.3.0.0/enable-xcalibrate.patch b/meta/packages/xorg-xserver/xserver-kdrive-1.3.0.0/enable-xcalibrate.patch new file mode 100644 index 0000000000..11931f83d6 --- /dev/null +++ b/meta/packages/xorg-xserver/xserver-kdrive-1.3.0.0/enable-xcalibrate.patch | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | Index: xorg-server-1.2.0/mi/miinitext.c | ||
| 2 | =================================================================== | ||
| 3 | --- xorg-server-1.2.0.orig/mi/miinitext.c 2007-01-23 06:39:17.000000000 +0100 | ||
| 4 | +++ xorg-server-1.2.0/mi/miinitext.c 2007-03-30 11:28:44.000000000 +0200 | ||
| 5 | @@ -372,6 +372,9 @@ | ||
| 6 | #ifdef DMXEXT | ||
| 7 | extern void DMXExtensionInit(INITARGS); | ||
| 8 | #endif | ||
| 9 | +#ifdef XCALIBRATE | ||
| 10 | +extern void XCalibrateExtensionInit(INITARGS); | ||
| 11 | +#endif | ||
| 12 | #ifdef XEVIE | ||
| 13 | extern void XevieExtensionInit(INITARGS); | ||
| 14 | #endif | ||
| 15 | @@ -663,6 +666,9 @@ | ||
| 16 | #ifdef DAMAGE | ||
| 17 | if (!noDamageExtension) DamageExtensionInit(); | ||
| 18 | #endif | ||
| 19 | +#ifdef XCALIBRATE | ||
| 20 | + XCalibrateExtensionInit (); | ||
| 21 | +#endif | ||
| 22 | } | ||
| 23 | |||
| 24 | void | ||
| 25 | Index: xorg-server-1.2.0/include/kdrive-config.h.in | ||
| 26 | =================================================================== | ||
| 27 | --- xorg-server-1.2.0.orig/include/kdrive-config.h.in 2007-03-30 11:31:07.000000000 +0200 | ||
| 28 | +++ xorg-server-1.2.0/include/kdrive-config.h.in 2007-03-30 11:34:09.000000000 +0200 | ||
| 29 | @@ -22,6 +22,9 @@ | ||
| 30 | /* Support tslib touchscreen abstraction library */ | ||
| 31 | #undef TSLIB | ||
| 32 | |||
| 33 | +/* Build XCalibrate extension */ | ||
| 34 | +#undef XCALIBRATE | ||
| 35 | + | ||
| 36 | /* Verbose debugging output hilarity */ | ||
| 37 | #undef DEBUG | ||
| 38 | |||
| 39 | Index: xorg-server-1.2.0/configure.ac | ||
| 40 | =================================================================== | ||
| 41 | --- xorg-server-1.2.0.orig/configure.ac 2007-03-30 12:47:25.000000000 +0200 | ||
| 42 | +++ xorg-server-1.2.0/configure.ac 2007-03-30 12:39:01.000000000 +0200 | ||
| 43 | @@ -1540,7 +1540,7 @@ | ||
| 44 | ;; | ||
| 45 | esac | ||
| 46 | KDRIVE_STUB_LIB='$(top_builddir)/hw/kdrive/src/libkdrivestubs.a' | ||
| 47 | - KDRIVE_LIBS="$DIX_LIB $KDRIVE_LIB $KDRIVE_OS_LIB $KDRIVE_PURE_LIBS $KDRIVE_STUB_LIB $TSLIB_LIBS" | ||
| 48 | + KDRIVE_LIBS="$DIX_LIB $KDRIVE_LIB $KDRIVE_PURE_LIBS $KDRIVE_OS_LIB $KDRIVE_STUB_LIB $TSLIB_LIBS" | ||
| 49 | |||
| 50 | # check if we can build Xephyr | ||
| 51 | PKG_CHECK_MODULES(XEPHYR, x11 xext xfont xau xdmcp, [xephyr="yes"], [xephyr="no"]) | ||
