summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-21 07:11:16 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-21 07:11:16 +0000
commit16190fefdfd477e7f0e2d06bd47576479bd0c30c (patch)
tree0ac18bcf5838758ffc23e09db2d6d45f34141da0 /sys-apps
parentmove mythfrontend to mythtv (diff)
downloadgentoo-2-16190fefdfd477e7f0e2d06bd47576479bd0c30c.tar.gz
gentoo-2-16190fefdfd477e7f0e2d06bd47576479bd0c30c.tar.bz2
gentoo-2-16190fefdfd477e7f0e2d06bd47576479bd0c30c.zip
make st_blocks desc less vague in stat(2) #93292
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/man-pages/files/man-pages-2.02-updates.patch11
-rw-r--r--sys-apps/man-pages/man-pages-2.02.ebuild8
2 files changed, 18 insertions, 1 deletions
diff --git a/sys-apps/man-pages/files/man-pages-2.02-updates.patch b/sys-apps/man-pages/files/man-pages-2.02-updates.patch
new file mode 100644
index 000000000000..73af2f224a73
--- /dev/null
+++ b/sys-apps/man-pages/files/man-pages-2.02-updates.patch
@@ -0,0 +1,11 @@
+Be more explicit about what st_blocks actually represents.
+
+http://bugs.gentoo.org/93292
+
+--- man2/stat.2
++++ man2/stat.2
+@@ -113,3 +113,3 @@
+ .I st_blocks
+-gives the size of the file in 512-byte blocks.
++gives the amount of disk space that the file occupies in 512-byte blocks.
+ (This may be smaller than
diff --git a/sys-apps/man-pages/man-pages-2.02.ebuild b/sys-apps/man-pages/man-pages-2.02.ebuild
index 72bf8731e9ca..e8f5d04cb411 100644
--- a/sys-apps/man-pages/man-pages-2.02.ebuild
+++ b/sys-apps/man-pages/man-pages-2.02.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/man-pages/man-pages-2.02.ebuild,v 1.1 2005/04/15 03:01:48 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/man-pages/man-pages-2.02.ebuild,v 1.2 2005/05/21 07:11:16 vapier Exp $
inherit eutils
@@ -15,6 +15,12 @@ IUSE=""
RDEPEND="sys-apps/man"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-updates.patch
+}
+
src_compile() { :; }
src_install() {