aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2010-01-21 15:32:55 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2010-01-21 15:32:55 +0000
commit79534bfe7b2f1dfbfe116be3aab0eb48e3f2f545 (patch)
treef9c1d28d04341c7bd1c5ad5766a017f2e06e022d /archivers
parent3e0336c284e999bb56bbaf68e27f1eeffe637a48 (diff)
downloadports-79534bfe7b2f1dfbfe116be3aab0eb48e3f2f545.tar.gz
ports-79534bfe7b2f1dfbfe116be3aab0eb48e3f2f545.zip
Notes
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