Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 2020 21:30:57 +0000 (UTC)
From:      Christian Weisgerber <naddy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r546023 - in head/archivers/gcpio: . files
Message-ID:  <202008232130.07NLUvEv063879@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: naddy
Date: Sun Aug 23 21:30:56 2020
New Revision: 546023
URL: https://svnweb.freebsd.org/changeset/ports/546023

Log:
  Remove superfluous declaration to fix build with -fno-common.
  
  Reported by:	pkg-fallout
  Obtained from:	upstream

Added:
  head/archivers/gcpio/files/patch-src_global.c   (contents, props changed)
Modified:
  head/archivers/gcpio/Makefile

Modified: head/archivers/gcpio/Makefile
==============================================================================
--- head/archivers/gcpio/Makefile	Sun Aug 23 20:36:28 2020	(r546022)
+++ head/archivers/gcpio/Makefile	Sun Aug 23 21:30:56 2020	(r546023)
@@ -2,6 +2,7 @@
 
 PORTNAME=	cpio
 PORTVERSION=	2.13
+PORTREVISION=	0
 CATEGORIES=	archivers
 MASTER_SITES=	GNU
 PKGNAMEPREFIX=	g

Added: head/archivers/gcpio/files/patch-src_global.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/gcpio/files/patch-src_global.c	Sun Aug 23 21:30:56 2020	(r546023)
@@ -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) ();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008232130.07NLUvEv063879>