summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Wojtaszek <sekretarz@gentoo.org>2004-09-23 20:52:09 +0000
committerKarol Wojtaszek <sekretarz@gentoo.org>2004-09-23 20:52:09 +0000
commit91c3477ff4c464b9f203a618a2487c46749644f9 (patch)
tree5be64357fc5a18df0258dd1e1bd0ba9b47e1edc3 /net-dialup
parentAdded faad2 dependency, closes bug #59556 (diff)
downloadhistorical-91c3477ff4c464b9f203a618a2487c46749644f9.tar.gz
historical-91c3477ff4c464b9f203a618a2487c46749644f9.tar.bz2
historical-91c3477ff4c464b9f203a618a2487c46749644f9.zip
Fixed gcc-3.4 compile issues
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/freeradius/ChangeLog6
-rw-r--r--net-dialup/freeradius/Manifest5
-rw-r--r--net-dialup/freeradius/files/freeradius-1.0.1-gcc34.patch21
-rw-r--r--net-dialup/freeradius/freeradius-1.0.1.ebuild5
4 files changed, 33 insertions, 4 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/Manifest b/net-dialup/freeradius/Manifest
index 8bda00649394..e5ca3de77a79 100644
--- a/net-dialup/freeradius/Manifest
+++ b/net-dialup/freeradius/Manifest
@@ -1,11 +1,12 @@
-MD5 3f78a9d9cf490bef2af4c985db9f2c06 freeradius-1.0.1.ebuild 2690
+MD5 7f3f7e55cd3fff93eb107ba168d0c5fc freeradius-1.0.1.ebuild 2746
MD5 23496465f9b18a3b6afe0e42a7b9316a freeradius-0.9.3.ebuild 2789
MD5 2871cb73acc7d864a3e39ebf4d3a2181 freeradius-0.9.3-r1.ebuild 2799
-MD5 b84e33e71f707e470070cce4de70cc82 ChangeLog 2642
+MD5 c473b1f8f2d5402c9833b4f6404dab4e ChangeLog 2807
MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163
MD5 ee618f223ec67a53ad3a6cfd399ea8eb files/digest-freeradius-0.9.3-r1 69
MD5 c495367670218aeb76ff094055cd75e9 files/freeradius-0.9.3-rlm_smb.patch 690
MD5 ee618f223ec67a53ad3a6cfd399ea8eb files/digest-freeradius-0.9.3 69
MD5 9f0188ba482e825cf2a89584f8caa813 files/digest-freeradius-1.0.1 69
+MD5 3c2119ec1d8d807fe5ed14944747f0f8 files/freeradius-1.0.1-gcc34.patch 715
MD5 fc6693f3df5a0694610110287a28568a files/0.9/radius.conf 129
MD5 386aaf4470ecc4b4e0c43dec2bc02ba7 files/0.9/radius.init 807
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
}