[Buildroot] [PATCH 1/1] package/trousers: fix musl build
Bernd Kuhls
bernd.kuhls at t-online.de
Sun Jan 24 12:41:06 UTC 2016
The autobuilders did not catch the error yet because they failed
earlier with other packages, but I am continuing the build based
on the defconfig from:
http://autobuild.buildroot.net/results/6cc/6cc0f8c067e07deea688b9b97284601a596b898c/
Error log:
tsp_tcsi_param.c:14:28: fatal error: bits/local_lim.h: No such file or directory
#include <bits/local_lim.h>
Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
package/trousers/0002-musl-limits-h.patch | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 package/trousers/0002-musl-limits-h.patch
diff --git a/package/trousers/0002-musl-limits-h.patch b/package/trousers/0002-musl-limits-h.patch
new file mode 100644
index 0000000..14ecfcc
--- /dev/null
+++ b/package/trousers/0002-musl-limits-h.patch
@@ -0,0 +1,16 @@
+Fix musl build
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
+
+diff -uNr trousers-0.3.13.org/src/tspi/tsp_tcsi_param.c trousers-0.3.13/src/tspi/tsp_tcsi_param.c
+--- trousers-0.3.13.org/src/tspi/tsp_tcsi_param.c 2014-04-24 20:05:44.000000000 +0200
++++ trousers-0.3.13/src/tspi/tsp_tcsi_param.c 2016-01-24 13:38:11.764784876 +0100
+@@ -11,7 +11,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <stdio.h>
+-#include <bits/local_lim.h>
++#include <limits.h>
+ #include "trousers/tss.h"
+ #include "trousers/trousers.h"
+ #include "trousers_types.h"
--
2.7.0.rc3
More information about the buildroot
mailing list