summaryrefslogtreecommitdiff
path: root/package/trinity
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
parent7ba461799ee338d77eb2b4dfb17477b1ff521405 (diff)
add a patch from buildroot to fix a uClibc compiel error
Diffstat (limited to 'package/trinity')
-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"