commit:     7621bfc0e2a03921b2ca981c7eb7aaef185d19e1
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 11 01:05:49 2016 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Jun 11 01:06:07 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7621bfc0

sys-libs/argp-standalone: build with gcc6, bug #582776

Package-Manager: portage-2.2.28

 .../argp-standalone/argp-standalone-1.3-r1.ebuild  | 34 ++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/sys-libs/argp-standalone/argp-standalone-1.3-r1.ebuild 
b/sys-libs/argp-standalone/argp-standalone-1.3-r1.ebuild
new file mode 100644
index 0000000..17c1c57
--- /dev/null
+++ b/sys-libs/argp-standalone/argp-standalone-1.3-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="Standalone argp library for use with uclibc"
+HOMEPAGE="http://www.lysator.liu.se/~nisse/misc/";
+SRC_URI="http://www.lysator.liu.se/~nisse/misc/argp-standalone-1.3.tar.gz";
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~m68k ~mips ~ppc ~s390 ~sh ~x86"
+IUSE=""
+
+DEPEND="!sys-libs/glibc"
+
+src_prepare() {
+       epatch "${FILESDIR}/${P}-throw-in-funcdef.patch"
+}
+
+src_configure() {
+       append-cflags -fgnu89-inline
+       default
+}
+
+src_install() {
+       dolib.a libargp.a
+
+       insinto /usr/include
+       doins argp.h
+}

Reply via email to