Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2013 13:16:22 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337009 - in head/converters/ish: . files
Message-ID:  <201312201316.rBKDGMFh061599@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Dec 20 13:16:21 2013
New Revision: 337009
URL: http://svnweb.freebsd.org/changeset/ports/337009

Log:
  - Fix build with clang
  - Support staging
  
  PR:		ports/184856
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>

Added:
  head/converters/ish/files/patch-mvol.c   (contents, props changed)
Modified:
  head/converters/ish/Makefile   (contents, props changed)

Modified: head/converters/ish/Makefile
==============================================================================
--- head/converters/ish/Makefile	Fri Dec 20 13:13:31 2013	(r337008)
+++ head/converters/ish/Makefile	Fri Dec 20 13:16:21 2013	(r337009)
@@ -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>

Added: head/converters/ish/files/patch-mvol.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/converters/ish/files/patch-mvol.c	Fri Dec 20 13:16:21 2013	(r337009)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312201316.rBKDGMFh061599>