Remove superfluous declaration to fix build with -fno-common.
Reported by: pkg-fallout Obtained from: upstream
This commit is contained in:
parent
dfd74062d8
commit
b757cfa8e7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=546023
2 changed files with 15 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
PORTNAME= cpio
|
||||
PORTVERSION= 2.13
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= archivers
|
||||
MASTER_SITES= GNU
|
||||
PKGNAMEPREFIX= g
|
||||
|
|
14
archivers/gcpio/files/patch-src_global.c
Normal file
14
archivers/gcpio/files/patch-src_global.c
Normal file
|
@ -0,0 +1,14 @@
|
|||
https://git.savannah.gnu.org/cgit/cpio.git/commit/src/global.c?id=641d3f489cf6238bb916368d4ba0d9325a235afb
|
||||
|
||||
--- src/global.c.orig 2019-11-03 15:07:23 UTC
|
||||
+++ src/global.c
|
||||
@@ -184,9 +184,6 @@ unsigned int warn_option = 0;
|
||||
/* Extract to standard output? */
|
||||
bool to_stdout_option = false;
|
||||
|
||||
-/* The name this program was run with. */
|
||||
-char *program_name;
|
||||
-
|
||||
/* A pointer to either lstat or stat, depending on whether
|
||||
dereferencing of symlinks is done for input files. */
|
||||
int (*xstat) ();
|
Loading…
Reference in a new issue