diff options
author | 2010-12-16 00:27:35 +0100 | |
---|---|---|
committer | 2010-12-16 00:27:35 +0100 | |
commit | eb85de060a3efa6b5b691b3d95dab805ba02835f (patch) | |
tree | bfbd9981b87449581003e4d015bc653cac47e14a | |
parent | Apply Andrej Filipcic oafs.patch. (diff) | |
download | mhammill-eb85de060a3efa6b5b691b3d95dab805ba02835f.tar.gz mhammill-eb85de060a3efa6b5b691b3d95dab805ba02835f.tar.bz2 mhammill-eb85de060a3efa6b5b691b3d95dab805ba02835f.zip |
Add Andrej Filipcic's statfs patch.
Add the patch through:
cd files
wgetc -O statfs.patch http://bugs.gentoo.org/attachment.cgi?id=257178
and of course addition to ebuild. For more, see
http://bugs.gentoo.org/show_bug.cgi?id=342101
-rw-r--r-- | net-fs/openafs-kernel/Manifest | 3 | ||||
-rw-r--r-- | net-fs/openafs-kernel/files/statfs.patch | 14 | ||||
-rw-r--r-- | net-fs/openafs-kernel/openafs-kernel-1.4.12.1.ebuild | 1 |
3 files changed, 17 insertions, 1 deletions
diff --git a/net-fs/openafs-kernel/Manifest b/net-fs/openafs-kernel/Manifest index d5d5b94..032aed8 100644 --- a/net-fs/openafs-kernel/Manifest +++ b/net-fs/openafs-kernel/Manifest @@ -1,6 +1,7 @@ AUX oafs.patch 14546 RMD160 f44f86de3f1ba384131ab89c0f9c5a2c57bf5086 SHA1 bd581ce2a814a6b23585202bc14162fa05e0286f SHA256 925002469c4770baa30da8df80b57323bf533861304b820e7309c96a73f417f6 +AUX statfs.patch 554 RMD160 03d66e0df9d52998a9dbc69b26e9719f0bd83592 SHA1 221fd7ac275fdacfdd88aa58470db083d51f20db SHA256 3e59b5af877ef84a0708550216e74f98e6ad7b5ea6461438d93cb77a5d0e54e3 DIST openafs-1.4.12.1-patches-1.tar.bz2 12246 RMD160 4770a1957bf400c640426f17728cc64385478c51 SHA1 3d476099bd7357b30ccfebc067b61c7819df6bf0 SHA256 1d119bfe06e196cae18b2765b23066e9c96d8ef773f3a1a36616e70a546a33c8 DIST openafs-1.4.12.1-src.tar.bz2 11797335 RMD160 5c0d370a52faa2f7787b9c321cbfe733ae212be1 SHA1 b91a4d6213af1b31311b089a85e729b52980c18b SHA256 2335542deba8e1c1751d0586f88adf7fdc642305241c0ebb896f4d264dd6298e -EBUILD openafs-kernel-1.4.12.1.ebuild 1737 RMD160 8b376b1d990e947e0b582647040f214220d521eb SHA1 9d38bbbc64e860a1904b343d3b9a1e71865d7562 SHA256 205b7c2868568fc90f8735dcb26e953e973c2d27895acee0c9232343431add91 +EBUILD openafs-kernel-1.4.12.1.ebuild 1777 RMD160 eef28efa3236e74ee3d942175540f150aab2ee36 SHA1 10a85b86888916b4e80a5296d08f5d43d2d17da0 SHA256 d2a0733bfcc094b2d77f1566dea3bb82e03aa18f11182ef7bf337743b40aa2a2 MISC ChangeLog 20393 RMD160 151f8d815e511185c60aa0c3f32118094a586c4c SHA1 552c12b733c1baac3db862fa680aeb5b641e8a5f SHA256 e4a0a6317850c57d2382ce739f02b2cfcbb830efbf16a570d86338a65ca11703 MISC metadata.xml 350 RMD160 e22971d6336ba72dd8777fcfc29ad094f3d7d707 SHA1 0c88dffe968486c6e4f724f44b85ee52eb6ce63a SHA256 e517027bb98e3b25b32afec2ce53761f1ae82f29ffb8e03b488ddbe691d0644e diff --git a/net-fs/openafs-kernel/files/statfs.patch b/net-fs/openafs-kernel/files/statfs.patch new file mode 100644 index 0000000..a4fd09d --- /dev/null +++ b/net-fs/openafs-kernel/files/statfs.patch @@ -0,0 +1,14 @@ +--- a/src/cf/linux-test4.m4 2010-12-14 22:37:00.767282788 +0100 ++++ b/src/cf/linux-test4.m4 2010-12-14 22:42:55.174873233 +0100 +@@ -734,10 +734,7 @@ + AC_TRY_KBUILD( + [#include <linux/fs.h> + #include <linux/statfs.h>], +-[struct super_block _sb; +-struct dentry _dentry; +-struct kstatfs _kstatfs; +-(void)_sb.s_op->statfs(&_dentry, &_kstatfs);], ++[extern int simple_statfs(struct dentry *, struct kstatfs *);], + ac_cv_linux_statfs_takes_dentry=yes, + ac_cv_linux_statfs_takes_dentry=no)]) + AC_MSG_RESULT($ac_cv_linux_statfs_takes_dentry)]) diff --git a/net-fs/openafs-kernel/openafs-kernel-1.4.12.1.ebuild b/net-fs/openafs-kernel/openafs-kernel-1.4.12.1.ebuild index 5777ee6..4f460b9 100644 --- a/net-fs/openafs-kernel/openafs-kernel-1.4.12.1.ebuild +++ b/net-fs/openafs-kernel/openafs-kernel-1.4.12.1.ebuild @@ -36,6 +36,7 @@ src_prepare() { EPATCH_SUFFIX="patch" \ epatch "${WORKDIR}"/gentoo/patches patch -p1 < "${FILESDIR}"/oafs.patch + patch -p1 < "${FILESDIR}"/statfs.patch # packaging is f-ed up, so we can't run automake (i.e. eautoreconf) sed -i '/^a/s:^:e:' regen.sh |