aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
Diffstat (limited to 'archivers')
-rw-r--r--archivers/gtar/Makefile2
-rw-r--r--archivers/gtar/files/patch-src_incremen.c23
2 files changed, 24 insertions, 1 deletions
diff --git a/archivers/gtar/Makefile b/archivers/gtar/Makefile
index b52650821384..fedcea4be192 100644
--- a/archivers/gtar/Makefile
+++ b/archivers/gtar/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tar
PORTVERSION= 1.22
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= archivers sysutils
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/archivers/gtar/files/patch-src_incremen.c b/archivers/gtar/files/patch-src_incremen.c
new file mode 100644
index 000000000000..57a7af62940e
--- /dev/null
+++ b/archivers/gtar/files/patch-src_incremen.c
@@ -0,0 +1,23 @@
+
+$FreeBSD$
+
+--- src/incremen.c.orig
++++ src/incremen.c
+@@ -870,7 +870,7 @@
+ time_t sec;
+ long int nsec;
+ char *buf = 0;
+- size_t bufsize;
++ size_t bufsize = 0;
+ char *ebuf;
+ long lineno = 1;
+
+@@ -1230,7 +1230,7 @@
+ {
+ int fd;
+ char *buf = 0;
+- size_t bufsize;
++ size_t bufsize = 0;
+
+ /* Open the file for both read and write. That way, we can write
+ it later without having to reopen it, and don't have to worry if