aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2005-03-15 01:23:59 +0800
committerglewis <glewis@FreeBSD.org>2005-03-15 01:23:59 +0800
commitc29f2e2b35933a2d249ecb5839df005334074370 (patch)
tree4a21e2ace204311067ecbdfe578d7eb3fd433b53
parentde0d7126f742968d205c354bf766d135b7008072 (diff)
downloadfreebsd-ports-gnome-c29f2e2b35933a2d249ecb5839df005334074370.tar.gz
freebsd-ports-gnome-c29f2e2b35933a2d249ecb5839df005334074370.tar.zst
freebsd-ports-gnome-c29f2e2b35933a2d249ecb5839df005334074370.zip
. Update to 1.02.014.
-rw-r--r--archivers/libarchive/Makefile2
-rw-r--r--archivers/libarchive/distinfo4
-rw-r--r--archivers/libarchive/files/patch-archive_read_extract.c19
3 files changed, 22 insertions, 3 deletions
diff --git a/archivers/libarchive/Makefile b/archivers/libarchive/Makefile
index 5a0fdd5c6a8f..af66df43c82b 100644
--- a/archivers/libarchive/Makefile
+++ b/archivers/libarchive/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= libarchive
-PORTVERSION= 1.02.010
+PORTVERSION= 1.02.014
PORTEPOCH= 1
CATEGORIES= archivers
MASTER_SITES= http://people.freebsd.org/~kientzle/libarchive/src/
diff --git a/archivers/libarchive/distinfo b/archivers/libarchive/distinfo
index 9e603ebf4d24..251d528be423 100644
--- a/archivers/libarchive/distinfo
+++ b/archivers/libarchive/distinfo
@@ -1,2 +1,2 @@
-MD5 (libarchive-1.02.010.tar.gz) = ae7877daf89dec8268c515f9846fa369
-SIZE (libarchive-1.02.010.tar.gz) = 197500
+MD5 (libarchive-1.02.014.tar.gz) = 4de0006f9a3a6a4e4ad54bf8e6e9c88b
+SIZE (libarchive-1.02.014.tar.gz) = 198411
diff --git a/archivers/libarchive/files/patch-archive_read_extract.c b/archivers/libarchive/files/patch-archive_read_extract.c
new file mode 100644
index 000000000000..1187e7c1ba4e
--- /dev/null
+++ b/archivers/libarchive/files/patch-archive_read_extract.c
@@ -0,0 +1,19 @@
+$FreeBSD$
+
+--- archive_read_extract.c.orig Mon Mar 14 10:12:52 2005
++++ archive_read_extract.c Mon Mar 14 10:13:03 2005
+@@ -188,12 +188,13 @@
+ * and move to a suitable intermediate dir.
+ */
+ if (strlen(archive_entry_pathname(entry)) > PATH_MAX) {
++ char *intdir, *tail;
++
+ /*
+ * Yes, the copy here is necessary because we edit
+ * the pathname in-place to create intermediate dirnames.
+ */
+ original_filename = strdup(archive_entry_pathname(entry));
+- char *intdir, *tail;
+
+ restore_pwd = open(".", O_RDONLY);
+ /*