summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2013-04-12 12:05:43 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2013-04-12 12:05:43 +0000
commit78ae47c150abdda40d0655bd09833be953daf24e (patch)
treeb0e8ea88dd988bf9b9165a6e7f1a2ce1a08906c1 /x11-apps
parentRemove useless libtool archive libgdl-1.la wrt #465664 by Helmut Jarausch (diff)
downloadgentoo-2-78ae47c150abdda40d0655bd09833be953daf24e.tar.gz
gentoo-2-78ae47c150abdda40d0655bd09833be953daf24e.tar.bz2
gentoo-2-78ae47c150abdda40d0655bd09833be953daf24e.zip
Fix building with gcc-4.8, bug #415949
(Portage version: 2.1.11.55/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'x11-apps')
-rw-r--r--x11-apps/luit/ChangeLog6
-rw-r--r--x11-apps/luit/luit-1.1.1.ebuild9
2 files changed, 13 insertions, 2 deletions
diff --git a/x11-apps/luit/ChangeLog b/x11-apps/luit/ChangeLog
index 1022fe319074..61b47104e438 100644
--- a/x11-apps/luit/ChangeLog
+++ b/x11-apps/luit/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-apps/luit
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-apps/luit/ChangeLog,v 1.83 2013/02/25 21:41:13 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/luit/ChangeLog,v 1.84 2013/04/12 12:05:43 chithanh Exp $
+
+ 12 Apr 2013; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ luit-1.1.1.ebuild:
+ Fix building with gcc-4.8, bug #415949
25 Feb 2013; Zac Medico <zmedico@gentoo.org> luit-1.1.1.ebuild:
Add ~arm-linux keyword.
diff --git a/x11-apps/luit/luit-1.1.1.ebuild b/x11-apps/luit/luit-1.1.1.ebuild
index 0d20c18a0f97..02160862a06f 100644
--- a/x11-apps/luit/luit-1.1.1.ebuild
+++ b/x11-apps/luit/luit-1.1.1.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-apps/luit/luit-1.1.1.ebuild,v 1.10 2013/02/25 21:41:13 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-apps/luit/luit-1.1.1.ebuild,v 1.11 2013/04/12 12:05:43 chithanh Exp $
EAPI=4
+XORG_EAUTORECONF=yes
inherit xorg-2
@@ -14,3 +15,9 @@ RDEPEND="sys-libs/zlib
x11-libs/libX11
x11-libs/libfontenc"
DEPEND="${RDEPEND}"
+
+src_prepare() {
+ # posix_openpt() call needs POSIX 2004, bug #415949
+ sed -i 's/-D_XOPEN_SOURCE=500/-D_XOPEN_SOURCE=600/' configure.ac || die
+ xorg-2_src_prepare
+}