From c4f7dff9cdba5d0ed8d69cf737a65093e0acd373 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 4 Jun 2006 09:35:47 +0000 Subject: Fix by Stephen Tallowitz for gigabyte output #108942. (Portage version: 2.1_rc2-r3) --- app-admin/durep/files/digest-durep-0.9-r2 | 1 + app-admin/durep/files/durep-0.9-gigabyte.patch | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 app-admin/durep/files/digest-durep-0.9-r2 create mode 100644 app-admin/durep/files/durep-0.9-gigabyte.patch (limited to 'app-admin/durep/files') diff --git a/app-admin/durep/files/digest-durep-0.9-r2 b/app-admin/durep/files/digest-durep-0.9-r2 new file mode 100644 index 000000000000..42331a33b325 --- /dev/null +++ b/app-admin/durep/files/digest-durep-0.9-r2 @@ -0,0 +1 @@ +MD5 fb6d09d48b02b150501f7e769087696f durep-0.9.tar.gz 13713 diff --git a/app-admin/durep/files/durep-0.9-gigabyte.patch b/app-admin/durep/files/durep-0.9-gigabyte.patch new file mode 100644 index 000000000000..315cb1c7c813 --- /dev/null +++ b/app-admin/durep/files/durep-0.9-gigabyte.patch @@ -0,0 +1,17 @@ +fix `durep -hs 1g` output + +Patch by Stephen Tallowitz + +http://bugs.gentoo.org/108942 + +--- durep ++++ durep +@@ -468,7 +468,7 @@ + elsif ($temp =~ m/^[mM]/) { + return $size * 1048576; + } +- elsif ($temp =~ m/^[mM]/) { ++ elsif ($temp =~ m/^[gG]/) { + return $size * 1048576 * 1024; + } + return $size; -- cgit v1.2.3-65-gdbad