From 677b7ba5c317778df2ad7e70df94b9b7eec4adbc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 10 Sep 2021 04:21:55 +0100 Subject: gentoo resync : 10.09.2021 --- sys-apps/pv/Manifest | 5 +- sys-apps/pv/files/pv-1.6.19-stddef-include.patch | 17 +++++++ sys-apps/pv/metadata.xml | 1 + sys-apps/pv/pv-1.6.19-r1.ebuild | 64 ++++++++++++++++++++++++ 4 files changed, 86 insertions(+), 1 deletion(-) create mode 100644 sys-apps/pv/files/pv-1.6.19-stddef-include.patch create mode 100644 sys-apps/pv/pv-1.6.19-r1.ebuild (limited to 'sys-apps/pv') diff --git a/sys-apps/pv/Manifest b/sys-apps/pv/Manifest index d75266b98981..b3f9dc66d070 100644 --- a/sys-apps/pv/Manifest +++ b/sys-apps/pv/Manifest @@ -1,3 +1,6 @@ +AUX pv-1.6.19-stddef-include.patch 374 BLAKE2B b2b57f9043ba5dc87e361a85ef6a1080286ab34b4d386363bbeed656bfc1dd593decd5467b103902045ab03c944e57964bd518b8a3a64e26fd72a1baa4305387 SHA512 823f11971fcbb229ba18d6275d131733f05b93749635d1188f998d48390ded14a99a0a6be26e9e360d921af9d27614e96bf7628bfaf028a0136e7a660184ecfb +DIST pv-1.6.19.tar.bz2 115130 BLAKE2B 5f8e41bb964ad8fc35c4f046b19e49a416eec4b3641d9ff77a3b9f1d04484b950629bd528c02f38eb7fd9fc1af404805a73c535fa62de4634801fb57c2e0bef8 SHA512 2ae857a8778baf853d4ad704f35afe14b37d615850f5ad52bce53ed7046dffdde720dab9b35f016739d377a062d7178cccdd0a3ccf53cf89918e3623060c9cc8 DIST pv-1.6.6.tar.bz2 109220 BLAKE2B 1cfb60e49f6301f0d990467a58013522bbc1e28e2936a1a2141918af05149b59b6cc494f290d99ee7072247b8f0e230b799cd5dae6f8aa59d116691319e952cb SHA512 cc841b4bd00e4e8fcaed97da094ebac4a11af1c3f843ce5f73d0c3ab20aca29498c6b1a224c653d40127304d8269d96f413df66b980809e9278ff9544c834a26 +EBUILD pv-1.6.19-r1.ebuild 1541 BLAKE2B f8a88c7916a5f579089d417afc02e22d2ec3d7abe6b51a49fcfb83fe7a200484944666e10900f9faab8f2ff7dc191d1068314696af6eeaa4543d17379f4741b8 SHA512 bf44badbe400ac2758123758ca290978408c57dc177f1a14dbff33a18964c77fd4e4c9aad6cb1863f5a3b82e60217f337321216fabca45c99e04f71e3f329486 EBUILD pv-1.6.6.ebuild 1379 BLAKE2B 0f3f018c0325aaef297dce38a6ae1917f9b53eb2499f38a020666d5d3da567c18f23ba173af6d805977450a6bf4c01bc25dd340728ad435ed46fb040508621c6 SHA512 f0cf93a3f5ee11c5327e640b3965da60b66115fe293016e7b35f57ea704a65b7dbe4844a2ec4d75176e4aa2901a2d342b1e2ef9485dcc52a6696ac0a730b345a -MISC metadata.xml 431 BLAKE2B 85d1be89636b3cc4a7910ad00aa9d7837bf6a4ad155785157fa08742c46b9479a4148a432bb62ad073cd2615689c07b28a24be7f7525c173fded9d7d76337bf9 SHA512 cb9a5ceb4164154107dc4be74388fdaba757e9dbe1ac3e3b308fa81e97297464aa1b4d2cf6d163cb9a212a5423dbeb9f1303093d784c0d16b80d3cc2878e0dfd +MISC metadata.xml 482 BLAKE2B 696bf4ce253cfc551c14330ec0f8b439b2348348483c6fbf0434a83c62f3ccd89b5cbfbd7eb7795f9ec39096e69535c0a5ef81b5834112bf4bdd5b9028b22509 SHA512 575b81ce5d2ca2d5e73af74a9544268956d67fc7636b833cf70dffdac5ff7452d90837b57c5bd8eed756518d82b35f49d7fd81a7e5e057bf5eec69bc5afca0f3 diff --git a/sys-apps/pv/files/pv-1.6.19-stddef-include.patch b/sys-apps/pv/files/pv-1.6.19-stddef-include.patch new file mode 100644 index 000000000000..b28a1c8d063b --- /dev/null +++ b/sys-apps/pv/files/pv-1.6.19-stddef-include.patch @@ -0,0 +1,17 @@ +https://github.com/a-j-wood/pv/pull/1 + +From: Sam James +Date: Wed, 8 Sep 2021 01:03:29 +0100 +Subject: [PATCH] src/pv/number.c: add missing include for NULL + +--- a/src/pv/number.c ++++ b/src/pv/number.c +@@ -2,6 +2,8 @@ + * Functions for converting strings to numbers. + */ + ++#include ++ + #ifdef HAVE_CONFIG_H + #include "config.h" + #endif diff --git a/sys-apps/pv/metadata.xml b/sys-apps/pv/metadata.xml index b4f3c77ea7aa..e00b44f1dc97 100644 --- a/sys-apps/pv/metadata.xml +++ b/sys-apps/pv/metadata.xml @@ -11,5 +11,6 @@ pipeviewer + a-j-wood/pv diff --git a/sys-apps/pv/pv-1.6.19-r1.ebuild b/sys-apps/pv/pv-1.6.19-r1.ebuild new file mode 100644 index 000000000000..371943e4161b --- /dev/null +++ b/sys-apps/pv/pv-1.6.19-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-info toolchain-funcs plocale + +DESCRIPTION="Pipe Viewer: a tool for monitoring the progress of data through a pipe" +HOMEPAGE="https://www.ivarch.com/programs/pv.shtml" +SRC_URI="https://www.ivarch.com/programs/sources/${P}.tar.bz2" + +LICENSE="Artistic-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc64-solaris ~x86-solaris" +IUSE="debug nls" + +PLOCALES="de fr pl pt" +PLOCALE_BACKUP="en" + +DOCS=( README doc/NEWS doc/TODO ) + +# Doesn't build a library. +QA_CONFIGURE_OPTIONS="--disable-static" + +PATCHES=( + "${FILESDIR}"/${P}-stddef-include.patch +) + +pkg_setup() { + if use kernel_linux; then + CONFIG_CHECK="~SYSVIPC" + ERROR_SYSVIPC="You will need to enable CONFIG_SYSVIPC in your kernel to use the --remote option." + linux-info_pkg_setup + fi +} + +src_prepare() { + default + + sed -i configure -e 's|CFLAGS="-g -Wall"|:|g' || die + + # These should produce the same end result (working `pv`). + sed -i \ + -e 's:$(LD) $(LDFLAGS) -o:$(AR) rc:' \ + autoconf/make/modules.mk~ || die + + sed -i -e 's:usleep 200000 || ::g' tests/019-remote-cksum || die + + disable_locale() { + local locale=${1} + sed -i configure -e "/ALL_LINGUAS=/s:${locale}::g" || die + } + + plocale_find_changes src/nls '' '.po' + plocale_for_each_disabled_locale disable_locale +} + +src_configure() { + tc-export AR + + econf \ + $(use_enable debug debugging) \ + $(use_enable nls) +} -- cgit v1.2.3