summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-06-04 09:35:47 +0000
committerMike Frysinger <vapier@gentoo.org>2006-06-04 09:35:47 +0000
commitc4f7dff9cdba5d0ed8d69cf737a65093e0acd373 (patch)
tree2834e76f647980c3b3a99045f8d905dd1c450600 /app-admin/durep/files
parentold (diff)
downloadgentoo-2-c4f7dff9cdba5d0ed8d69cf737a65093e0acd373.tar.gz
gentoo-2-c4f7dff9cdba5d0ed8d69cf737a65093e0acd373.tar.bz2
gentoo-2-c4f7dff9cdba5d0ed8d69cf737a65093e0acd373.zip
Fix by Stephen Tallowitz for gigabyte output #108942.
(Portage version: 2.1_rc2-r3)
Diffstat (limited to 'app-admin/durep/files')
-rw-r--r--app-admin/durep/files/digest-durep-0.9-r21
-rw-r--r--app-admin/durep/files/durep-0.9-gigabyte.patch17
2 files changed, 18 insertions, 0 deletions
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;