public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libzip/, dev-libs/libzip/files/
Date: Fri, 17 Mar 2017 18:47:03 +0000 (UTC)	[thread overview]
Message-ID: <1489776385.9a609ec75673220be26e8ca4f8f7164cf3262aa2.asturm@gentoo> (raw)

commit:     9a609ec75673220be26e8ca4f8f7164cf3262aa2
Author:     A. Wilcox <AWilcox <AT> Wilcox-Tech <DOT> com>
AuthorDate: Sat Feb 25 22:47:58 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Mar 17 18:46:25 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a609ec7

dev-libs/libzip: Use fts-standalone on musl libc

Gentoo-bug: 610936

Package-Manager: portage-2.3.1

 dev-libs/libzip/files/libzip-1.1.3-fts.patch | 11 +++++++++
 dev-libs/libzip/libzip-1.1.3-r1.ebuild       | 35 ++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/dev-libs/libzip/files/libzip-1.1.3-fts.patch b/dev-libs/libzip/files/libzip-1.1.3-fts.patch
new file mode 100644
index 00000000000..bd9bf232c0a
--- /dev/null
+++ b/dev-libs/libzip/files/libzip-1.1.3-fts.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac	2016-05-28 10:35:31.000000000 +0100
++++ b/configure.ac	2017-02-25 23:34:22.309684397 +0100
+@@ -65,6 +65,8 @@
+     AC_DEFINE([HAVE___PROGNAME], [1], [Define if libc defines __progname])
+ fi
+ 
++AC_SEARCH_LIBS(fts_open, fts)
++
+ AC_CACHE_CHECK([whether we are building for a Win32 host], [ac_cv_win32_host],
+ 	       AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#ifdef _WIN32
+  choke me

diff --git a/dev-libs/libzip/libzip-1.1.3-r1.ebuild b/dev-libs/libzip/libzip-1.1.3-r1.ebuild
new file mode 100644
index 00000000000..ecc3aa63760
--- /dev/null
+++ b/dev-libs/libzip/libzip-1.1.3-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Library for manipulating zip archives"
+HOMEPAGE="http://www.nih.at/libzip/"
+SRC_URI="http://www.nih.at/libzip/${P}.tar.xz"
+
+LICENSE="BSD"
+SLOT="0/4"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
+IUSE="static-libs"
+
+RDEPEND="
+	sys-libs/zlib
+	elibc_musl? ( sys-libs/fts-standalone )
+"
+DEPEND="${RDEPEND}
+	app-arch/xz-utils
+"
+
+DOCS=( AUTHORS NEWS.md API-CHANGES THANKS )
+
+PATCHES=(
+	"${FILESDIR}/${PN}-1.1.3-headers.patch"
+	"${FILESDIR}/${PN}-1.1.3-fts.patch"
+)
+
+src_prepare() {
+	default
+	eautoreconf
+}


             reply	other threads:[~2017-03-17 18:47 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-17 18:47 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-04 22:32 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libzip/, dev-libs/libzip/files/ Andreas Sturmlechner
2024-11-23 14:51 Sam James
2021-09-08  6:23 Andreas Sturmlechner
2020-04-09 23:51 Andreas Sturmlechner
2020-01-26 13:04 Andreas Sturmlechner
2019-04-04  0:09 Andreas Sturmlechner
2019-02-09 20:58 Andreas Sturmlechner
2017-10-23 23:33 Andreas Sturmlechner
2017-08-04 18:14 Andreas Sturmlechner
2017-07-30 20:46 Andreas Sturmlechner
2017-03-17 18:47 Andreas Sturmlechner
2016-05-31 21:00 Chris Reffett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1489776385.9a609ec75673220be26e8ca4f8f7164cf3262aa2.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox