ports/net-p2p/torrentsniff/files/patch-torrentsniff
Mathieu Arnold 7ae7b018cc With the power of USES=dos2unix, get rid of most patches and files
with CRLF.

While there, run make makepatch, rename patches to use the new scheme,
and various fixes.

With hat:	portmgr
Sponsored by:	Absolight
2016-06-20 16:23:28 +00:00

11 lines
338 B
Text

--- torrentsniff.orig 2016-06-20 14:38:26 UTC
+++ torrentsniff
@@ -115,7 +115,7 @@ sub process_file {
my($file, $report_file_info, $report_tracker_info) = @_;
print "$file\n";
local *TOR;
- if( not open(TOR, "<", $file) ) {
+ if( not open(TOR, "< $file") ) {
print STDERR "Unable to read $file because of $!\n";
return 0;
}