# ChangeLog for www-servers/aolserver
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/aolserver/ChangeLog,v 1.11 2006/08/17 04:20:24 wormo Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/aolserver/ChangeLog,v 1.12 2006/12/27 04:19:48 dirtyepic Exp $
+
+ 27 Dec 2006; Ryan Hill <dirtyepic@gentoo.org>
+ -files/4.0.9/Makefile.global, -files/4.0.9/aolserver.init,
+ -files/4.0.9/aolserver-4.0.9-nptl.patch, -files/4.0.9/config.tcl,
+ +files/4.0.10/aolserver-4.0.10-gcc41.patch, aolserver-4.0.10.ebuild:
+ Fix building with GCC 4. Thanks to eastx7g02 sneakermail com, bug #151049.
16 Aug 2006; Stephanie Lockwood-Childs <wormo@gentoo.org>
aolserver-4.0.10.ebuild:
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/aolserver/aolserver-4.0.10.ebuild,v 1.6 2006/08/17 04:20:24 wormo Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-servers/aolserver/aolserver-4.0.10.ebuild,v 1.7 2006/12/27 04:19:48 dirtyepic Exp $
inherit eutils
find ${S} -type d -name CVS -prune | xargs rm -rf
if use nptl; then
- epatch ${FILESDIR}/${PV}/aolserver-${PV}-nptl.patch
+ epatch "${FILESDIR}"/${PV}/aolserver-${PV}-nptl.patch
fi
+
+ epatch "${FILESDIR}"/${PV}/aolserver-${PV}-gcc41.patch
}
src_compile() {
--- /dev/null
+diff -Naur aolserver-4.0.10-orig/nsd/conn.c aolserver-4.0.10/nsd/conn.c
+--- aolserver-4.0.10-orig/nsd/conn.c 2006-12-26 21:54:45.000000000 -0600
++++ aolserver-4.0.10/nsd/conn.c 2006-12-26 21:56:31.000000000 -0600
+@@ -840,7 +840,7 @@
+ }
+
+ result = Tcl_GetObjResult(interp);
+- connPtr = (Conn *) conn = itPtr->conn;
++ connPtr = conn = (Conn *) itPtr->conn;
+
+ /*
+ * Only the "isconnected" option operates without a conn.