summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Phillips <rphillips@gentoo.org>2004-02-20 02:44:17 +0000
committerRyan Phillips <rphillips@gentoo.org>2004-02-20 02:44:17 +0000
commitc8672c489c6d7c0d2bd0768fc757e4088bd73a92 (patch)
treee8e48cca09e84c40681ab7104ad603b699ef9a46 /net-fs/openafs
parentversion bump. Now uses binutils 2.14.90.0.8 and gcc-3.3.3. Lots of syntax/log... (diff)
downloadgentoo-2-c8672c489c6d7c0d2bd0768fc757e4088bd73a92.tar.gz
gentoo-2-c8672c489c6d7c0d2bd0768fc757e4088bd73a92.tar.bz2
gentoo-2-c8672c489c6d7c0d2bd0768fc757e4088bd73a92.zip
added Jacob Joseph's old_gid_t patch. #10952
Diffstat (limited to 'net-fs/openafs')
-rw-r--r--net-fs/openafs/ChangeLog6
-rw-r--r--net-fs/openafs/files/openafs-typechange.patch26
-rw-r--r--net-fs/openafs/openafs-1.2.10-r2.ebuild5
3 files changed, 35 insertions, 2 deletions
diff --git a/net-fs/openafs/ChangeLog b/net-fs/openafs/ChangeLog
index 3b5041441342..d282e54e0ba7 100644
--- a/net-fs/openafs/ChangeLog
+++ b/net-fs/openafs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-fs/openafs
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/ChangeLog,v 1.37 2004/02/18 05:45:35 rphillips Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/ChangeLog,v 1.38 2004/02/20 02:44:16 rphillips Exp $
+
+ 19 Feb 2004; Ryan Phillips <rphillips@gentoo.org> openafs-1.2.10-r2.ebuild,
+ files/openafs-typechange.patch:
+ Added Jacob Joseph's old_gid_t -> u16 patch from bug #10952
*openafs-1.2.11 (17 Feb 2004)
diff --git a/net-fs/openafs/files/openafs-typechange.patch b/net-fs/openafs/files/openafs-typechange.patch
new file mode 100644
index 000000000000..671518e18fbc
--- /dev/null
+++ b/net-fs/openafs/files/openafs-typechange.patch
@@ -0,0 +1,26 @@
+diff -Naur openafs-1.2.10-old/src/afs/LINUX/osi_groups.c openafs-1.2.10/src/afs/LINUX/osi_groups.c
+--- openafs-1.2.10-old/src/afs/LINUX/osi_groups.c 2003-05-22 00:08:03.000000000 -0400
++++ openafs-1.2.10/src/afs/LINUX/osi_groups.c 2004-02-19 17:24:45.000000000 -0500
+@@ -178,8 +178,8 @@
+
+ #if defined(AFS_SPARC64_LINUX20_ENV) || defined(AFS_AMD64_LINUX20_ENV)
+ /* Intercept the uid16 system call as used by 32bit programs. */
+-extern long (*sys32_setgroupsp)(int gidsetsize, old_gid_t *grouplist);
+-asmlinkage long afs32_xsetgroups(int gidsetsize, old_gid_t *grouplist)
++extern long (*sys32_setgroupsp)(int gidsetsize, u16 *grouplist);
++asmlinkage long afs32_xsetgroups(int gidsetsize, u16 *grouplist)
+ {
+ long code;
+ cred_t *cr = crref();
+diff -Naur openafs-1.2.10-old/src/afs/LINUX/osi_module.c openafs-1.2.10/src/afs/LINUX/osi_module.c
+--- openafs-1.2.10-old/src/afs/LINUX/osi_module.c 2003-07-28 22:01:02.000000000 -0400
++++ openafs-1.2.10/src/afs/LINUX/osi_module.c 2004-02-19 17:23:21.000000000 -0500
+@@ -88,7 +88,7 @@
+ #endif
+
+ static void *ia32_ni_syscall = 0;
+-asmlinkage long (*sys32_setgroupsp)(int gidsetsize, old_gid_t *grouplist);
++asmlinkage long (*sys32_setgroupsp)(int gidsetsize, u16 *grouplist);
+ #if defined(__NR_ia32_setgroups32)
+ asmlinkage long (*sys32_setgroups32p)(int gidsetsize, gid_t *grouplist);
+ #endif /* __NR_ia32_setgroups32 */
diff --git a/net-fs/openafs/openafs-1.2.10-r2.ebuild b/net-fs/openafs/openafs-1.2.10-r2.ebuild
index 7f68cd47ded0..901f72544645 100644
--- a/net-fs/openafs/openafs-1.2.10-r2.ebuild
+++ b/net-fs/openafs/openafs-1.2.10-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/openafs-1.2.10-r2.ebuild,v 1.3 2004/01/21 17:44:50 rphillips Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/openafs-1.2.10-r2.ebuild,v 1.4 2004/02/20 02:44:17 rphillips Exp $
inherit check-kernel fixheadtails flag-o-matic
@@ -37,6 +37,9 @@ src_unpack() {
ht_fix_file "configure"
ht_fix_file "configure-libafs"
epatch ${FILESDIR}/openafs-pinstall-execve-1.2.10.patch
+ #added for bug #10952
+ #tested on x86, alpha, amd64 (rphillips)
+ epatch ${FILESDIR}/openafs-typechange.patch
}
src_compile() {