From cf2451e7957a55aef680916af8e7f4824059f351 Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Wed, 7 Feb 2007 13:40:30 +0000 Subject: [PATCH] - use mtio.h from kernel-headers instead of the mt-st one --- mt-st-0.9b-mtio.patch | 22 ++++++++++++++++++++++ mt-st.spec | 3 +++ 2 files changed, 25 insertions(+) create mode 100644 mt-st-0.9b-mtio.patch diff --git a/mt-st-0.9b-mtio.patch b/mt-st-0.9b-mtio.patch new file mode 100644 index 0000000..7eb76aa --- /dev/null +++ b/mt-st-0.9b-mtio.patch @@ -0,0 +1,22 @@ +--- mt-st-0.9b/mt.c.mtio 2007-02-07 08:09:43.000000000 -0500 ++++ mt-st-0.9b/mt.c 2007-02-07 08:09:43.000000000 -0500 +@@ -21,7 +21,7 @@ + #include + #include + +-#include "mtio.h" ++#include + + #ifndef DEFTAPE + #define DEFTAPE "/dev/tape" /* default tape device */ +--- mt-st-0.9b/stinit.c.mtio 2005-08-21 14:47:51.000000000 -0400 ++++ mt-st-0.9b/stinit.c 2007-02-07 08:10:20.000000000 -0500 +@@ -22,7 +22,7 @@ + #include + #include + +-#include "mtio.h" ++#include + + #ifndef FALSE + #define TRUE 1 diff --git a/mt-st.spec b/mt-st.spec index 9416ada..c41f368 100644 --- a/mt-st.spec +++ b/mt-st.spec @@ -9,6 +9,7 @@ Patch0: mt-st-0.8-redhat.patch Patch1: mt-st-0.7-SDLT.patch Patch2: mt-st-0.7-config-files.patch Patch3: mt-st-0.9b-manfix.patch +Patch4: mt-st-0.9b-mtio.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description @@ -24,6 +25,7 @@ Install mt-st if you need a tool to manage tape drives. %patch1 -p1 -b .sdlt %patch2 -p1 -b .configfiles %patch3 -p1 -b .manfix +%patch4 -p1 -b .mtio %build make CFLAGS="$RPM_OPT_FLAGS" @@ -45,6 +47,7 @@ rm -rf ${RPM_BUILD_ROOT} %changelog * Wed Feb 7 2007 Jindrich Novy - 0.9b-3 - spec fixes +- use mtio.h from kernel-headers instead of the mt-st one * Wed Jul 12 2006 Jesse Keating - 0.9b-2.2.2 - rebuild