From 39812f5dfd09c1f48b7b2f403235debf69ced786 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Thu, 18 Aug 2016 23:50:19 +0200 Subject: [PATCH] package/linknx: drop a musl-compatibility patch We now always have a sys/cdefs.h, so we can drop this patch. Signed-off-by: "Yann E. MORIN" Cc: Thomas Petazzoni Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- package/linknx/0002-musl-cdefs.patch | 37 ---------------------------- 1 file changed, 37 deletions(-) delete mode 100644 package/linknx/0002-musl-cdefs.patch diff --git a/package/linknx/0002-musl-cdefs.patch b/package/linknx/0002-musl-cdefs.patch deleted file mode 100644 index 59e28ca706..0000000000 --- a/package/linknx/0002-musl-cdefs.patch +++ /dev/null @@ -1,37 +0,0 @@ -Do not use the non-standard header - - is glibc-specific, and should be used only internally by -glibc, not by external libraries/programs. It is not available in all -standard C libraries. - -Signed-off-by: Bernd Kuhls -(Patch sent upstream: https://sourceforge.net/p/linknx/patches/21/) - -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 - --__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.30.2