Fix command line parsing; from GNU CVS.
This commit is contained in:
parent
94cb226cab
commit
5400bfd4d1
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.33 2005/01/01 23:47:43 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.34 2005/01/30 14:56:57 naddy Exp $
|
||||
|
||||
COMMENT= "GNU version of the traditional tar archiver"
|
||||
|
||||
DISTNAME= tar-1.15.1
|
||||
PKGNAME= g${DISTNAME}
|
||||
PKGNAME= g${DISTNAME}p0
|
||||
CATEGORIES= archivers
|
||||
HOMEPAGE= http://www.gnu.org/software/tar/
|
||||
|
||||
|
15
archivers/gtar/patches/patch-src_tar_c
Normal file
15
archivers/gtar/patches/patch-src_tar_c
Normal file
@ -0,0 +1,15 @@
|
||||
$OpenBSD: patch-src_tar_c,v 1.1 2005/01/30 14:56:57 naddy Exp $
|
||||
--- src/tar.c.orig Tue Dec 21 15:11:26 2004
|
||||
+++ src/tar.c Sun Jan 30 15:22:05 2005
|
||||
@@ -617,9 +617,9 @@ parse_opt(int key, char *arg, struct arg
|
||||
|
||||
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 New Issue
Block a user