summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2007-11-27 00:29:24 +0000
committerJeroen Roovers <jer@gentoo.org>2007-11-27 00:29:24 +0000
commitccb5807baaaca1294e6bbf2b1cc396bcbc18fa7a (patch)
tree84d40649563ceca7774226365af61733c429dc22 /app-editors/emacs
parentAdd bugfix for -P + thread usage segfault per bug 195248. (diff)
downloadgentoo-2-ccb5807baaaca1294e6bbf2b1cc396bcbc18fa7a.tar.gz
gentoo-2-ccb5807baaaca1294e6bbf2b1cc396bcbc18fa7a.tar.bz2
gentoo-2-ccb5807baaaca1294e6bbf2b1cc396bcbc18fa7a.zip
Dropping compiler optimisations to -O1 for hppa (solves bug #193703).
(Portage version: 2.1.4_rc3)
Diffstat (limited to 'app-editors/emacs')
-rw-r--r--app-editors/emacs/ChangeLog5
-rw-r--r--app-editors/emacs/emacs-22.1-r3.ebuild8
2 files changed, 10 insertions, 3 deletions
diff --git a/app-editors/emacs/ChangeLog b/app-editors/emacs/ChangeLog
index 1af1db2d61a5..081ddb17a3a4 100644
--- a/app-editors/emacs/ChangeLog
+++ b/app-editors/emacs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-editors/emacs
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/ChangeLog,v 1.212 2007/11/26 20:28:35 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/ChangeLog,v 1.213 2007/11/27 00:29:24 jer Exp $
+
+ 27 Nov 2007; Jeroen Roovers <jer@gentoo.org> emacs-22.1-r3.ebuild:
+ Dropping compiler optimisations to -O1 for hppa (solves bug #193703).
26 Nov 2007; Christian Faulhammer <opfer@gentoo.org>
emacs-21.4-r14.ebuild, emacs-22.1-r3.ebuild:
diff --git a/app-editors/emacs/emacs-22.1-r3.ebuild b/app-editors/emacs/emacs-22.1-r3.ebuild
index bc8e7c1ba491..4fb86ab3f51c 100644
--- a/app-editors/emacs/emacs-22.1-r3.ebuild
+++ b/app-editors/emacs/emacs-22.1-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-22.1-r3.ebuild,v 1.3 2007/11/26 20:28:35 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-22.1-r3.ebuild,v 1.4 2007/11/27 00:29:24 jer Exp $
WANT_AUTOCONF="2.5"
WANT_AUTOMAKE="latest"
@@ -83,7 +83,11 @@ src_compile() {
ALLOWED_FLAGS=""
strip-flags
unset LDFLAGS
- replace-flags -O[3-9] -O2
+ if use hppa; then # bug #193703
+ replace-flags -O[2-9] -O
+ else
+ replace-flags -O[3-9] -O2
+ fi
sed -i -e "s/-lungif/-lgif/g" configure* src/Makefile* || die
local myconf