aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/gtar
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2005-01-30 22:55:41 +0800
committernaddy <naddy@FreeBSD.org>2005-01-30 22:55:41 +0800
commit99b68d45345af757134b423910aeb83fb3e0e3ad (patch)
tree35bc5dcfcd78c4ae1ada9ecf94ef9e22e24a36e3 /archivers/gtar
parent362509ff732f6093ac480cfade8c1043bc4ecdef (diff)
downloadfreebsd-ports-gnome-99b68d45345af757134b423910aeb83fb3e0e3ad.tar.gz
freebsd-ports-gnome-99b68d45345af757134b423910aeb83fb3e0e3ad.tar.zst
freebsd-ports-gnome-99b68d45345af757134b423910aeb83fb3e0e3ad.zip
Fix command line parsing.
Submitted by: Jiri Pridal <jiri.pridal@jmk.izscr.cz> Obtained from: GNU CVS
Diffstat (limited to 'archivers/gtar')
-rw-r--r--archivers/gtar/Makefile1
-rw-r--r--archivers/gtar/files/patch-src_tar.c17
2 files changed, 18 insertions, 0 deletions
diff --git a/archivers/gtar/Makefile b/archivers/gtar/Makefile
index 9393a870783a..c51a701ad201 100644
--- a/archivers/gtar/Makefile
+++ b/archivers/gtar/Makefile
@@ -7,6 +7,7 @@
PORTNAME= tar
PORTVERSION= 1.15.1
+PORTREVISION= 1
CATEGORIES= archivers sysutils
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/archivers/gtar/files/patch-src_tar.c b/archivers/gtar/files/patch-src_tar.c
new file mode 100644
index 000000000000..f6b4dc8039dc
--- /dev/null
+++ b/archivers/gtar/files/patch-src_tar.c
@@ -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;
+