diff options
author | Fabrice Fontaine <fabrice.fontaine@orange.com> | 2016-05-30 11:22:37 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2016-05-30 17:41:15 +0200 |
commit | 0f8fcca593d7c0b4d2b9c39b96887819682d7dc8 (patch) | |
tree | 1cb038e93aef69b018eab09f573db0609b315543 /package/openzwave/0001-Fix-warning-on-wcsdup-implicit-declaration.patch | |
parent | d90f182b9142a1e2a1784c32022a6d726356207a (diff) | |
download | buildroot-0f8fcca593d7c0b4d2b9c39b96887819682d7dc8.tar.gz buildroot-0f8fcca593d7c0b4d2b9c39b96887819682d7dc8.zip |
openzwave: new package
Free software library that interfaces with selected Z-Wave PC
controllers, allowing anyone to create applications that manipulate and
respond to devices on a Z-Wave network, without requiring in-depth
knowledge of the Z-Wave protocol
[Peter: also pass DOXYGEN=, add _MAKE_OPTS and use for build+install]
Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/openzwave/0001-Fix-warning-on-wcsdup-implicit-declaration.patch')
-rw-r--r-- | package/openzwave/0001-Fix-warning-on-wcsdup-implicit-declaration.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/package/openzwave/0001-Fix-warning-on-wcsdup-implicit-declaration.patch b/package/openzwave/0001-Fix-warning-on-wcsdup-implicit-declaration.patch new file mode 100644 index 0000000000..1fe30e41d8 --- /dev/null +++ b/package/openzwave/0001-Fix-warning-on-wcsdup-implicit-declaration.patch @@ -0,0 +1,29 @@ +From 0878d933223158343af3fe13e03bcd128e8b4cbc Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine <fabrice.fontaine@orange.com> +Date: Fri, 22 Apr 2016 17:06:27 +0200 +Subject: [PATCH 1/1] Fix warning on wcsdup implicit declaration + +Define __GNU_SOURCE in cpp/hidapi/linux/hid.c (like already done in +cpp/hidapi/libusb/hid.c) to fix implicit declaration of wcsdup function + +Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com> +--- + cpp/hidapi/linux/hid.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/cpp/hidapi/linux/hid.c b/cpp/hidapi/linux/hid.c +index dbf9b9b..c3eb22b 100644 +--- a/cpp/hidapi/linux/hid.c ++++ b/cpp/hidapi/linux/hid.c +@@ -21,6 +21,8 @@ + http://github.com/signal11/hidapi . + ********************************************************/ + ++#define _GNU_SOURCE /* needed for wcsdup() before glibc 2.10 */ ++ + /* C */ + #include <stdio.h> + #include <string.h> +-- +1.9.1 + |