* [Buildroot] [PATCH 1/1] package/lirc-tools: fix musl build
@ 2016-01-30 22:20 Bernd Kuhls
2016-01-31 7:34 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2016-01-30 22:20 UTC (permalink / raw)
To: buildroot
Inspired by
https://bug.tasktools.org/secure/attachment/10271/0001-Fix-build-with-musl-libc.patch
Fixes
http://autobuild.buildroot.net/results/603/603c4426c47220808305a416f3d60fec2d8c02a3/
http://autobuild.buildroot.net/results/c08/c08abddeb5f0d0d1adec63ab4390562e3cfe1087/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
package/lirc-tools/0004-musl.patch | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 package/lirc-tools/0004-musl.patch
diff --git a/package/lirc-tools/0004-musl.patch b/package/lirc-tools/0004-musl.patch
new file mode 100644
index 0000000..e5eddba
--- /dev/null
+++ b/package/lirc-tools/0004-musl.patch
@@ -0,0 +1,19 @@
+Fix musl build
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+diff -uNr lirc-0.9.2.org/tools/lirc-lsremotes.c lirc-0.9.2/tools/lirc-lsremotes.c
+--- lirc-0.9.2.org/tools/lirc-lsremotes.c 2014-11-23 18:42:09.000000000 +0100
++++ lirc-0.9.2/tools/lirc-lsremotes.c 2016-01-30 23:17:54.365815328 +0100
+@@ -28,6 +28,11 @@
+ #include "lirc_private.h"
+ #include "lirc_client.h"
+
++/* fixes build with musl libc */
++#ifndef GLOB_BRACE
++#define GLOB_BRACE 0
++#endif
++
+ static int opt_silent = 0;
+ static int opt_dump = 0;
+
--
2.7.0.rc3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] package/lirc-tools: fix musl build
2016-01-30 22:20 [Buildroot] [PATCH 1/1] package/lirc-tools: fix musl build Bernd Kuhls
@ 2016-01-31 7:34 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-01-31 7:34 UTC (permalink / raw)
To: buildroot
Dear Bernd Kuhls,
On Sat, 30 Jan 2016 23:20:44 +0100, Bernd Kuhls wrote:
> Inspired by
> https://bug.tasktools.org/secure/attachment/10271/0001-Fix-build-with-musl-libc.patch
>
> Fixes
> http://autobuild.buildroot.net/results/603/603c4426c47220808305a416f3d60fec2d8c02a3/
> http://autobuild.buildroot.net/results/c08/c08abddeb5f0d0d1adec63ab4390562e3cfe1087/
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> package/lirc-tools/0004-musl.patch | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
> create mode 100644 package/lirc-tools/0004-musl.patch
>
> diff --git a/package/lirc-tools/0004-musl.patch b/package/lirc-tools/0004-musl.patch
> new file mode 100644
> index 0000000..e5eddba
> --- /dev/null
> +++ b/package/lirc-tools/0004-musl.patch
> @@ -0,0 +1,19 @@
> +Fix musl build
> +
> +Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Existing patches on lirc are Git formatted, and the upstream project
uses a Git repository, so please generate Git formatted patches.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-31 7:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-30 22:20 [Buildroot] [PATCH 1/1] package/lirc-tools: fix musl build Bernd Kuhls
2016-01-31 7:34 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox