diff options
-rw-r--r-- | archivers/gtar/Makefile | 2 | ||||
-rw-r--r-- | archivers/gtar/files/patch-src::extract.c | 28 |
2 files changed, 29 insertions, 1 deletions
diff --git a/archivers/gtar/Makefile b/archivers/gtar/Makefile index 271f028..4611d12 100644 --- a/archivers/gtar/Makefile +++ b/archivers/gtar/Makefile @@ -7,7 +7,7 @@ PORTNAME= tar PORTVERSION= 1.13.25 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= archivers sysutils MASTER_SITES= ftp://alpha.gnu.org/gnu/tar/ \ ftp://ftp.sunsite.org.uk/Mirrors/alpha.gnu.org/gnu/tar/ \ diff --git a/archivers/gtar/files/patch-src::extract.c b/archivers/gtar/files/patch-src::extract.c new file mode 100644 index 0000000..ab8e59d --- /dev/null +++ b/archivers/gtar/files/patch-src::extract.c @@ -0,0 +1,28 @@ +Index: src/extract.c +=================================================================== +RCS file: /home/ncvs/src/contrib/tar/src/extract.c,v +retrieving revision 1.1.1.1 +retrieving revision 1.2 +diff -d -u -r1.1.1.1 -r1.2 +--- src/extract.c 4 Jun 2002 10:37:44 -0000 1.1.1.1 ++++ src/extract.c 7 Jun 2002 00:03:23 -0000 1.2 +@@ -19,6 +19,8 @@ + with this program; if not, write to the Free Software Foundation, Inc., + 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + ++/* $FreeBSD$ */ ++ + #include "system.h" + #include <quotearg.h> + +@@ -110,8 +112,10 @@ + extr_init (void) + { + we_are_root = geteuid () == 0; ++#ifndef __FreeBSD__ + same_permissions_option += we_are_root; + same_owner_option += we_are_root; ++#endif + xalloc_fail_func = extract_finish; + + /* Option -p clears the kernel umask, so it does not affect proper |