diff options
author | Keri Harris <keri@gentoo.org> | 2010-04-10 00:10:30 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2010-04-10 00:10:30 +0000 |
commit | 1073afdb85569301f2e96d3b017034130166dba7 (patch) | |
tree | 2a6fd62e9a2ebff1578c0a4b46b6d8a1c06c2c30 /dev-lang/yap | |
parent | Don't force the boost slot to 0 (bug #311635) (diff) | |
download | gentoo-2-1073afdb85569301f2e96d3b017034130166dba7.tar.gz gentoo-2-1073afdb85569301f2e96d3b017034130166dba7.tar.bz2 gentoo-2-1073afdb85569301f2e96d3b017034130166dba7.zip |
Support -O0 in CFLAGS when compiling install_clause()
(Portage version: 2.1.7.17/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/yap')
-rw-r--r-- | dev-lang/yap/ChangeLog | 6 | ||||
-rw-r--r-- | dev-lang/yap/files/yap-6.0.3-install-clause.patch | 13 | ||||
-rw-r--r-- | dev-lang/yap/yap-6.0.3.ebuild | 3 |
3 files changed, 20 insertions, 2 deletions
diff --git a/dev-lang/yap/ChangeLog b/dev-lang/yap/ChangeLog index f33845846bf2..49aca1b0c3ae 100644 --- a/dev-lang/yap/ChangeLog +++ b/dev-lang/yap/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-lang/yap # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/ChangeLog,v 1.34 2010/03/20 21:40:28 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/ChangeLog,v 1.35 2010/04/10 00:10:30 keri Exp $ + + 10 Apr 2010; <keri@gentoo.org> yap-6.0.3.ebuild, + +files/yap-6.0.3-install-clause.patch: + Support -O0 in CFLAGS when compiling install_clause() *yap-6.0.3 (20 Mar 2010) diff --git a/dev-lang/yap/files/yap-6.0.3-install-clause.patch b/dev-lang/yap/files/yap-6.0.3-install-clause.patch new file mode 100644 index 000000000000..2e2c9e8ce5e0 --- /dev/null +++ b/dev-lang/yap/files/yap-6.0.3-install-clause.patch @@ -0,0 +1,13 @@ +--- yap-6.0.3.orig/C/index.c 2010-03-16 03:45:20.000000000 +1300 ++++ yap-6.0.3/C/index.c 2010-04-10 12:02:06.000000000 +1200 +@@ -3475,10 +3475,6 @@ + } else if (sp->pos) { + UInt argno = -sp->pos; + skip_to_arg(cls, ap, argno, FALSE); +- if (ArityOfFunctor((Functor)RepAppl(sp[-1].val)) +- != argno+1) { +- last_arg = FALSE; +- } + } + } + sp++; diff --git a/dev-lang/yap/yap-6.0.3.ebuild b/dev-lang/yap/yap-6.0.3.ebuild index ae6c97ed77a4..b0d362302520 100644 --- a/dev-lang/yap/yap-6.0.3.ebuild +++ b/dev-lang/yap/yap-6.0.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/yap-6.0.3.ebuild,v 1.1 2010/03/20 21:40:28 keri Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/yap/yap-6.0.3.ebuild,v 1.2 2010/04/10 00:10:30 keri Exp $ inherit eutils java-pkg-opt-2 @@ -29,6 +29,7 @@ src_unpack() { cd "${S}" epatch "${FILESDIR}"/${P}-yapsharedir.patch + epatch "${FILESDIR}"/${P}-install-clause.patch } src_compile() { |