From 57da9d9c388aad113631d1b97879e84d9b661feb Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 24 Mar 2014 20:52:25 +0100 Subject: fix uclibc compile --- .../eudev/patches/patch-src_accelerometer_accelerometer_c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package/eudev/patches/patch-src_accelerometer_accelerometer_c (limited to 'package/eudev/patches/patch-src_accelerometer_accelerometer_c') diff --git a/package/eudev/patches/patch-src_accelerometer_accelerometer_c b/package/eudev/patches/patch-src_accelerometer_accelerometer_c new file mode 100644 index 000000000..95735f8c5 --- /dev/null +++ b/package/eudev/patches/patch-src_accelerometer_accelerometer_c @@ -0,0 +1,13 @@ +--- eudev-1.5.3.orig/src/accelerometer/accelerometer.c 2014-03-22 22:56:51.000000000 +0100 ++++ eudev-1.5.3/src/accelerometer/accelerometer.c 2014-03-24 20:41:59.000000000 +0100 +@@ -58,8 +58,8 @@ + #include + #include + +-#ifdef __UCLIBC__ +-#include ++#if defined(__UCLIBC__) ++#define O_CLOEXEC 02000000 /* set close_on_exec */ + #endif + + #include "libudev.h" -- cgit v1.2.3