aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorgreid <greid@FreeBSD.org>2001-05-21 09:41:57 +0800
committergreid <greid@FreeBSD.org>2001-05-21 09:41:57 +0800
commit63fe6dc59517bba1127839277ec99533e205f5a1 (patch)
tree7dd13342d05dd6b708b316d1629521db044a198d /misc
parent6a47ebfa3fab8cbaaededfac901fe91019258c29 (diff)
downloadfreebsd-ports-gnome-63fe6dc59517bba1127839277ec99533e205f5a1.tar.gz
freebsd-ports-gnome-63fe6dc59517bba1127839277ec99533e205f5a1.tar.zst
freebsd-ports-gnome-63fe6dc59517bba1127839277ec99533e205f5a1.zip
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')
-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 000000000000..b47a24418477
--- /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.