net-im/ysm: add -std=gnu89 to CFLAGS to restore pre-GCC5 semantics
authorDavid Seifert <soap@gentoo.org>
Mon, 25 Jan 2016 10:17:08 +0000 (11:17 +0100)
committerDavid Seifert <soap@gentoo.org>
Mon, 25 Jan 2016 10:17:08 +0000 (11:17 +0100)
Gentoo-Bug: 570408
* EAPI=6

Package-Manager: portage-2.2.27

net-im/ysm/ysm-2.9.9.1-r1.ebuild [new file with mode: 0644]

diff --git a/net-im/ysm/ysm-2.9.9.1-r1.ebuild b/net-im/ysm/ysm-2.9.9.1-r1.ebuild
new file mode 100644 (file)
index 0000000..fcd49a6
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit flag-o-matic versionator
+
+MY_PV="$(replace_all_version_separators _)"
+
+DESCRIPTION="A console ICQ client supporting versions 7/8"
+HOMEPAGE="http://ysmv7.sourceforge.net/"
+SRC_URI="mirror://sourceforge/ysmv7/${PN}v7_${MY_PV}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+RESTRICT="mirror"
+
+S=${WORKDIR}/${PN}v7_${MY_PV}
+
+src_prepare() {
+       # fix bug 570408 by restoring pre-GCC5 inline semantics
+       append-cflags -std=gnu89
+       default
+}