diff options
author | pawel <pawel@FreeBSD.org> | 2013-12-20 21:16:21 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2013-12-20 21:16:21 +0800 |
commit | e7f0a02e440cc873b827ef7560befc4b9f932b4c (patch) | |
tree | e611e22461b384d3b53855f7df36aeff99989912 /converters/ish | |
parent | d5dd11a76e0a5410e16d8d45829859e5729294fe (diff) | |
download | freebsd-ports-gnome-e7f0a02e440cc873b827ef7560befc4b9f932b4c.tar.gz freebsd-ports-gnome-e7f0a02e440cc873b827ef7560befc4b9f932b4c.tar.zst freebsd-ports-gnome-e7f0a02e440cc873b827ef7560befc4b9f932b4c.zip |
- Fix build with clang
- Support staging
PR: ports/184856
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'converters/ish')
-rw-r--r-- | converters/ish/Makefile | 6 | ||||
-rw-r--r-- | converters/ish/files/patch-mvol.c | 27 |
2 files changed, 30 insertions, 3 deletions
diff --git a/converters/ish/Makefile b/converters/ish/Makefile index 7ac3426ea687..968024e522fc 100644 --- a/converters/ish/Makefile +++ b/converters/ish/Makefile @@ -13,11 +13,11 @@ COMMENT= Binary-to-text file-encoder MAKEFILE= makefile MAKE_ARGS= CFLAGS="${CFLAGS}" DEST=${PREFIX}/bin -PLIST_FILES= bin/ish ALL_TARGET= ish -NO_STAGE= yes +PLIST_FILES= bin/ish + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + (cd ${WRKSRC} && ${INSTALL_PROGRAM} ish ${STAGEDIR}${PREFIX}/bin) .include <bsd.port.mk> diff --git a/converters/ish/files/patch-mvol.c b/converters/ish/files/patch-mvol.c new file mode 100644 index 000000000000..0be35c2eb23e --- /dev/null +++ b/converters/ish/files/patch-mvol.c @@ -0,0 +1,27 @@ +--- mvol.c.orig ++++ mvol.c +@@ -4,6 +4,7 @@ + /* 930823 modified (aka) */ + + #include <stdio.h> ++#include <stdlib.h> + #include <fcntl.h> + #include <ctype.h> + #include <string.h> +@@ -25,6 +26,8 @@ + extern char tname[]; + extern int delvol; + ++void restore_done(char *, char *, long); ++ + #define ID "ID block for multi volume ish file" + + typedef struct { +@@ -208,6 +211,7 @@ + + #define COPY_BUF 1024 + ++void + restore_done(src, dst,sz) + char *src; + char *dst; |