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 + #include ++#include + #include + + #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 - 1.4-4 +- Add -termios patch to fix build failure (bz 1136442) + * Mon Aug 18 2014 Fedora Release Engineering - 1.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild