summaryrefslogtreecommitdiffstats
path: root/misc/sloccount
diff options
context:
space:
mode:
authorgreid <greid@FreeBSD.org>2001-05-21 01:41:57 +0000
committergreid <greid@FreeBSD.org>2001-05-21 01:41:57 +0000
commit63fe6dc59517bba1127839277ec99533e205f5a1 (patch)
tree7dd13342d05dd6b708b316d1629521db044a198d /misc/sloccount
parent6a47ebfa3fab8cbaaededfac901fe91019258c29 (diff)
downloadFreeBSD-ports-63fe6dc59517bba1127839277ec99533e205f5a1.zip
FreeBSD-ports-63fe6dc59517bba1127839277ec99533e205f5a1.tar.gz
Use 'md5 -q' instead of the non-existant 'md5sum' (I presume this is a
Linux-ism and as such don't see how this port could ever work). Submitted by: Peter J Jones <pjones@pmade.org>
Diffstat (limited to 'misc/sloccount')
-rw-r--r--misc/sloccount/files/patch-break_filelist11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/sloccount/files/patch-break_filelist b/misc/sloccount/files/patch-break_filelist
new file mode 100644
index 0000000..b47a244
--- /dev/null
+++ b/misc/sloccount/files/patch-break_filelist
@@ -0,0 +1,11 @@
+--- break_filelist.orig Mon May 21 02:34:00 2001
++++ break_filelist Mon May 21 02:34:13 2001
+@@ -460,7 +460,7 @@
+ return $cached_digest; # We did, so here's what it was.
+ }
+
+- my $results = `md5sum "$filename"`;
++ my $results = `md5 -q "$filename"`;
+ $results =~ s/^\s*//; # Not needed for GNU Textutils.
+ $results =~ s/[^a-fA-F0-9].*//; # Strip away end.
+ $cached_digest = $results; # Store in cache.
OpenPOWER on IntegriCloud