diff options
-rw-r--r-- | archivers/gtar/Makefile | 1 | ||||
-rw-r--r-- | archivers/gtar/files/patch-src_tar.c | 17 |
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; + |