diff options
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 |