summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-dialup/freeradius/ChangeLog6
-rw-r--r--net-dialup/freeradius/files/freeradius-1.0.1-gcc34.patch21
-rw-r--r--net-dialup/freeradius/freeradius-1.0.1.ebuild5
3 files changed, 30 insertions, 2 deletions
diff --git a/net-dialup/freeradius/ChangeLog b/net-dialup/freeradius/ChangeLog
index 59d1a421017f..4fe3fb557c0a 100644
--- a/net-dialup/freeradius/ChangeLog
+++ b/net-dialup/freeradius/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-dialup/freeradius
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/ChangeLog,v 1.20 2004/09/20 18:00:24 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/ChangeLog,v 1.21 2004/09/23 20:52:09 sekretarz Exp $
+
+ 23 Sep 2004; Karol Wojtaszek <sekretarz@gentoo.org>
+ +files/freeradius-1.0.1-gcc34.patch, freeradius-1.0.1.ebuild:
+ Fixed gcc-3.4 compile issues. Bug #64836
20 Sep 2004; Heinrich Wendel <lanius@gentoo.org> freeradius-1.0.1.ebuild:
mark stable on x86
diff --git a/net-dialup/freeradius/files/freeradius-1.0.1-gcc34.patch b/net-dialup/freeradius/files/freeradius-1.0.1-gcc34.patch
new file mode 100644
index 000000000000..1381411e638a
--- /dev/null
+++ b/net-dialup/freeradius/files/freeradius-1.0.1-gcc34.patch
@@ -0,0 +1,21 @@
+diff -urN src/modules/rlm_x99_token/x99_rlm.c src.mod/modules/rlm_x99_token/x99_rlm.c
+--- src/modules/rlm_x99_token/x99_rlm.c 2004-02-27 04:04:37.000000000 +0900
++++ src.mod/modules/rlm_x99_token/x99_rlm.c 2004-09-22 03:32:09.292337984 +0900
+@@ -544,8 +544,6 @@
+ "auth: bad state for [%s]: expired", username);
+ return RLM_MODULE_REJECT;
+ }
+-good_state:
+- /* State is good! */
+
+ } else {
+ /* This should only happen if the authorize code didn't run. */
+@@ -556,6 +554,8 @@
+ }
+ } /* if (!fast_sync) */
+
++ /* State is good! */
++good_state:
+ /* Get the time of the last authentication. */
+ if (x99_get_last_auth(inst->syncdir, username, &last_auth) != 0) {
+ x99_log(X99_LOG_ERR,
diff --git a/net-dialup/freeradius/freeradius-1.0.1.ebuild b/net-dialup/freeradius/freeradius-1.0.1.ebuild
index b323c17f88d9..68b942b6d716 100644
--- a/net-dialup/freeradius/freeradius-1.0.1.ebuild
+++ b/net-dialup/freeradius/freeradius-1.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-1.0.1.ebuild,v 1.2 2004/09/20 18:00:24 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-1.0.1.ebuild,v 1.3 2004/09/23 20:52:09 sekretarz Exp $
inherit eutils
@@ -30,6 +30,9 @@ src_unpack() {
unpack ${P}.tar.gz
cd ${S}
+ # gcc-3.4 fix
+ epatch ${FILESDIR}/${P}-gcc34.patch
+
export WANT_AUTOCONF=2.1
autoconf
}