Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2] package/lirc-tools: fix musl build
@ 2016-01-31 13:29 Bernd Kuhls
  2016-02-02 15:03 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2016-01-31 13:29 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>
---
v2: re-formatted patch and sent upstream (Thomas)

 .../0004-lirc-lsremotes.cpp-Fix-musl-build.patch   | 35 ++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 package/lirc-tools/0004-lirc-lsremotes.cpp-Fix-musl-build.patch

diff --git a/package/lirc-tools/0004-lirc-lsremotes.cpp-Fix-musl-build.patch b/package/lirc-tools/0004-lirc-lsremotes.cpp-Fix-musl-build.patch
new file mode 100644
index 0000000..f3c03d7
--- /dev/null
+++ b/package/lirc-tools/0004-lirc-lsremotes.cpp-Fix-musl-build.patch
@@ -0,0 +1,35 @@
+From 027fae88f1001f7a74a791e348c05a11255aac7f Mon Sep 17 00:00:00 2001
+From: Bernd Kuhls <bernd.kuhls@t-online.de>
+Date: Sun, 31 Jan 2016 14:23:02 +0100
+Subject: [PATCH 1/1] lirc-lsremotes.cpp: Fix musl build
+
+Inspired by
+https://bug.tasktools.org/secure/attachment/10271/0001-Fix-build-with-musl-libc.patch
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+---
+Patch sent upstream: https://sourceforge.net/p/lirc/tickets/174/
+Adjusted path for lirc-tools 0.9.2
+
+ tools/lirc-lsremotes.cpp | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/tools/lirc-lsremotes.cpp b/tools/lirc-lsremotes.cpp
+index 8f2c65b..baee10e 100644
+--- a/tools/lirc-lsremotes.c
++++ b/tools/lirc-lsremotes.c
+@@ -25,6 +25,11 @@
+ 
+ static const logchannel_t logchannel = LOG_APP;
+ 
++/* 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
+
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-02 15:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-31 13:29 [Buildroot] [PATCH v2] package/lirc-tools: fix musl build Bernd Kuhls
2016-02-02 15:03 ` Arnout Vandecappelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox