diff options
author | pav <pav@FreeBSD.org> | 2010-04-02 21:30:43 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2010-04-02 21:30:43 +0800 |
commit | 610f23ca96ba952279e328f4e9715b5f9198e7cb (patch) | |
tree | 680aefa852e653846a673b14a89b6eaacf938e6d /archivers | |
parent | e3a6c521521443584cedaeb687d9fcfd89c53b0a (diff) | |
download | freebsd-ports-gnome-610f23ca96ba952279e328f4e9715b5f9198e7cb.tar.gz freebsd-ports-gnome-610f23ca96ba952279e328f4e9715b5f9198e7cb.tar.zst freebsd-ports-gnome-610f23ca96ba952279e328f4e9715b5f9198e7cb.zip |
- Squelch warnings
PR: ports/144792
Submitted by: Shigekazu KIMURA(LEE) <spbz6f99@utopia.ocn.ne.jp>
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/untar/Makefile | 2 | ||||
-rw-r--r-- | archivers/untar/files/patch-untar.c | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/archivers/untar/Makefile b/archivers/untar/Makefile index 4050a3d3a6fd..e2973e137dbc 100644 --- a/archivers/untar/Makefile +++ b/archivers/untar/Makefile @@ -21,7 +21,7 @@ MAKEFILE= /usr/share/mk/bsd.prog.mk NO_WRKSUBDIR= yes PLIST_FILES= bin/untar -MAKE_ENV+= PROG=untar NOMAN=yes +MAKE_ENV+= PROG=untar NO_MAN=yes MAKE_ARGS+= CFLAGS="${CFLAGS} -D_POSIX_SOURCE" \ LDFLAGS="${LDFLAGS} -static" diff --git a/archivers/untar/files/patch-untar.c b/archivers/untar/files/patch-untar.c new file mode 100644 index 000000000000..760b6819c7a1 --- /dev/null +++ b/archivers/untar/files/patch-untar.c @@ -0,0 +1,12 @@ +--- untar.c.old 2010-03-19 22:39:55.000000000 +0100 ++++ untar.c 2010-03-19 22:36:01.000000000 +0100 +@@ -48,6 +48,9 @@ + */ + + #include <stdio.h> ++#include <stdlib.h> ++#include <string.h> ++ + #ifndef SEEK_SET + # define SEEK_SET 0 + #endif |