diff options
author | 2014-06-08 13:57:02 +0000 | |
---|---|---|
committer | 2014-06-08 13:57:02 +0000 | |
commit | 273f4d15751f5c44e260ddeb4a87caa7b036e27a (patch) | |
tree | 3193dee9b37adb9e9da77ca7a7aaa8e72a15029c /eclass | |
parent | Remove vulnerable version wrt bug #508984 (diff) | |
download | historical-273f4d15751f5c44e260ddeb4a87caa7b036e27a.tar.gz historical-273f4d15751f5c44e260ddeb4a87caa7b036e27a.tar.bz2 historical-273f4d15751f5c44e260ddeb4a87caa7b036e27a.zip |
Work around lack of arch defines in swig, bug #509792.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ChangeLog | 5 | ||||
-rw-r--r-- | eclass/multilib-build.eclass | 10 |
2 files changed, 13 insertions, 2 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 1ff17afc1b53..5be846970a8b 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1282 2014/06/07 10:28:16 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1283 2014/06/08 13:57:02 mgorny Exp $ + + 08 Jun 2014; Michał Górny <mgorny@gentoo.org> multilib-build.eclass: + Work around lack of arch defines in swig, bug #509792. 07 Jun 2014; Ulrich Müller <ulm@gentoo.org> elisp.eclass: Increase minimum Emacs version to 23, versions 21 and 22 have been removed. diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass index 6b4b468d02ca..65f79a5f1881 100644 --- a/eclass/multilib-build.eclass +++ b/eclass/multilib-build.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.55 2014/05/28 18:53:20 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.56 2014/06/08 13:57:02 mgorny Exp $ # @ECLASS: multilib-build.eclass # @MAINTAINER: @@ -476,6 +476,8 @@ multilib_prepare_wrappers() { # else # error "abi_ppc_32 not supported by the package." # endif +#elif defined(SWIG) /* https://sourceforge.net/p/swig/bugs/799/ */ +# error "Native ABI not supported by the package." #else # error "No ABI matched, please report a bug to bugs.gentoo.org" #endif @@ -502,6 +504,12 @@ _EOF_ sed -e "/abi_x86_32 /s&error.*&include <${CHOST}${f}>&" \ -i "${wrapper}" || die fi + + # Needed for swig. + if multilib_is_native_abi; then + sed -e "/Native ABI/s&error.*&include <${CHOST}${f}>&" \ + -i "${wrapper}" || die + fi fi done fi |