summaryrefslogtreecommitdiff
path: root/package/trinity/patches/patch-ioctls_vt_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-03-20 18:58:28 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-03-21 22:13:45 +0100
commitd842973a004be56dd2adfbbf5b2a09f41f3dcb40 (patch)
treef870e52bbcbda49e3b99c97847bc1b126e45721f /package/trinity/patches/patch-ioctls_vt_c
parent7ba461799ee338d77eb2b4dfb17477b1ff521405 (diff)
add a patch from buildroot to fix a uClibc compiel error
Diffstat (limited to 'package/trinity/patches/patch-ioctls_vt_c')
-rw-r--r--package/trinity/patches/patch-ioctls_vt_c20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/trinity/patches/patch-ioctls_vt_c b/package/trinity/patches/patch-ioctls_vt_c
new file mode 100644
index 000000000..e989b9eea
--- /dev/null
+++ b/package/trinity/patches/patch-ioctls_vt_c
@@ -0,0 +1,20 @@
+vt.c: add missing include to fix building with uClibc
+
+Backporting an upstream patch to fix a building issue with uClibc.
+
+Upstream commit:
+
+ https://github.com/kernelslacker/trinity/commit/fb4a1adc4540f0702b84aa900f2b8ebed004885d
+
+Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
+
+--- trinity-1.5.orig/ioctls/vt.c 2015-03-02 17:08:20.000000000 +0100
++++ trinity-1.5/ioctls/vt.c 2015-03-20 18:57:15.000000000 +0100
+@@ -1,6 +1,7 @@
+ #include <sys/vt.h>
+ #include <sys/ioctl.h>
+ #include <linux/kd.h>
++#include <linux/serial.h>
+
+ #include "utils.h"
+ #include "ioctls.h"