diff options
author | Anton Berezin <tobez@FreeBSD.org> | 2001-11-18 22:54:13 +0000 |
---|---|---|
committer | Anton Berezin <tobez@FreeBSD.org> | 2001-11-18 22:54:13 +0000 |
commit | 53cb146de0326d04d69cb524f21b6ffa04541181 (patch) | |
tree | 1df3e3e77a4c20125f04e20c430306f69be08aaa /textproc/makepatch/files/patch-makepatch.PL | |
parent | Update to 0.8.7. (diff) |
Bug fix (Perl on FreeBSD does not support -T and -B tests on a
filehandle; do not use them).
PR: 31848
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=50200
Diffstat (limited to 'textproc/makepatch/files/patch-makepatch.PL')
-rw-r--r-- | textproc/makepatch/files/patch-makepatch.PL | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/textproc/makepatch/files/patch-makepatch.PL b/textproc/makepatch/files/patch-makepatch.PL new file mode 100644 index 000000000000..ee0bb07c45b4 --- /dev/null +++ b/textproc/makepatch/files/patch-makepatch.PL @@ -0,0 +1,22 @@ +--- 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++; |