diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2016-02-02 23:22:04 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2016-02-02 23:22:04 +0100 |
commit | 9eee67b0615568e7c522f563e72616e9482d8a47 (patch) | |
tree | 42f050311b5dbeb22ff12f121564c8dbb76776b1 /dev-libs/libzip | |
parent | x11-libs/pixman: Version bump (diff) | |
download | gentoo-9eee67b0615568e7c522f563e72616e9482d8a47.tar.gz gentoo-9eee67b0615568e7c522f563e72616e9482d8a47.tar.bz2 gentoo-9eee67b0615568e7c522f563e72616e9482d8a47.zip |
dev-libs/libzip: Version bump
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-libs/libzip')
-rw-r--r-- | dev-libs/libzip/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libzip/files/libzip-1.1-missing-extern.patch | 21 | ||||
-rw-r--r-- | dev-libs/libzip/libzip-1.1.ebuild | 30 |
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-libs/libzip/Manifest b/dev-libs/libzip/Manifest index 9d18e7b78308..5a167ef9121c 100644 --- a/dev-libs/libzip/Manifest +++ b/dev-libs/libzip/Manifest @@ -1 +1,2 @@ DIST libzip-1.0.1.tar.xz 450308 SHA256 f948d597afbb471de8d528d0e35ed977de85b2f4d76fdd74abbb985550e5d840 SHA512 df51ca44e97e2644a5d6930e3c76830453579c1486d11b9529d3cef173bb5ae873ef34b0af0ea6403dd4076805371fa93975a18ce56e37aa2a52500eb279887b WHIRLPOOL 6705e5739417738d474a85e10c72718c2feaae68698d6fc71af17d2761c76acab705fcf6c8c69be165afca9230dc55c47843d9b0281abde445aad23addef1c41 +DIST libzip-1.1.tar.xz 458528 SHA256 13b0b49637f9857ab8ba7335f529e26d02aadacf2074bf0c9b28889a0fc83b24 SHA512 0a250835155eb2ed19a00718e086b3e05741c9bcf01c7c73ed6e83fd989d9fb0bddf192f69c989f75860e4e9a44490b263fd08d9b06994e534fc0374667df2f0 WHIRLPOOL 7d59cbfb32d96230ef57e4dd7e57fbef5e3d2e1a3c92044bcee876c8de855e84eb189608c0c123265cb9e47ccf4b3cf216186f27a0f6afb14c1dca3dfd4d42fc diff --git a/dev-libs/libzip/files/libzip-1.1-missing-extern.patch b/dev-libs/libzip/files/libzip-1.1-missing-extern.patch new file mode 100644 index 000000000000..b678871adbb7 --- /dev/null +++ b/dev-libs/libzip/files/libzip-1.1-missing-extern.patch @@ -0,0 +1,21 @@ +# HG changeset patch +# User Thomas Klausner <tk@giga.or.at> +# Date 1453987295 -3600 +# Thu Jan 28 14:21:35 2016 +0100 +# Node ID 1472ec4a4519a53165a8ce66ffb5d328305509b9 +# Parent 25c609cdb41d1963cffff26338ac3b8d47072196 +Add 'extern int optopt;' for Linux and perhaps others. + +Reported by Remi Collet. + +diff -r 25c609cdb41d -r 1472ec4a4519 src/ziptool.c +--- a/src/ziptool.c Thu Jan 28 09:54:45 2016 +0100 ++++ b/src/ziptool.c Thu Jan 28 14:21:35 2016 +0100 +@@ -48,6 +48,7 @@ + #ifndef HAVE_GETOPT + #include "getopt.h" + #endif ++extern int optopt; + + #include "zip.h" + #include "compat.h" diff --git a/dev-libs/libzip/libzip-1.1.ebuild b/dev-libs/libzip/libzip-1.1.ebuild new file mode 100644 index 000000000000..75c3201563ee --- /dev/null +++ b/dev-libs/libzip/libzip-1.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 +AUTOTOOLS_IN_SOURCE_BUILD=1 +inherit autotools-utils + +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" +DEPEND="${RDEPEND} + app-arch/xz-utils +" + +DOCS=( AUTHORS NEWS README THANKS ) + +PATCHES=( + "${FILESDIR}/${PN}-0.11.2-headers.patch" + "${FILESDIR}/${P}-missing-extern.patch" +) |