summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Phillips <rphillips@gentoo.org>2003-07-30 20:54:12 +0000
committerRyan Phillips <rphillips@gentoo.org>2003-07-30 20:54:12 +0000
commitf5f37f94157ef4dc9e3936b11739067fcf4a344f (patch)
tree55b130fa72ab003c893b5f54e4b6ee498e584e8b /net-fs/openafs
parentxinerama USE (diff)
downloadgentoo-2-f5f37f94157ef4dc9e3936b11739067fcf4a344f.tar.gz
gentoo-2-f5f37f94157ef4dc9e3936b11739067fcf4a344f.tar.bz2
gentoo-2-f5f37f94157ef4dc9e3936b11739067fcf4a344f.zip
Added Frederick Grim's patch
Diffstat (limited to 'net-fs/openafs')
-rw-r--r--net-fs/openafs/ChangeLog5
-rw-r--r--net-fs/openafs/files/openafs-1.2.8.patch48
-rw-r--r--net-fs/openafs/openafs-1.2.8.ebuild3
3 files changed, 54 insertions, 2 deletions
diff --git a/net-fs/openafs/ChangeLog b/net-fs/openafs/ChangeLog
index f73f3da658e1..4bb6b54c80a7 100644
--- a/net-fs/openafs/ChangeLog
+++ b/net-fs/openafs/ChangeLog
@@ -1,6 +1,6 @@
# ChangeLog for net-fs/openafs
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/ChangeLog,v 1.20 2003/06/12 21:21:55 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/ChangeLog,v 1.21 2003/07/30 20:54:12 rphillips Exp $
12 Jun 2003; <msterret@gentoo.org> openafs-1.2.8.ebuild,
openafs-1.3.2-r1.ebuild, openafs-1.3.2.ebuild:
@@ -22,6 +22,9 @@
*openafs-1.2.8 (31 Jan 2003)
+ 30 Jul 2003; Ryan Phillips <rphillips@gentoo.org> openafs-1.2.8.ebuild :
+ Added Frederick Grim's patch
+
31 Jan 2003; Ryan Phillips <rphillips@gentoo.org> openafs-1.2.8.ebuild :
new version
diff --git a/net-fs/openafs/files/openafs-1.2.8.patch b/net-fs/openafs/files/openafs-1.2.8.patch
new file mode 100644
index 000000000000..b90696cabcaa
--- /dev/null
+++ b/net-fs/openafs/files/openafs-1.2.8.patch
@@ -0,0 +1,48 @@
+diff -urN openafs-1.2.8/src/pam/Makefile.in openafs-1.2.8-patched/src/pam/Makefile.in
+--- openafs-1.2.8/src/pam/Makefile.in 2002-09-10 01:03:42.000000000 -0400
++++ openafs-1.2.8-patched/src/pam/Makefile.in 2003-07-30 11:57:49.000000000 -0400
+@@ -44,7 +44,7 @@
+ afs_pam_msg.o afs_message.o AFS_component_version_number.o
+ OBJS = $(SHOBJS) test_pam.o
+ INCLUDES=-I${TOP_SRCDIR}/config -I${TOP_INCDIR} \
+- -I/usr/include -I/usr/include/sys
++ -I/usr/include
+ CFLAGS = ${DEBUG} ${INCLUDES} ${PAM_CFLAGS}
+
+ all: test_pam ${TOP_LIBDIR}/pam_afs.so.1 ${TOP_LIBDIR}/pam_afs.krb.so.1
+diff -urN openafs-1.2.8/src/ptserver/ptserver.h openafs-1.2.8-patched/src/ptserver/ptserver.h
+--- openafs-1.2.8/src/ptserver/ptserver.h 2001-03-27 03:49:41.000000000 -0500
++++ openafs-1.2.8-patched/src/ptserver/ptserver.h 2003-07-30 11:57:20.000000000 -0400
+@@ -28,7 +28,7 @@
+ #define ANONYMOUSID 32766
+
+ #define PRDBVERSION 0
+-
++#include <errno.h>
+ struct prheader {
+ afs_int32 version; /* database version number */
+ afs_int32 headerSize; /* bytes in header (almost version#) */
+diff -urN openafs-1.2.8/src/sys/rmtsysd.c openafs-1.2.8-patched/src/sys/rmtsysd.c
+--- openafs-1.2.8/src/sys/rmtsysd.c 2001-07-12 15:59:17.000000000 -0400
++++ openafs-1.2.8-patched/src/sys/rmtsysd.c 2003-07-30 11:56:32.000000000 -0400
+@@ -31,7 +31,7 @@
+ #include <stdio.h>
+ #include <rx/xdr.h>
+ #include "rmtsys.h"
+-
++#include <errno.h>
+ extern int errno; /* We ship this over the net if needed */
+ extern RMTSYS_ExecuteRequest();
+
+diff -urN openafs-1.2.8/src/sys/rmtsyss.c openafs-1.2.8-patched/src/sys/rmtsyss.c
+--- openafs-1.2.8/src/sys/rmtsyss.c 2001-08-07 20:04:10.000000000 -0400
++++ openafs-1.2.8-patched/src/sys/rmtsyss.c 2003-07-30 11:56:50.000000000 -0400
+@@ -32,7 +32,7 @@
+ #endif
+ /*#include <afs/cellconfig.h>*/
+ #include "rmtsys.h"
+-
++#include <errno.h>
+ extern int errno; /* We ship this over the net if needed */
+ extern RMTSYS_ExecuteRequest();
+
diff --git a/net-fs/openafs/openafs-1.2.8.ebuild b/net-fs/openafs/openafs-1.2.8.ebuild
index 65f54ff12110..5f03720facb9 100644
--- a/net-fs/openafs/openafs-1.2.8.ebuild
+++ b/net-fs/openafs/openafs-1.2.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 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.8.ebuild,v 1.6 2003/06/12 21:21:55 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/openafs/openafs-1.2.8.ebuild,v 1.7 2003/07/30 20:54:12 rphillips Exp $
S=${WORKDIR}/${P}
@@ -38,6 +38,7 @@ src_unpack() {
src_compile() {
epatch ${FILESDIR}/openafs-1.2.6.patch
+ epatch ${FILESDIR}/openafs-1.2.8.patch
./configure \
--with-afs-sysname=i386_linux24 \