Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 465166 Details for
Bug 610936
dev-libs/libzip-1.1.3: fails to link on musl libc
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Use fts-standalone on musl libc
0001-dev-libs-libzip-Use-fts-standalone-on-musl-libc.patch (text/plain), 2.16 KB, created by
A. Wilcox (awilfox)
on 2017-02-25 23:00:09 UTC
(
hide
)
Description:
Use fts-standalone on musl libc
Filename:
MIME Type:
Creator:
A. Wilcox (awilfox)
Created:
2017-02-25 23:00:09 UTC
Size:
2.16 KB
patch
obsolete
>From 985c60094e5541c9df48db667005377fddc1614d Mon Sep 17 00:00:00 2001 >From: "A. Wilcox" <AWilcox@Wilcox-Tech.com> >Date: Sat, 25 Feb 2017 16:47:58 -0600 >Subject: [PATCH] dev-libs/libzip: Use fts-standalone on musl libc > >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(+) > create mode 100644 dev-libs/libzip/files/libzip-1.1.3-fts.patch > create mode 100644 dev-libs/libzip/libzip-1.1.3-r1.ebuild > >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 00000000..49dfa66 >--- /dev/null >+++ b/dev-libs/libzip/files/libzip-1.1.3-fts.patch >@@ -0,0 +1,11 @@ >+--- libzip-1.1.3/configure.ac.old 2016-05-28 10:35:31.000000000 +0100 >++++ libzip-1.1.3/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 00000000..ecc3aa6 >--- /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 >+} >-- >2.10.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 610936
: 465166