Sync from SUSE:SLFO:Main cpio revision 72d2f2efd3c6f3cb4a5bf6723c59cd5c
This commit is contained in:
parent
fcf11da3e7
commit
15cc4a3ba7
11
cpio.changes
11
cpio.changes
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 5 11:02:45 UTC 2024 - Danilo Spinella <danilo.spinella@suse.com>
|
||||
|
||||
- Fix build with gcc14, bsc#1221712
|
||||
* fix-gcc14.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 10:56:19 UTC 2024 - Danilo Spinella <danilo.spinella@suse.com>
|
||||
|
||||
- Use %autopatch instead of deprecated %patchN.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 5 09:22:10 UTC 2024 - Danilo Spinella <danilo.spinella@suse.com>
|
||||
|
||||
|
16
cpio.spec
16
cpio.spec
@ -41,6 +41,7 @@ Patch20: cpio-close_files_after_copy.patch
|
||||
Patch21: cpio-pattern-file-sigsegv.patch
|
||||
Patch23: paxutils-rtapelib_mtget.patch
|
||||
Patch25: cpio-fix_truncation_check.patch
|
||||
Patch26: fix-gcc14.patch
|
||||
BuildRequires: autoconf >= 2.71
|
||||
BuildRequires: automake
|
||||
#Requires(post): %{xinstall_info_prereq}
|
||||
@ -60,7 +61,7 @@ Summary: Tape drive control utility
|
||||
Group: Productivity/Archiving/Backup
|
||||
Requires: %{name} = %{version}
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Provides: mt
|
||||
|
||||
%description mt
|
||||
@ -70,17 +71,8 @@ This package includes the 'mt', a local tape drive control program.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch2
|
||||
%patch4
|
||||
%patch5
|
||||
%patch15
|
||||
%patch17
|
||||
%patch18
|
||||
%patch20
|
||||
###
|
||||
%patch21 -p1
|
||||
%patch23 -p1
|
||||
%patch25 -p1
|
||||
%autopatch -M 20 -p0
|
||||
%autopatch -m 21 -p1
|
||||
|
||||
%build
|
||||
gettextize -f --no-changelog
|
||||
|
14
fix-gcc14.patch
Normal file
14
fix-gcc14.patch
Normal file
@ -0,0 +1,14 @@
|
||||
Index: cpio-2.15/src/util.c
|
||||
===================================================================
|
||||
--- cpio-2.15.orig/src/util.c
|
||||
+++ cpio-2.15/src/util.c
|
||||
@@ -47,6 +47,9 @@
|
||||
extern int errno;
|
||||
#endif
|
||||
|
||||
+int tape_eof( int tape_des);
|
||||
+int tape_eod( int tape_des);
|
||||
+
|
||||
/* Write `output_size' bytes of `output_buffer' to file
|
||||
descriptor OUT_DES and reset `output_size' and `out_buff'. */
|
||||
|
Loading…
Reference in New Issue
Block a user