From b065013042b54053e6be86c88f8d3761b2b07b2c Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sun, 14 Jun 2015 22:33:19 +0200 Subject: [PATCH] libevdev: work around macro definition missing in uClibc Signed-off-by: Daniel Golle --- .../010-no-clock-monotonic-raw-in-uclibc.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 libs/libevdev/patches/010-no-clock-monotonic-raw-in-uclibc.patch diff --git a/libs/libevdev/patches/010-no-clock-monotonic-raw-in-uclibc.patch b/libs/libevdev/patches/010-no-clock-monotonic-raw-in-uclibc.patch new file mode 100644 index 0000000000..a11ac1e465 --- /dev/null +++ b/libs/libevdev/patches/010-no-clock-monotonic-raw-in-uclibc.patch @@ -0,0 +1,14 @@ +--- a/test/test-libevdev-init.c ++++ b/test/test-libevdev-init.c +@@ -32,6 +32,11 @@ + #include + #include "test-common.h" + ++/* work-around CLOCK_MONOTONIC_RAW definition missing in uClibc */ ++#ifndef CLOCK_MONOTONIC_RAW ++#define CLOCK_MONOTONIC_RAW 4 ++#endif ++ + START_TEST(test_new_device) + { + struct libevdev *dev; -- 2.30.2