summaryrefslogtreecommitdiff
path: root/package/trinity/patches/patch-ioctls_vt_c
diff options
context:
space:
mode:
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"