Accepting request 1165651 from home:dspinella:branches:Archiving
- Fix build with gcc14, bsc#1221712 * fix-gcc14.patch OBS-URL: https://build.opensuse.org/request/show/1165651 OBS-URL: https://build.opensuse.org/package/show/Archiving/cpio?expand=0&rev=98
This commit is contained in:
parent
cac8078e15
commit
f1cce1cc96
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Mon Feb 26 10:56:19 UTC 2024 - Danilo Spinella <danilo.spinella@suse.com>
|
||||||
|
|
||||||
|
@ -41,6 +41,7 @@ Patch20: cpio-close_files_after_copy.patch
|
|||||||
Patch21: cpio-pattern-file-sigsegv.patch
|
Patch21: cpio-pattern-file-sigsegv.patch
|
||||||
Patch23: paxutils-rtapelib_mtget.patch
|
Patch23: paxutils-rtapelib_mtget.patch
|
||||||
Patch25: cpio-fix_truncation_check.patch
|
Patch25: cpio-fix_truncation_check.patch
|
||||||
|
Patch26: fix-gcc14.patch
|
||||||
BuildRequires: autoconf >= 2.71
|
BuildRequires: autoconf >= 2.71
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
#Requires(post): %{xinstall_info_prereq}
|
#Requires(post): %{xinstall_info_prereq}
|
||||||
|
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