diff --git a/cpio.changes b/cpio.changes index c6eb861..03df2c1 100644 --- a/cpio.changes +++ b/cpio.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jul 23 11:43:47 UTC 2013 - vcizek@suse.com + +- add a missing fix from SLE for bnc#830779 (original bug bnc#658031) + added paxutils-rtapelib_mtget.patch + ------------------------------------------------------------------- Thu Mar 21 12:03:37 UTC 2013 - mmeister@suse.com diff --git a/cpio.spec b/cpio.spec index 7841be6..6f183d2 100644 --- a/cpio.spec +++ b/cpio.spec @@ -42,6 +42,8 @@ Patch18: cpio-default_tape_dev.patch Patch20: cpio-close_files_after_copy.patch Patch21: cpio-pattern-file-sigsegv.patch Patch22: cpio-stdio.in.patch +Patch23: paxutils-rtapelib_mtget.patch + PreReq: %install_info_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build Recommends: %{name}-lang = %{version} @@ -79,6 +81,7 @@ Authors: %patch20 %patch21 -p1 %patch22 -p1 +%patch23 -p1 #chmod 755 . #chmod u+w * #chmod a+r * diff --git a/paxutils-rtapelib_mtget.patch b/paxutils-rtapelib_mtget.patch new file mode 100644 index 0000000..7d98196 --- /dev/null +++ b/paxutils-rtapelib_mtget.patch @@ -0,0 +1,13 @@ +Index: cpio-2.11/lib/rtapelib.c +=================================================================== +--- cpio-2.11.orig/lib/rtapelib.c 2013-07-23 13:18:27.119431054 +0200 ++++ cpio-2.11/lib/rtapelib.c 2013-07-23 13:19:35.728188104 +0200 +@@ -710,7 +710,7 @@ rmt_ioctl__ (int handle, int operation, + || (status = get_status (handle), status == -1)) + return -1; + +- if (status > sizeof (struct mtop)) ++ if (status > sizeof (struct mtget)) + { + errno = EOVERFLOW; + return -1;