All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/linknx: fix musl build
@ 2016-01-23 22:24 Bernd Kuhls
  0 siblings, 0 replies; only message in thread
From: Bernd Kuhls @ 2016-01-23 22:24 UTC (permalink / raw)
  To: buildroot

Fixes
http://autobuild.buildroot.net/results/3f0/3f0269a7b71c6d022d4ba1868b3beffdd21617a4/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/linknx/0001-musl-cdefs.patch | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 package/linknx/0001-musl-cdefs.patch

diff --git a/package/linknx/0001-musl-cdefs.patch b/package/linknx/0001-musl-cdefs.patch
new file mode 100644
index 0000000..0304752
--- /dev/null
+++ b/package/linknx/0001-musl-cdefs.patch
@@ -0,0 +1,32 @@
+Fix musl build
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+diff -uNr linknx-0.0.1.32.org/include/eibclient.h linknx-0.0.1.32/include/eibclient.h
+--- linknx-0.0.1.32.org/include/eibclient.h	2007-10-11 01:55:33.000000000 +0200
++++ linknx-0.0.1.32/include/eibclient.h	2016-01-23 23:21:17.315006629 +0100
+@@ -27,11 +27,12 @@
+ #ifndef EIBCLIENT_H
+ #define EIBCLIENT_H
+ 
+-#include "sys/cdefs.h"
+ #include "stdint.h"
+ #include <pthsem.h>
+ 
+-__BEGIN_DECLS;
++#ifdef __cplusplus
++extern "C" {
++#endif
+ 
+ #include "eibloadresult.h"
+ 
+@@ -705,5 +706,8 @@
+  */
+ int EIB_LoadImage_async (EIBConnection * con, const uint8_t * image, int len);
+ 
+-__END_DECLS
++#ifdef __cplusplus
++}
++#endif
++
+ #endif
-- 
2.7.0.rc3

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-01-23 22:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-23 22:24 [Buildroot] [PATCH 1/1] package/linknx: fix musl build Bernd Kuhls

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.