summaryrefslogtreecommitdiff
path: root/packages/xorg-xserver/xserver-kdrive-1.2.0/enable-tslib.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/xorg-xserver/xserver-kdrive-1.2.0/enable-tslib.patch')
-rw-r--r--packages/xorg-xserver/xserver-kdrive-1.2.0/enable-tslib.patch36
1 files changed, 10 insertions, 26 deletions
diff --git a/packages/xorg-xserver/xserver-kdrive-1.2.0/enable-tslib.patch b/packages/xorg-xserver/xserver-kdrive-1.2.0/enable-tslib.patch
index 1e72a3ea53..9a59530ed3 100644
--- a/packages/xorg-xserver/xserver-kdrive-1.2.0/enable-tslib.patch
+++ b/packages/xorg-xserver/xserver-kdrive-1.2.0/enable-tslib.patch
@@ -1,28 +1,12 @@
-Index: xorg-server-1.2.0/hw/kdrive/fbdev/Makefile.am
+Index: xorg-server-1.2.0/configure.ac
===================================================================
---- xorg-server-1.2.0.orig/hw/kdrive/fbdev/Makefile.am 2007-03-29 11:53:24.000000000 +0200
-+++ xorg-server-1.2.0/hw/kdrive/fbdev/Makefile.am 2007-03-29 11:53:27.000000000 +0200
-@@ -6,6 +6,10 @@
+--- xorg-server-1.2.0.orig/configure.ac 2007-03-29 13:28:10.000000000 +0200
++++ xorg-server-1.2.0/configure.ac 2007-03-29 13:28:35.000000000 +0200
+@@ -1517,6 +1517,7 @@
+ AC_MSG_ERROR([tslib must be installed to build the tslib driver. See http://tslib.berlios.de/])
+ fi
+ AC_DEFINE(TSLIB, 1, [Have tslib support])
++ AC_DEFINE(TOUCHSCREEN, 1, [Have touchscreen support])
+ fi
- bin_PROGRAMS = Xfbdev
-
-+if TSLIB
-+TSLIB_FLAG = -lts
-+endif
-+
- libfbdev_a_SOURCES = \
- fbdev.c \
- fbdev.h
-@@ -16,7 +20,10 @@
- Xfbdev_LDADD = \
- libfbdev.a \
- @KDRIVE_LIBS@ \
-- @XSERVER_LIBS@
-+ @XSERVER_LIBS@ \
-+ $(TSLIB_FLAG)
-
- Xfbdev_DEPENDENCIES = \
-- libfbdev.a
-+ libfbdev.a \
-+ @KDRIVE_LIBS@
-+
+ # damage shadow extension glx (NOTYET) fb mi