Accepting request 196003 from home:vitezslav_cizek:branches:Archiving
- add a missing fix from SLE for bnc#830779 (original bug bnc#658031) added paxutils-rtapelib_mtget.patch OBS-URL: https://build.opensuse.org/request/show/196003 OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=42
This commit is contained in:
parent
24a21f5d5e
commit
21da25607d
@ -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
|
Thu Mar 21 12:03:37 UTC 2013 - mmeister@suse.com
|
||||||
|
|
||||||
|
@ -42,6 +42,8 @@ Patch18: cpio-default_tape_dev.patch
|
|||||||
Patch20: cpio-close_files_after_copy.patch
|
Patch20: cpio-close_files_after_copy.patch
|
||||||
Patch21: cpio-pattern-file-sigsegv.patch
|
Patch21: cpio-pattern-file-sigsegv.patch
|
||||||
Patch22: cpio-stdio.in.patch
|
Patch22: cpio-stdio.in.patch
|
||||||
|
Patch23: paxutils-rtapelib_mtget.patch
|
||||||
|
|
||||||
PreReq: %install_info_prereq
|
PreReq: %install_info_prereq
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Recommends: %{name}-lang = %{version}
|
Recommends: %{name}-lang = %{version}
|
||||||
@ -79,6 +81,7 @@ Authors:
|
|||||||
%patch20
|
%patch20
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
%patch22 -p1
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
#chmod 755 .
|
#chmod 755 .
|
||||||
#chmod u+w *
|
#chmod u+w *
|
||||||
#chmod a+r *
|
#chmod a+r *
|
||||||
|
13
paxutils-rtapelib_mtget.patch
Normal file
13
paxutils-rtapelib_mtget.patch
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user