- n_buildfix_for_opensuse_12_2.patch
* buildfix for openSUSE 12.2 (Linux kernel headers too old) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libevdev?expand=0&rev=2
This commit is contained in:
parent
7562339783
commit
6be8d7d72c
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 8 10:25:12 UTC 2014 - sndirsch@suse.com
|
||||
|
||||
- n_buildfix_for_opensuse_12_2.patch
|
||||
* buildfix for openSUSE 12.2 (Linux kernel headers too old)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 20 19:07:58 UTC 2013 - hrvoje.senjan@gmail.com
|
||||
|
||||
|
@ -23,6 +23,7 @@ Summary: A wrapper library for evdev devices
|
||||
Url: http://xorg.freedesktop.org/
|
||||
Group: System/Libraries
|
||||
Source0: http://freedesktop.org/software/libevdev/%{name}-%{version}.tar.xz
|
||||
Patch0: n_buildfix_for_opensuse_12_2.patch
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
@ -57,6 +58,9 @@ the appearance of the device.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%if 0%{?suse_version} < 1230
|
||||
%patch0 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
%configure \
|
||||
|
16
n_buildfix_for_opensuse_12_2.patch
Normal file
16
n_buildfix_for_opensuse_12_2.patch
Normal file
@ -0,0 +1,16 @@
|
||||
Author: Stefan Dirsch <sndirsch@suse.de>
|
||||
Subject: Buildfix for openSUSE 12.2 (Linux kernel headers too old)
|
||||
Signed-off-by: Stefan Dirsch <sndirsch@suse.de>
|
||||
|
||||
Index: libevdev-0.4/libevdev/libevdev-int.h
|
||||
===================================================================
|
||||
--- libevdev-0.4.orig/libevdev/libevdev-int.h
|
||||
+++ libevdev-0.4/libevdev/libevdev-int.h
|
||||
@@ -35,6 +35,7 @@
|
||||
#define MAX_NAME 256
|
||||
#define MAX_SLOTS 32
|
||||
#define ABS_MT_MIN ABS_MT_SLOT
|
||||
+#define ABS_MT_TOOL_Y 0x3d /* Center Y tool position */
|
||||
#define ABS_MT_MAX ABS_MT_TOOL_Y
|
||||
#define ABS_MT_CNT (ABS_MT_MAX - ABS_MT_MIN + 1)
|
||||
#define LIBEVDEV_EXPORT __attribute__((visibility("default")))
|
Loading…
Reference in New Issue
Block a user