Fix command line parsing.
Submitted by: Jiri Pridal <jiri.pridal@jmk.izscr.cz> Obtained from: GNU CVS
This commit is contained in:
parent
4bc33325bc
commit
de2f97f40e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127712
2 changed files with 18 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= tar
|
||||
PORTVERSION= 1.15.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= archivers sysutils
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
|
17
archivers/gtar/files/patch-src_tar.c
Normal file
17
archivers/gtar/files/patch-src_tar.c
Normal file
|
@ -0,0 +1,17 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/tar.c.orig
|
||||
+++ src/tar.c
|
||||
@@ -617,9 +617,9 @@
|
||||
|
||||
switch (key)
|
||||
{
|
||||
- case 1:
|
||||
+ case ARGP_KEY_ARG:
|
||||
/* File name or non-parsed option, because of ARGP_IN_ORDER */
|
||||
- name_add (optarg);
|
||||
+ name_add (arg);
|
||||
args->input_files++;
|
||||
break;
|
||||
|
Loading…
Reference in a new issue