From owner-svn-ports-head@FreeBSD.ORG Mon Feb 10 21:31:15 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A88216FD; Mon, 10 Feb 2014 21:31:15 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 935F31B63; Mon, 10 Feb 2014 21:31:15 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1ALVFNh026973; Mon, 10 Feb 2014 21:31:15 GMT (envelope-from markm@svn.freebsd.org) Received: (from markm@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1ALVEne026969; Mon, 10 Feb 2014 21:31:14 GMT (envelope-from markm@svn.freebsd.org) Message-Id: <201402102131.s1ALVEne026969@svn.freebsd.org> From: Mark Murray Date: Mon, 10 Feb 2014 21:31:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343685 - in head/textproc/par: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Feb 2014 21:31:15 -0000 Author: markm (src committer) Date: Mon Feb 10 21:31:14 2014 New Revision: 343685 URL: http://svnweb.freebsd.org/changeset/ports/343685 QAT: https://qat.redports.org/buildarchive/r343685/ Log: Fix to add staging support. While I'm here, fix compilation; subtracting 2 pointers on a 64-bit machine gives something the same size as a size_t. Refactor the patches by using 'make makepatch'. PR: 186604 Submitted by: Mikhail - mp39590 gmail com Added: head/textproc/par/files/patch-protoMakefile (contents, props changed) head/textproc/par/files/patch-reformat.c (contents, props changed) Deleted: head/textproc/par/files/patch-aa Modified: head/textproc/par/Makefile head/textproc/par/files/patch-par.c Modified: head/textproc/par/Makefile ============================================================================== --- head/textproc/par/Makefile Mon Feb 10 21:10:27 2014 (r343684) +++ head/textproc/par/Makefile Mon Feb 10 21:31:14 2014 (r343685) @@ -8,21 +8,21 @@ CATEGORIES= textproc MASTER_SITES= http://www.nicemice.net/par/ DISTNAME= Par${PORTVERSION:S|.||} -MAINTAINER= mark@grondar.za +MAINTAINER= markm@FreeBSD.org COMMENT= Paragraph reformatter for email CONFLICTS= quake-par-[0-9]* ALL_TARGET= # MAN1= par.1 -PLIST_FILES= bin/par +PLIST_FILES= bin/par \ + man/man1/par.1.gz -NO_STAGE= yes do-configure: (cd ${WRKSRC}; ${CP} protoMakefile Makefile) do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/par ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/par.1 ${MANPREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/par ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/par.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include Modified: head/textproc/par/files/patch-par.c ============================================================================== --- head/textproc/par/files/patch-par.c Mon Feb 10 21:10:27 2014 (r343684) +++ head/textproc/par/files/patch-par.c Mon Feb 10 21:31:14 2014 (r343685) @@ -1,5 +1,5 @@ ---- par.c.orig Sun Mar 28 16:00:15 2004 -+++ par.c Sun Mar 28 16:04:00 2004 +--- ./par.c.orig 2001-04-02 05:25:57.000000000 +0100 ++++ ./par.c 2014-02-10 21:14:29.000000000 +0000 @@ -403,7 +403,8 @@ } continue; Added: head/textproc/par/files/patch-protoMakefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/par/files/patch-protoMakefile Mon Feb 10 21:31:14 2014 (r343685) @@ -0,0 +1,11 @@ +--- ./protoMakefile.orig 2001-03-09 00:53:25.000000000 +0000 ++++ ./protoMakefile 2014-02-10 21:14:29.000000000 +0000 +@@ -47,7 +47,7 @@ + # Example (for Solaris 2.x with SPARCompiler C): + # CC = cc -c -O -s -Xc -DDONTFREE + +-CC = cc -c ++CC = cc -c ${CFLAGS} + + # Define LINK1 and LINK2 so that the command + # Added: head/textproc/par/files/patch-reformat.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/par/files/patch-reformat.c Mon Feb 10 21:31:14 2014 (r343685) @@ -0,0 +1,11 @@ +--- ./reformat.c.orig 2014-02-10 21:14:43.000000000 +0000 ++++ ./reformat.c 2014-02-10 21:17:35.000000000 +0000 +@@ -335,7 +335,7 @@ + for (end = *line; *end; ++end); + if (end - *line < affix) { + sprintf(errmsg, +- "Line %d shorter than + = %d + %d = %d\n", ++ "Line %zd shorter than + = %d + %d = %d\n", + line - inlines + 1, prefix, suffix, affix); + goto rfcleanup; + }