Accepting request 196441 from 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 (forwarded request 196361 from vitezslav_cizek) OBS-URL: https://build.opensuse.org/request/show/196441 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tar?expand=0&rev=45
This commit is contained in:
commit
eddb881daf
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
|
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
|
Patch7: tar-1.26-remove_O_NONBLOCK.patch
|
||||||
Patch8: tar-1.26-stdio.in.patch
|
Patch8: tar-1.26-stdio.in.patch
|
||||||
Patch9: config-guess-sub-update.patch
|
Patch9: config-guess-sub-update.patch
|
||||||
|
Patch10: paxutils-rtapelib_mtget.patch
|
||||||
%if 0%{?suse_version} >= %min_suse_ver
|
%if 0%{?suse_version} >= %min_suse_ver
|
||||||
BuildRequires: help2man
|
BuildRequires: help2man
|
||||||
Recommends: tar-lang = %{version}
|
Recommends: tar-lang = %{version}
|
||||||
@ -68,6 +69,7 @@ Shell scripts for system backup/restore
|
|||||||
%patch7 -p1
|
%patch7 -p1
|
||||||
%patch8 -p1
|
%patch8 -p1
|
||||||
%patch9
|
%patch9
|
||||||
|
%patch10 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%define my_cflags -W -Wall -Wpointer-arith -Wstrict-prototypes -Wformat-security -Wno-unused-parameter
|
%define my_cflags -W -Wall -Wpointer-arith -Wstrict-prototypes -Wformat-security -Wno-unused-parameter
|
||||||
|
Loading…
Reference in New Issue
Block a user