ports/104177: Update port: textproc/makepatch to 2.02

KATO Tsuguru tkato432 at yahoo.com
Sun Oct 8 17:10:36 UTC 2006


>Number:         104177
>Category:       ports
>Synopsis:       Update port: textproc/makepatch to 2.02
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 08 17:10:25 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.11-RELEASE-p22 i386
>Organization:
>Environment:
>Description:
- Update to version 2.02

New file:
files/patch-script__makepatch

Remove file:
files/patch-makepatch.PL

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/textproc/makepatch/Makefile textproc/makepatch/Makefile
--- /usr/ports/textproc/makepatch/Makefile	Mon Feb 14 17:11:08 2005
+++ textproc/makepatch/Makefile	Sat Oct  7 19:14:09 2006
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	makepatch
-PORTVERSION=	2.00a
-PORTREVISION=	1
+PORTVERSION=	2.02
 CATEGORIES=	textproc perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	../../authors/id/JV
diff -urN /usr/ports/textproc/makepatch/distinfo textproc/makepatch/distinfo
--- /usr/ports/textproc/makepatch/distinfo	Sat Nov 26 19:32:14 2005
+++ textproc/makepatch/distinfo	Sat Oct  7 19:02:21 2006
@@ -1,3 +1,3 @@
-MD5 (makepatch-2.00a.tar.gz) = 7750d7b64d42d243cfe832d5d1d1e8e8
-SHA256 (makepatch-2.00a.tar.gz) = 1c41a0d212ee9363c4c032f1f85a2ba5f1e98b6435828a6e69648170b10c7d6c
-SIZE (makepatch-2.00a.tar.gz) = 22960
+MD5 (makepatch-2.02.tar.gz) = 4f1b19bb5ba2e1a3eede45f34927abcb
+SHA256 (makepatch-2.02.tar.gz) = 901dfb2f3391d599e3b44f30e8b5108cd04cc29aeec7bcd7ee3f4326319ca256
+SIZE (makepatch-2.02.tar.gz) = 28281
diff -urN /usr/ports/textproc/makepatch/files/patch-makepatch.PL textproc/makepatch/files/patch-makepatch.PL
--- /usr/ports/textproc/makepatch/files/patch-makepatch.PL	Mon Nov 19 07:54:13 2001
+++ textproc/makepatch/files/patch-makepatch.PL	Thu Jan  1 09:00:00 1970
@@ -1,22 +0,0 @@
---- makepatch.PL	Sun Dec  6 09:04:51 1998
-+++ makepatch.PL.new	Mon Nov  5 19:47:17 2001
-@@ -670,11 +670,14 @@
- 	$skipped++;
- 	return 0;
-     }
--    if ( -B $fh ) {
--	verbose ("WARNING: Binary file $new -- skipped\n");
--	$skipped++;
--	return 0;
--    }
-+#  Binary/Text test on filehandle makes no sense (and causes failure)
-+#  on FreeBSD
-+#
-+#    if ( -B $fh ) {
-+#	verbose ("WARNING: Binary file $new -- skipped\n");
-+#	$skipped++;
-+#	return 0;
-+#    }
-     my $pos = $fh->getpos;
-     while ( <$fh> ) {
- 	$lines++;
diff -urN /usr/ports/textproc/makepatch/files/patch-script__makepatch textproc/makepatch/files/patch-script__makepatch
--- /usr/ports/textproc/makepatch/files/patch-script__makepatch	Thu Jan  1 09:00:00 1970
+++ textproc/makepatch/files/patch-script__makepatch	Sat Oct  7 19:10:51 2006
@@ -0,0 +1,26 @@
+--- script/makepatch.orig	Fri Sep 29 18:18:19 2006
++++ script/makepatch	Sat Oct  7 19:09:43 2006
+@@ -777,13 +777,16 @@
+ 	$skipped++;
+ 	return 0;
+     }
+-    binmode($fh);
+-    # We cannot trust stdio here.
+-    if ( -s $newfn && -B _ ) {
+-	verbose ("WARNING: Binary file $new -- skipped\n");
+-	$skipped++;
+-	return 0;
+-    }
++#  Binary/Text test on filehandle makes no sense (and causes failure)
++#  on FreeBSD
++#
++#    binmode($fh);
++#    # We cannot trust stdio here.
++#    if ( -s $newfn && -B _ ) {
++#	verbose ("WARNING: Binary file $new -- skipped\n");
++#	$skipped++;
++#	return 0;
++#    }
+ 
+     my $pos = $fh->getpos;
+     while ( <$fh> ) {
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list