Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  8 Jul 2001 15:47:06 +0200 (CEST)
From:      Anders Nordby <anders@fix.no>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/28813: New port: textproc/pardiff
Message-ID:  <20010708134706.977333C8E@totem.fix.no>

next in thread | raw e-mail | index | archive | help

>Number:         28813
>Category:       ports
>Synopsis:       New port: textproc/pardiff
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 08 06:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Anders Nordby
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
Fluxpod Information eXchange
>Environment:

kern.osreldate: 430000 (4.3-STABLE)
kern.osreldate: 500018 (5.0-20010420-CURRENT)

>Description:

New port of pardiff, a parallelizing diff filter.

>How-To-Repeat:

	<Code/input/activities to reproduce the problem (multiple lines)>

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	pardiff
#	pardiff/files
#	pardiff/files/patch-pardiff-pardiff.c
#	pardiff/Makefile
#	pardiff/distinfo
#	pardiff/pkg-comment
#	pardiff/pkg-descr
#	pardiff/pkg-plist
#
echo c - pardiff
mkdir -p pardiff > /dev/null 2>&1
echo c - pardiff/files
mkdir -p pardiff/files > /dev/null 2>&1
echo x - pardiff/files/patch-pardiff-pardiff.c
sed 's/^X//' >pardiff/files/patch-pardiff-pardiff.c << 'END-of-pardiff/files/patch-pardiff-pardiff.c'
X--- pardiff/pardiff.c.orig	Sat Jul  7 07:54:35 2001
X+++ pardiff/pardiff.c	Sun Jul  8 15:30:10 2001
X@@ -23,7 +23,7 @@
X 
X /* include files to determine the width of the output terminal */
X #include <fcntl.h>
X-#include <termio.h>
X+#include <sys/ttycom.h>
X 
X 
X #else
X@@ -314,7 +314,7 @@
X          * Preprocess lines to get a consistent EOL
X          */
X         if (convertCrlf) {
X-            line_len = strnlen(nextline, PARDIFF_LINE_BUF_SIZE); 
X+            line_len = strlen(nextline);
X             if (line_len > 2 && nextline[line_len - 2] == 0xd) {
X                 nextline[line_len - 2] = '\n';
X                 nextline[line_len - 1] = '\0';
END-of-pardiff/files/patch-pardiff-pardiff.c
echo x - pardiff/Makefile
sed 's/^X//' >pardiff/Makefile << 'END-of-pardiff/Makefile'
X# New ports collection makefile for:	pardiff
X# Date created:		08 July 2001
X# Whom:			Anders Nordby <anders@fix.no>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pardiff
XPORTVERSION=	0.9.3
XCATEGORIES=	textproc
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	pardiff
X
XMAINTAINER=	anders@fix.no
X
XGNU_CONFIGURE=	yes
X
XMAN1=	pardiff.1 diffp.1
X
X.include <bsd.port.mk>
END-of-pardiff/Makefile
echo x - pardiff/distinfo
sed 's/^X//' >pardiff/distinfo << 'END-of-pardiff/distinfo'
XMD5 (pardiff-0.9.3.tar.gz) = 88d4568156e07930d571ee0bcf634d6d
END-of-pardiff/distinfo
echo x - pardiff/pkg-comment
sed 's/^X//' >pardiff/pkg-comment << 'END-of-pardiff/pkg-comment'
XParallelizing diff Filter, converts diff output to paralleled format
END-of-pardiff/pkg-comment
echo x - pardiff/pkg-descr
sed 's/^X//' >pardiff/pkg-descr << 'END-of-pardiff/pkg-descr'
XPardiff is a program that takes the output of diff and displays it in a
Xparallel (side-by-side) format, emulating the /PARALLEL option on the VMS
Xversion of diff.
X
XPardiff detects the width of the terminal on which it is running and adjusts
Xits output accordingly.
X
XWWW: http://pardiff.sourceforge.net/
X
X- Anders Nordby <anders@fix.no>
END-of-pardiff/pkg-descr
echo x - pardiff/pkg-plist
sed 's/^X//' >pardiff/pkg-plist << 'END-of-pardiff/pkg-plist'
Xbin/pardiff
Xbin/diffp
END-of-pardiff/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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