diff options
author | Baruch Siach <baruch@tkos.co.il> | 2017-09-12 15:31:58 +0300 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2017-09-12 21:51:03 +0200 |
commit | 64043653cb33cc02a33ad5f1adf1f4c4ef0fef98 (patch) | |
tree | e6e7e66b61637f27fa447b0a20c7d7f4ae602abf /package/lirc-tools/0001-lib-curl_poll.h-fix-header-guard-collision-with-musl.patch | |
parent | b860bd83b22429175542f885fdd1fc52d770eeb2 (diff) | |
download | buildroot-64043653cb33cc02a33ad5f1adf1f4c4ef0fef98.tar.gz buildroot-64043653cb33cc02a33ad5f1adf1f4c4ef0fef98.zip |
lirc-tools: bump to version 0.10.1
Drop upstream patch.
Add an upstream patch fixing build without python.
Add two more patches (one of them upstream) fixing cross compile of the
python client library.
Enable devinput and uinput unconditionally to suppress non cross compile
compatible host checks.
Set DEVINPUT_HEADER to target header of input events to avoid use of
host header.
Add python3 as optional dependency.
Cc: Rhys Williams <github@wilberforce.co.nz>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/lirc-tools/0001-lib-curl_poll.h-fix-header-guard-collision-with-musl.patch')
-rw-r--r-- | package/lirc-tools/0001-lib-curl_poll.h-fix-header-guard-collision-with-musl.patch | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/package/lirc-tools/0001-lib-curl_poll.h-fix-header-guard-collision-with-musl.patch b/package/lirc-tools/0001-lib-curl_poll.h-fix-header-guard-collision-with-musl.patch deleted file mode 100644 index a5cb7f35a0..0000000000 --- a/package/lirc-tools/0001-lib-curl_poll.h-fix-header-guard-collision-with-musl.patch +++ /dev/null @@ -1,62 +0,0 @@ -From: Baruch Siach <baruch@tkos.co.il> -Subject: [PATCH] lib/curl_poll.h: fix header guard collision with musl libc - -The musl libc uses the _POLL_H macro as a double include guard for the poll.h -header. This breaks compilation of files the include curl_poll.h: - -In file included from driver.h:32:0, - from driver.c:12: -lirc/curl_poll.h:38:29: error: array type has incomplete element type ‘struct pollfd’ - int curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms); - ^~~~ - -Rename the curl_poll.h header guard macro to avoid collision. Don't use a name -that starts with an underscore and a capital letter since these names are -reserved according to the ANSI C standard. - -https://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html - -[ This patch is based on upstream, but changes also another copy of - curl_poll.h under lib/lirc/ ] - -Signed-off-by: Baruch Siach <baruch@tkos.co.il> ---- -Patch status: upstream -https://sourceforge.net/p/lirc/git/ci/e07a80aa00a14fc98d7347afa1fa44282732b27f/ - -diff --git lirc-0.9.4d-orig/lib/curl_poll.h lirc-0.9.4d/lib/curl_poll.h -index af25381b3e26..1e895aa62f93 100644 ---- lirc-0.9.4d-orig/lib/curl_poll.h -+++ lirc-0.9.4d/lib/curl_poll.h -@@ -1,5 +1,5 @@ --#ifndef _POLL_H --#define _POLL_H -+#ifndef HEADER_LIB_CURL_POLL_H -+#define HEADER_LIB_CURL_POLL_H - /*************************************************************************** - * _ _ ____ _ - * Project ___| | | | _ \| | -@@ -42,4 +42,4 @@ int curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms); - #endif - - --#endif /* _POLL_H */ -+#endif /* HEADER_LIB_CURL_POLL_H */ -diff --git lirc-0.9.4d-orig/lib/lirc/curl_poll.h lirc-0.9.4d/lib/lirc/curl_poll.h -index af25381b3e26..1e895aa62f93 100644 ---- lirc-0.9.4d-orig/lib/lirc/curl_poll.h -+++ lirc-0.9.4d/lib/lirc/curl_poll.h -@@ -1,5 +1,5 @@ --#ifndef _POLL_H --#define _POLL_H -+#ifndef HEADER_LIB_CURL_POLL_H -+#define HEADER_LIB_CURL_POLL_H - /*************************************************************************** - * _ _ ____ _ - * Project ___| | | | _ \| | -@@ -42,4 +42,4 @@ int curl_poll(struct pollfd ufds[], unsigned int nfds, int timeout_ms); - #endif - - --#endif /* _POLL_H */ -+#endif /* HEADER_LIB_CURL_POLL_H */ |