[trinity] Add -termios patch to fix build failure (bz 1136442).

Jerry James jjames at fedoraproject.org
Wed Sep 3 16:36:05 UTC 2014


commit aeed2b4b72bc10b5e801bde26e5df7896676669e
Author: Jerry James <jamesjer at betterlinux.com>
Date:   Wed Sep 3 10:35:49 2014 -0600

    Add -termios patch to fix build failure (bz 1136442).

 trinity-termios.patch |    9 +++++++++
 trinity.spec          |    6 ++++++
 2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/trinity-termios.patch b/trinity-termios.patch
new file mode 100644
index 0000000..9b7cff6
--- /dev/null
+++ b/trinity-termios.patch
@@ -0,0 +1,9 @@
+--- ./ioctls/vt.c.orig	2014-05-12 11:00:12.000000000 -0600
++++ ./ioctls/vt.c	2014-09-02 20:00:00.000000000 -0600
+@@ -1,5 +1,6 @@
+ #include <sys/vt.h>
+ #include <sys/ioctl.h>
++#include <sys/termios.h>
+ #include <linux/kd.h>
+ 
+ #include "utils.h"
diff --git a/trinity.spec b/trinity.spec
index 368007a..0ad2573 100644
--- a/trinity.spec
+++ b/trinity.spec
@@ -6,6 +6,8 @@ Summary:        System call fuzz tester
 License:        GPLv2
 URL:            http://codemonkey.org.uk/projects/%{name}/
 Source0:        http://codemonkey.org.uk/projects/%{name}/%{name}-%{version}.tar.xz
+# Add a newly-necessary #include; see bz 1136442
+Patch0:         %{name}-termios.patch
 
 %description
 Trinity makes syscalls at random, with random arguments.  Where Trinity
@@ -37,6 +39,7 @@ and fed to subsequent syscalls, sometimes with hilarious results.
 
 %prep
 %setup -q
+%patch0
 
 %build
 ./configure.sh
@@ -57,6 +60,9 @@ cp -p scripts/* %{buildroot}%{_libexecdir}/%{name}
 %{_libexecdir}/%{name}/
 
 %changelog
+* Wed Sep  3 2014 Jerry James <loganjerry at gmail.com> - 1.4-4
+- Add -termios patch to fix build failure (bz 1136442)
+
 * Mon Aug 18 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list