summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/trinity/Makefile2
-rw-r--r--package/trinity/patches/patch-ioctls_vt_c20
2 files changed, 21 insertions, 1 deletions
diff --git a/package/trinity/Makefile b/package/trinity/Makefile
index 417ba7d33..11d9d16a7 100644
--- a/package/trinity/Makefile
+++ b/package/trinity/Makefile
@@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= trinity
PKG_VERSION:= 1.5
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_HASH:= e7b641d21954873bac7b5c27e7a9986837e83ec14fa20c55901c4333cce22655
PKG_DESCR:= linux system call fuzz tester
PKG_SECTION:= sys/misc
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"