aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2001-11-05 02:45:26 +0800
committernaddy <naddy@FreeBSD.org>2001-11-05 02:45:26 +0800
commita776935530187c0326ec48aafd7ba2ac5ea0bec4 (patch)
treeafc3cfd6428a339338814e6fa299e1746ab797aa
parenta0330c5ed5a88e5c284edf088e0896bce28416b4 (diff)
downloadfreebsd-ports-gnome-a776935530187c0326ec48aafd7ba2ac5ea0bec4.tar.gz
freebsd-ports-gnome-a776935530187c0326ec48aafd7ba2ac5ea0bec4.tar.zst
freebsd-ports-gnome-a776935530187c0326ec48aafd7ba2ac5ea0bec4.zip
- 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
-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");
+