Accepting request 196361 from home:vitezslav_cizek:branches:Base:System
- added fix for paxutils rtapelib which is bundled with tar. the very same fix was added to cpio too (bnc#658031) * paxutils-rtapelib_mtget.patch OBS-URL: https://build.opensuse.org/request/show/196361 OBS-URL: https://build.opensuse.org/package/show/Base:System/tar?expand=0&rev=45
This commit is contained in:
parent
fb746d6d26
commit
2614f734dc
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;
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 22 12:47:33 UTC 2013 - vcizek@suse.com
|
||||
|
||||
- added fix for paxutils rtapelib which is bundled with tar.
|
||||
the very same fix was added to cpio too (bnc#658031)
|
||||
* paxutils-rtapelib_mtget.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 5 10:43:39 UTC 2013 - idonmez@suse.com
|
||||
|
||||
|
2
tar.spec
2
tar.spec
@ -33,6 +33,7 @@ Patch6: tar-backup-spec-fix-paths.patch
|
||||
Patch7: tar-1.26-remove_O_NONBLOCK.patch
|
||||
Patch8: tar-1.26-stdio.in.patch
|
||||
Patch9: config-guess-sub-update.patch
|
||||
Patch10: paxutils-rtapelib_mtget.patch
|
||||
%if 0%{?suse_version} >= %min_suse_ver
|
||||
BuildRequires: help2man
|
||||
Recommends: tar-lang = %{version}
|
||||
@ -68,6 +69,7 @@ Shell scripts for system backup/restore
|
||||
%patch7 -p1
|
||||
%patch8 -p1
|
||||
%patch9
|
||||
%patch10 -p1
|
||||
|
||||
%build
|
||||
%define my_cflags -W -Wall -Wpointer-arith -Wstrict-prototypes -Wformat-security -Wno-unused-parameter
|
||||
|
Loading…
Reference in New Issue
Block a user