SHA256
1
0
forked from pool/arc

Accepting request 812758 from Archiving

OBS-URL: https://build.opensuse.org/request/show/812758
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/arc?expand=0&rev=6
This commit is contained in:
2020-06-09 22:48:35 +00:00
committed by Git OBS Bridge
3 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
--- a/arc.h
+++ b/arc.h
@@ -129,4 +129,8 @@
extern u_short olddate; /* old archive date stamp */
extern u_short oldtime; /* old archive time stamp */
extern int dosquash; /* squash instead of crunch */
+extern long stdlen; /* bytes to read */
+extern u_char *outbuf;
+extern u_char *outend;
+extern short crcval; /* CRC check value */
#endif /* DONT_DEFINE */
--- a/arclzw.c
+++ b/arclzw.c
@@ -58,8 +58,7 @@
extern u_char *pinbuf;
u_char *inbeg, *inend;
-u_char *outbuf;
-u_char *outbeg, *outend;
+u_char *outbeg;
static int sp; /* current stack pointer */
static int inflag;
--- a/arcunp.c
+++ b/arcunp.c
@@ -39,8 +39,6 @@
#define NOHIST 0 /* no relevant history */
#define INREP 1 /* sending a repeated value */
-short crcval; /* CRC check value */
-long stdlen; /* bytes to read */
#if !DOS
static int gotcr; /* got a carriage return? */
#endif

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jun 8 15:57:22 UTC 2020 - Cristian Rodríguez <crrodriguez@opensuse.org>
- arc-5.21p-fno-common.patch: from Gentoo, fixe FTBS with
recent GCC versions.
-------------------------------------------------------------------
Fri Jan 17 09:14:38 UTC 2020 - Martin Pluskal <mpluskal@suse.com>

View File

@@ -26,6 +26,7 @@ Source: https://github.com/ani6al/arc/archive/%{version}.tar.gz#/%{name}
Patch0: arc-5.21p-directory-traversel.patch
Patch1: arc-5.21p-fix-arcdie.patch
Patch2: arc-5.21p-hdrv1-read-fix.patch
Patch3: https://gitweb.gentoo.org/repo/gentoo.git/plain/app-arch/arc/files/arc-5.21p-fno-common.patch
# /usr/bin/arc binary name conflicts
Conflicts: arcanist