summaryrefslogtreecommitdiff
path: root/dev-lisp/gcl/gcl-2.6.12.ebuild
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2016-02-17 23:29:52 +0600
committerAndrey Grozin <grozin@gentoo.org>2016-02-17 23:29:52 +0600
commit537acbec9ddd8856a4c226b5c032e3bafcf3da31 (patch)
tree89a261f52975d3d74a073d1ab79e701c982ad3f4 /dev-lisp/gcl/gcl-2.6.12.ebuild
parentb5446edf0acbb357bad301973a5cee5d65be3b78 (diff)
downloadgentoo-537acbec9ddd8856a4c226b5c032e3bafcf3da31.tar.gz
gentoo-537acbec9ddd8856a4c226b5c032e3bafcf3da31.tar.xz
dev-lisp/gcl: 2.6.12 now uilds with gcc-5
Bug: 574652 Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-lisp/gcl/gcl-2.6.12.ebuild')
-rw-r--r--dev-lisp/gcl/gcl-2.6.12.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-lisp/gcl/gcl-2.6.12.ebuild b/dev-lisp/gcl/gcl-2.6.12.ebuild
index 11e8275ba21..959c2692a57 100644
--- a/dev-lisp/gcl/gcl-2.6.12.ebuild
+++ b/dev-lisp/gcl/gcl-2.6.12.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -38,6 +38,7 @@ src_prepare() {
chmod a+x add-defs add-defs1 config.guess config.sub configure install.sh
chmod a+x bin/info bin/info1 gcl-tk/gcltksrv.in gcl-tk/ngcltksrv mp/gcclab
chmod a+x o/egrep-def utils/replace xbin/*
+ epatch "${FILESDIR}"/${P}-gcc5.patch
# fedora patches
epatch "${WORKDIR}"/fedora/fd-leak.patch
@@ -62,6 +63,7 @@ src_prepare() {
src_configure() {
strip-flags
filter-flags -fstack-protector -fstack-protector-all
+ append-cflags $(test-flags-CC -fgnu89-inline)
local tcl=""
if use tk; then