From owner-svn-ports-branches@freebsd.org Thu Aug 20 04:44:43 2020 Return-Path: Delivered-To: svn-ports-branches@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BCAB33AF40C; Thu, 20 Aug 2020 04:44:43 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BXBrq4dQkz3YyL; Thu, 20 Aug 2020 04:44:43 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 69895EC8F; Thu, 20 Aug 2020 04:44:43 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07K4ihNt044943; Thu, 20 Aug 2020 04:44:43 GMT (envelope-from delphij@FreeBSD.org) Received: (from delphij@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07K4ihWn044940; Thu, 20 Aug 2020 04:44:43 GMT (envelope-from delphij@FreeBSD.org) Message-Id: <202008200444.07K4ihWn044940@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: delphij set sender to delphij@FreeBSD.org using -f From: Xin LI Date: Thu, 20 Aug 2020 04:44:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r545497 - branches/2020Q3/archivers/arc/files X-SVN-Group: ports-branches X-SVN-Commit-Author: delphij X-SVN-Commit-Paths: branches/2020Q3/archivers/arc/files X-SVN-Commit-Revision: 545497 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Aug 2020 04:44:43 -0000 Author: delphij Date: Thu Aug 20 04:44:42 2020 New Revision: 545497 URL: https://svnweb.freebsd.org/changeset/ports/545497 Log: MFH: r545496 Fix build. Approved by: ports-secteam (build fix blanket) Modified: branches/2020Q3/archivers/arc/files/patch-arclzw.c branches/2020Q3/archivers/arc/files/patch-arcunp.c Directory Properties: branches/2020Q3/ (props changed) Modified: branches/2020Q3/archivers/arc/files/patch-arclzw.c ============================================================================== --- branches/2020Q3/archivers/arc/files/patch-arclzw.c Thu Aug 20 04:43:54 2020 (r545496) +++ branches/2020Q3/archivers/arc/files/patch-arclzw.c Thu Aug 20 04:44:42 2020 (r545497) @@ -1,6 +1,21 @@ --- arclzw.c.orig 2010-08-07 13:06:42 UTC +++ arclzw.c -@@ -560,7 +560,7 @@ decomp(squash, f, t) /* decompress a fi +@@ -57,9 +57,11 @@ static VOID putcode(); + #define NOT_FND 0xFFFF + + extern u_char *pinbuf; +-u_char *inbeg, *inend; +-u_char *outbuf; +-u_char *outbeg, *outend; ++u_char *inbeg; ++u_char *inend; ++extern u_char *outbuf; ++u_char *outbeg; ++extern u_char *outend; + + static int sp; /* current stack pointer */ + static int inflag; +@@ -560,7 +562,7 @@ decomp(squash, f, t) /* decompress a file */ */ if (code >= free_ent) { if (code > free_ent) { Modified: branches/2020Q3/archivers/arc/files/patch-arcunp.c ============================================================================== --- branches/2020Q3/archivers/arc/files/patch-arcunp.c Thu Aug 20 04:43:54 2020 (r545496) +++ branches/2020Q3/archivers/arc/files/patch-arcunp.c Thu Aug 20 04:44:42 2020 (r545497) @@ -1,6 +1,17 @@ --- arcunp.c.orig 2010-08-07 13:06:42 UTC +++ arcunp.c -@@ -122,7 +122,7 @@ unpack(f, t, hdr) /* unpack an archive +@@ -39,8 +39,8 @@ extern int lastc; + #define NOHIST 0 /* no relevant history */ + #define INREP 1 /* sending a repeated value */ + +-short crcval; /* CRC check value */ +-long stdlen; /* bytes to read */ ++extern short crcval; /* CRC check value */ ++extern long stdlen; /* bytes to read */ + #if !DOS + static int gotcr; /* got a carriage return? */ + #endif +@@ -122,7 +122,7 @@ unpack(f, t, hdr) /* unpack an archive entry */ break; default: /* unknown method */ @@ -9,7 +20,7 @@ printf("I don't know how to unpack file %s\n", hdr->name); printf("I think you need a newer version of ARC\n"); nerrs++; -@@ -134,7 +134,7 @@ unpack(f, t, hdr) /* unpack an archive +@@ -134,7 +134,7 @@ unpack(f, t, hdr) /* unpack an archive entry */ /* cleanups common to all methods */ if (crcval != hdr->crc) {