aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/gtar
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>2000-12-27 05:25:35 +0800
committerandreas <andreas@FreeBSD.org>2000-12-27 05:25:35 +0800
commit47b9df5e458c265aa3e07cb7bacc3ed4443f9962 (patch)
tree9e8d1b38d799fb9c667878937644e65952297f83 /archivers/gtar
parenta7531b0f06756875cf42b57794de50605c3e471b (diff)
downloadfreebsd-ports-gnome-47b9df5e458c265aa3e07cb7bacc3ed4443f9962.tar.gz
freebsd-ports-gnome-47b9df5e458c265aa3e07cb7bacc3ed4443f9962.tar.zst
freebsd-ports-gnome-47b9df5e458c265aa3e07cb7bacc3ed4443f9962.zip
import more stuff from PR 23815
- use PKGNAMEPREFIX so that package is named *g*tar like the port - patch-ac silences gcc when compiling prepargs.c additionally: - fetch patch-ab out of Attic, we still want info file not splitted into pieces - bump PORTREVISION, since patch-ab fixes package building PR: 23815 Submitted by: Christian Weisgerber <naddy@mips.inka.de>
Diffstat (limited to 'archivers/gtar')
-rw-r--r--archivers/gtar/Makefile3
-rw-r--r--archivers/gtar/files/patch-ac14
2 files changed, 16 insertions, 1 deletions
diff --git a/archivers/gtar/Makefile b/archivers/gtar/Makefile
index cf61fa1413c3..ff90ca829835 100644
--- a/archivers/gtar/Makefile
+++ b/archivers/gtar/Makefile
@@ -7,7 +7,8 @@
PORTNAME= tar
PORTVERSION= 1.13.18
-PORTREVISION= 2
+PORTREVISION= 3
+PKGNAMEPREFIX= g
CATEGORIES= sysutils archivers
MASTER_SITES= ftp://alpha.gnu.org/gnu/tar/ \
ftp://ftp.sunsite.org.uk/Mirrors/alpha.gnu.org/gnu/tar/ \
diff --git a/archivers/gtar/files/patch-ac b/archivers/gtar/files/patch-ac
new file mode 100644
index 000000000000..3dd285d8f301
--- /dev/null
+++ b/archivers/gtar/files/patch-ac
@@ -0,0 +1,14 @@
+--- lib/prepargs.c.orig Thu Nov 16 01:32:16 2000
++++ lib/prepargs.c Thu Nov 16 01:32:58 2000
+@@ -23,6 +23,11 @@
+ #endif
+ #include "prepargs.h"
+ #include <sys/types.h>
++#if HAVE_STRING_H
++# include <string.h>
++#else
++# include <strings.h>
++#endif
+ #include <xalloc.h>
+
+ #include <ctype.h>