summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/xf86-input-tslib/files/fix-overlapped-variable.patch')
-rw-r--r--x11-drivers/xf86-input-tslib/files/fix-overlapped-variable.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-drivers/xf86-input-tslib/files/fix-overlapped-variable.patch b/x11-drivers/xf86-input-tslib/files/fix-overlapped-variable.patch
new file mode 100644
index 000000000000..7a4363e97277
--- /dev/null
+++ b/x11-drivers/xf86-input-tslib/files/fix-overlapped-variable.patch
@@ -0,0 +1,20 @@
+--- src/tslib.c.orig 2010-05-19 19:01:01.000000000 +0200
++++ src/tslib.c 2010-05-19 19:02:00.000000000 +0200
+@@ -543,7 +543,7 @@
+ return (pInfo);
+ }
+
+-_X_EXPORT InputDriverRec TSLIB = {
++_X_EXPORT InputDriverRec TSLIB_DRIVER = {
+ 1, /* driver version */
+ "tslib", /* driver name */
+ NULL, /* identify */
+@@ -580,7 +580,7 @@
+ {
+ static Bool Initialised = FALSE;
+
+- xf86AddInputDriver(&TSLIB, module, 0);
++ xf86AddInputDriver(&TSLIB_DRIVER, module, 0);
+
+ return module;
+ }