Accepting request 1165686 from Archiving

OBS-URL: https://build.opensuse.org/request/show/1165686
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cpio?expand=0&rev=68
This commit is contained in:
Ana Guerrero 2024-04-07 20:04:31 +00:00 committed by Git OBS Bridge
commit 6df1d6c8cc
3 changed files with 21 additions and 0 deletions

View File

@ -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>

View File

@ -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}

14
fix-gcc14.patch Normal file
View 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'. */