summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-02-18 11:38:28 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-02-18 11:38:28 +0000
commit0664e71ad7f0ffeaf8b1989dafc36cb892400f9e (patch)
tree10c0d76e821f9e404f48d4f2e8c25de7fe052c1d /sci-misc
parentVersion bump (diff)
downloadgentoo-2-0664e71ad7f0ffeaf8b1989dafc36cb892400f9e.tar.gz
gentoo-2-0664e71ad7f0ffeaf8b1989dafc36cb892400f9e.tar.bz2
gentoo-2-0664e71ad7f0ffeaf8b1989dafc36cb892400f9e.zip
Fix wrong functions usage. Per bug #248769. Thanks to Martin von Gagern for the patch.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/boinc/ChangeLog6
-rw-r--r--sci-misc/boinc/boinc-6.4.5-r1.ebuild11
2 files changed, 14 insertions, 3 deletions
diff --git a/sci-misc/boinc/ChangeLog b/sci-misc/boinc/ChangeLog
index 738406cd6e61..9eed6a3bcf91 100644
--- a/sci-misc/boinc/ChangeLog
+++ b/sci-misc/boinc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-misc/boinc
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.54 2009/02/17 16:37:53 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.55 2009/02/18 11:38:28 scarabeus Exp $
+
+ 18 Feb 2009; Tomas Chvatal <scarabeus@gentoo.org> boinc-6.4.5-r1.ebuild:
+ Fix wrong functions usage. Per bug #248769. Thanks to Martin von Gagern
+ for the patch.
17 Feb 2009; Tomas Chvatal <scarabeus@gentoo.org>
files/6.4.5-RSA_security.patch:
diff --git a/sci-misc/boinc/boinc-6.4.5-r1.ebuild b/sci-misc/boinc/boinc-6.4.5-r1.ebuild
index 2bb484f141c8..da093624c9e9 100644
--- a/sci-misc/boinc/boinc-6.4.5-r1.ebuild
+++ b/sci-misc/boinc/boinc-6.4.5-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/boinc-6.4.5-r1.ebuild,v 1.1 2009/02/16 19:48:25 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/boinc-6.4.5-r1.ebuild,v 1.2 2009/02/18 11:38:28 scarabeus Exp $
#
# Don't forget to keep things in sync with binary boinc package!
@@ -20,7 +20,7 @@ KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
IUSE="X cuda server"
RDEPEND="
- !sci-misc/boinc
+ !sci-misc/boinc-bin
>=app-misc/ca-certificates-20080809
dev-libs/openssl
net-misc/curl
@@ -76,6 +76,13 @@ src_configure() {
# nonstandard enable
use server || config="--disable-server"
+ # Bug #248769: don't use strlcat and friends from kerberos or similar
+ local func
+ for func in strlcat strlcpy; do
+ eval "export ac_cv_func_${func}=no"
+ append-cppflags -D${func}=boinc_${func}
+ done
+
# configure
econf \
--disable-dependency-tracking \