diff options
author | Alin Năstac <mrness@gentoo.org> | 2008-07-04 18:38:08 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2008-07-04 18:38:08 +0000 |
commit | aa4e548d93660f0e759c6f50b4cf1d8b15ea3aa7 (patch) | |
tree | 2ec119ccb95e1de532d328a26d89376b112e26b9 | |
parent | stable x86, security bug 219708 (diff) | |
download | gentoo-2-aa4e548d93660f0e759c6f50b4cf1d8b15ea3aa7.tar.gz gentoo-2-aa4e548d93660f0e759c6f50b4cf1d8b15ea3aa7.tar.bz2 gentoo-2-aa4e548d93660f0e759c6f50b4cf1d8b15ea3aa7.zip |
Fix broken build when threads USE flag is disabled (#230639).
(Portage version: 2.1.4.4)
-rw-r--r-- | net-dialup/freeradius/ChangeLog | 6 | ||||
-rw-r--r-- | net-dialup/freeradius/files/freeradius-2.0.5-threads.patch | 12 | ||||
-rw-r--r-- | net-dialup/freeradius/freeradius-2.0.5.ebuild | 3 |
3 files changed, 19 insertions, 2 deletions
diff --git a/net-dialup/freeradius/ChangeLog b/net-dialup/freeradius/ChangeLog index e0b668d1a2bc..48e54fc296b1 100644 --- a/net-dialup/freeradius/ChangeLog +++ b/net-dialup/freeradius/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-dialup/freeradius # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/ChangeLog,v 1.80 2008/07/01 19:56:51 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/ChangeLog,v 1.81 2008/07/04 18:38:07 mrness Exp $ + + 04 Jul 2008; Alin Năstac <mrness@gentoo.org> + +files/freeradius-2.0.5-threads.patch, freeradius-2.0.5.ebuild: + Fix broken build when threads USE flag is disabled (#230639). *freeradius-2.0.5 (01 Jul 2008) diff --git a/net-dialup/freeradius/files/freeradius-2.0.5-threads.patch b/net-dialup/freeradius/files/freeradius-2.0.5-threads.patch new file mode 100644 index 000000000000..35ceb39626eb --- /dev/null +++ b/net-dialup/freeradius/files/freeradius-2.0.5-threads.patch @@ -0,0 +1,12 @@ +diff -Nru freeradius-server-2.0.5.orig/src/main/event.c freeradius-server-2.0.5/src/main/event.c +--- freeradius-server-2.0.5.orig/src/main/event.c 2008-06-06 15:10:27.000000000 +0200 ++++ freeradius-server-2.0.5/src/main/event.c 2008-07-04 20:31:18.000000000 +0200 +@@ -982,7 +982,7 @@ + break; + } + +-#if defined(HAVE_PTHREAD_H) || defined(WITH_PROXY) ++#if defined(HAVE_PTHREAD_H) + /* + * A child thread MAY still be running on the + * request. Ask the thread to stop working on diff --git a/net-dialup/freeradius/freeradius-2.0.5.ebuild b/net-dialup/freeradius/freeradius-2.0.5.ebuild index ad6931932f51..b49edfa38228 100644 --- a/net-dialup/freeradius/freeradius-2.0.5.ebuild +++ b/net-dialup/freeradius/freeradius-2.0.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-2.0.5.ebuild,v 1.1 2008/07/01 19:56:51 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/freeradius/freeradius-2.0.5.ebuild,v 1.2 2008/07/04 18:38:07 mrness Exp $ WANT_AUTOMAKE="none" @@ -49,6 +49,7 @@ src_unpack() { epatch "${FILESDIR}/${P}-versionless-la-files.patch" epatch "${FILESDIR}/${P}-ssl.patch" + epatch "${FILESDIR}/${P}-threads.patch" cd "${S}" |