diff options
author | John Voltz <john.voltz@gmail.com> | 2008-03-06 18:27:57 +0000 |
---|---|---|
committer | John Voltz <john.voltz@gmail.com> | 2008-03-06 18:27:57 +0000 |
commit | 9fc65734f8843c3a3ea33ef523133d4fbfcd6cab (patch) | |
tree | 6525151c019730c76fbc3115575382c6a6b9b956 | |
parent | 2cf205d512d9443d0f62b827c8a9009a1cf207a7 (diff) | |
download | buildroot-novena-9fc65734f8843c3a3ea33ef523133d4fbfcd6cab.tar.gz buildroot-novena-9fc65734f8843c3a3ea33ef523133d4fbfcd6cab.zip |
patches for tslib
-rw-r--r-- | package/tslib/tslib-1.0-absbit.patch | 11 | ||||
-rw-r--r-- | package/tslib/tslib-1.0-remove-return-on-error-from-check-df.patch | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/package/tslib/tslib-1.0-absbit.patch b/package/tslib/tslib-1.0-absbit.patch new file mode 100644 index 000000000..11e758d1d --- /dev/null +++ b/package/tslib/tslib-1.0-absbit.patch @@ -0,0 +1,11 @@ +--- a/plugins/input-raw.c 2008-02-28 14:25:33.000000000 -0500 ++++ b/plugins/input-raw.c 2008-02-28 14:27:25.000000000 -0500 +@@ -49,7 +49,7 @@ static int check_fd(struct tslib_input * + struct tsdev *ts = i->module.dev; + int version; + u_int32_t bit; +- u_int64_t absbit; ++ u_int32_t absbit; + + if (! ((ioctl(ts->fd, EVIOCGVERSION, &version) >= 0) && + (version == EV_VERSION) && diff --git a/package/tslib/tslib-1.0-remove-return-on-error-from-check-df.patch b/package/tslib/tslib-1.0-remove-return-on-error-from-check-df.patch new file mode 100644 index 000000000..7945c1bd9 --- /dev/null +++ b/package/tslib/tslib-1.0-remove-return-on-error-from-check-df.patch @@ -0,0 +1,11 @@ +--- a/plugins/input-raw.c 2008-01-25 14:02:23.000000000 +0100 ++++ b/plugins/input-raw.new.c 2008-01-25 14:02:50.000000000 +0100 +@@ -58,8 +58,6 @@ static int check_fd(struct tslib_input * + (ioctl(ts->fd, EVIOCGBIT(EV_ABS, sizeof(absbit) * 8), &absbit) >= 0) && + (absbit & (1 << ABS_X)) && + (absbit & (1 << ABS_Y)) && (absbit & (1 << ABS_PRESSURE)))) { +- fprintf(stderr, "selected device is not a touchscreen I understand\n"); +- return -1; + } + + if (bit & (1 << EV_SYN)) |