summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2001-11-04 18:45:26 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2001-11-04 18:45:26 +0000
commit946c74b76fec86fc55bc5f8ec810e668fbc821c3 (patch)
treef58c5d068e1d79c36a60f48b493c327940b9aa2d /archivers
parentUpdate module: quota. (diff)
- Fix "gtar --version" segfault on -STABLE reported by Jason R. Mastaler.
- Bump the port revision. - Move PKGNAMEPREFIX to where portlint wants it. PR: 30713 Approved by: trevor
Notes
Notes: svn path=/head/; revision=49578
Diffstat (limited to 'archivers')
-rw-r--r--archivers/gtar/Makefile3
-rw-r--r--archivers/gtar/files/patch-lib_copysym.c14
2 files changed, 16 insertions, 1 deletions
diff --git a/archivers/gtar/Makefile b/archivers/gtar/Makefile
index b2ce4237387b..a997474f2f66 100644
--- a/archivers/gtar/Makefile
+++ b/archivers/gtar/Makefile
@@ -7,11 +7,12 @@
PORTNAME= tar
PORTVERSION= 1.13.23
-PKGNAMEPREFIX= g
+PORTREVISION= 1
CATEGORIES= archivers sysutils
MASTER_SITES= ftp://alpha.gnu.org/gnu/tar/ \
ftp://ftp.sunsite.org.uk/Mirrors/alpha.gnu.org/gnu/tar/ \
ftp://ftp.funet.fi/pub/mirrors/alpha.gnu.org/gnu/tar/
+PKGNAMEPREFIX= g
MAINTAINER= naddy@FreeBSD.org
diff --git a/archivers/gtar/files/patch-lib_copysym.c b/archivers/gtar/files/patch-lib_copysym.c
new file mode 100644
index 000000000000..42c9573e259b
--- /dev/null
+++ b/archivers/gtar/files/patch-lib_copysym.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- lib/copysym.c.orig Sun Nov 4 17:03:34 2001
++++ lib/copysym.c Sun Nov 4 17:04:08 2001
+@@ -60,7 +60,7 @@
+ #endif
+ }
+
+- if (*outcharset)
++ if (outcharset && *outcharset)
+ {
+ iconv_t conv = iconv_open (outcharset, "UTF-8");
+