summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2002-08-29 21:27:15 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2002-08-29 21:27:15 +0000
commitd857e7e85572e61893a94e945aa1977927b4b67b (patch)
tree11d6966a3c66866439da4c0bbf1976e41bf1d1e9 /net-nds
parentchanged emake to make (diff)
downloadhistorical-d857e7e85572e61893a94e945aa1977927b4b67b.tar.gz
historical-d857e7e85572e61893a94e945aa1977927b4b67b.tar.bz2
historical-d857e7e85572e61893a94e945aa1977927b4b67b.zip
Fixes #7206.
Diffstat (limited to 'net-nds')
-rw-r--r--net-nds/ypserv/ChangeLog5
-rw-r--r--net-nds/ypserv/files/1.3.12/volatile-fix-gcc-3.2.diff12
-rw-r--r--net-nds/ypserv/ypserv-1.3.12.ebuild3
3 files changed, 18 insertions, 2 deletions
diff --git a/net-nds/ypserv/ChangeLog b/net-nds/ypserv/ChangeLog
index f38a7c9ce71d..a0b01a9af6b9 100644
--- a/net-nds/ypserv/ChangeLog
+++ b/net-nds/ypserv/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for net-nds/ypserv
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ChangeLog,v 1.2 2002/04/14 03:28:33 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ChangeLog,v 1.3 2002/08/29 21:27:15 karltk Exp $
*ypserv-1.3.12 (13 Apr 2002)
+ 29 Aug 2002; Karl Trygve Kalleberg <karltk@gentoo.org> ypserv-1.3.12.ebuild files/1.3.12/volatile-fix-gcc-3.2.diff :
+ Added patch to make it compile with gcc 3.2.
+
13 Apr 2002; Seemant Kulleen <seemant@gentoo.org> ypserv-1.3.12.ebuild :
Version bump, and sandbox violation fix as reported in bug #1648 by
diff --git a/net-nds/ypserv/files/1.3.12/volatile-fix-gcc-3.2.diff b/net-nds/ypserv/files/1.3.12/volatile-fix-gcc-3.2.diff
new file mode 100644
index 000000000000..3674075fc64f
--- /dev/null
+++ b/net-nds/ypserv/files/1.3.12/volatile-fix-gcc-3.2.diff
@@ -0,0 +1,12 @@
+diff -Naur ypserv-1.3.12.orig/ypxfrd.c ypserv-1.3.12/ypxfrd.c
+--- ypserv-1.3.12.orig/ypxfrd.c Tue Jun 1 21:30:28 1999
++++ ypserv-1.3.12/ypxfrd.c Thu Aug 29 23:28:36 2002
+@@ -78,7 +78,7 @@
+ extern void ypxfrd_freebsd_prog_1(struct svc_req *, SVCXPRT *);
+
+ int forked = 0;
+-int children = 0;
++volatile int children = 0;
+ int dns_flag = 0;
+ int debug_flag = 0;
+ int xfr_check_port = 1;
diff --git a/net-nds/ypserv/ypserv-1.3.12.ebuild b/net-nds/ypserv/ypserv-1.3.12.ebuild
index 3232674ab943..c0cbd3d920d9 100644
--- a/net-nds/ypserv/ypserv-1.3.12.ebuild
+++ b/net-nds/ypserv/ypserv-1.3.12.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ypserv-1.3.12.ebuild,v 1.7 2002/08/16 03:55:04 murphy Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nds/ypserv/ypserv-1.3.12.ebuild,v 1.8 2002/08/29 21:27:15 karltk Exp $
S=${WORKDIR}/${P}
DESCRIPTION="NIS SERVER"
@@ -21,6 +21,7 @@ src_unpack() {
unpack ${A}
cd ${S}
cp ${FILESDIR}/defs.sed ypmake
+ patch < ${FILESDIR}/${PV}/volatile-fix-gcc-3.2.diff || die
}