aboutsummaryrefslogtreecommitdiff
path: root/package/fbset
diff options
context:
space:
mode:
authorGravatar Peter Seiderer <ps.report@gmx.net>2016-07-11 22:13:48 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-15 13:19:00 +0200
commitc4c73da7ff6491324beb296729a8f39daef7d8b5 (patch)
tree38aab608427d11af7eae8fe7eb2e8832ab5c2c0e /package/fbset
parentc091ecda8743683102f9cccffa15f10b55b52ef3 (diff)
downloadbuildroot-c4c73da7ff6491324beb296729a8f39daef7d8b5.tar.gz
buildroot-c4c73da7ff6491324beb296729a8f39daef7d8b5.tar.bz2
fbset: fix musl compile
Unconditional include <asm/types.h> for __u32 type. Fixes [1]: error: unknown type name '__u32' [1] http://autobuild.buildroot.net/results/90f/90fc7954c532417c2ceaf9ab8549099d84561a42 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/fbset')
-rw-r--r--package/fbset/0001-Fix-musl-compile.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/fbset/0001-Fix-musl-compile.patch b/package/fbset/0001-Fix-musl-compile.patch
new file mode 100644
index 0000000000..65d84c5777
--- /dev/null
+++ b/package/fbset/0001-Fix-musl-compile.patch
@@ -0,0 +1,33 @@
+From 6d42be24b62b94df8e2f01956842b7ee4b640e97 Mon Sep 17 00:00:00 2001
+From: Peter Seiderer <ps.report@gmx.net>
+Date: Mon, 11 Jul 2016 22:07:42 +0200
+Subject: [PATCH] Fix musl compile.
+
+Unconditional include <asm/types.h> for __u32 type.
+
+Fixes:
+
+ error: unknown type name '__u32'
+
+Signed-off-by: Peter Seiderer <ps.report@gmx.net>
+---
+ fbset.h | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/fbset.h b/fbset.h
+index 9b1d2ac..3c511e1 100644
+--- a/fbset.h
++++ b/fbset.h
+@@ -15,9 +15,7 @@
+ #include <stdio.h>
+ #include <sys/types.h>
+
+-#ifdef __GLIBC__
+ #include <asm/types.h>
+-#endif
+
+ #define VERSION "Linux Frame Buffer Device Configuration " \
+ "Version 2.1 (23/06/1999)\n" \
+--
+2.8.1
+