summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMats Lidell <matsl@gentoo.org>2016-04-03 01:57:47 +0200
committerMats Lidell <matsl@gentoo.org>2016-04-03 01:58:41 +0200
commita7e28a58e95bb7540eafb21353b18345749bc215 (patch)
treef249f14ceca04c60c905802287a4b4817235526a /app-editors/xemacs/xemacs-21.4.24.ebuild
parentx11-themes/elementary-xfce-icon-theme: bump to 0.7_p20160321 (diff)
downloadgentoo-a7e28a58e95bb7540eafb21353b18345749bc215.tar.gz
gentoo-a7e28a58e95bb7540eafb21353b18345749bc215.tar.bz2
gentoo-a7e28a58e95bb7540eafb21353b18345749bc215.zip
app-editors/xemacs: gcc-5.3 patch. See bug 576512.
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-editors/xemacs/xemacs-21.4.24.ebuild')
-rw-r--r--app-editors/xemacs/xemacs-21.4.24.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/app-editors/xemacs/xemacs-21.4.24.ebuild b/app-editors/xemacs/xemacs-21.4.24.ebuild
index 97f68aec71e3..9ffda4d02393 100644
--- a/app-editors/xemacs/xemacs-21.4.24.ebuild
+++ b/app-editors/xemacs/xemacs-21.4.24.ebuild
@@ -9,7 +9,7 @@
EAPI="5"
WANT_AUTOCONF="2.1"
-inherit autotools eutils toolchain-funcs
+inherit autotools eutils flag-o-matic toolchain-funcs
DESCRIPTION="highly customizable open source text editor and application development system"
HOMEPAGE="http://www.xemacs.org/"
@@ -62,6 +62,8 @@ src_unpack() {
src_prepare() {
# see bug 58350, 102540 and 143580
epatch "${FILESDIR}"/xemacs-21.4.19-db.patch
+ # see bug 576512
+ epatch "${FILESDIR}"/xemacs-21.4.24-gcc5.patch
# Some binaries and man pages are installed under suffixed names
# to avoid collions with their GNU Emacs counterparts (see below).
@@ -168,6 +170,9 @@ src_configure() {
einfo "${myconf}"
+ # see bug 576512
+ append-cflags -std=gnu89
+
# Don't use econf because it uses options which this configure
# script does not understand (like --host).
./configure ${myconf} ${EXTRA_ECONF} \