summaryrefslogtreecommitdiffstats
path: root/package/pv
Commit message (Collapse)AuthorAgeFilesLines
* pv: fix build failures when building under a path containing 'yes'Peter Korsgaard2018-08-211-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Depending on the configuration, the cpp output may contain the string 'yes' in a comment if built under a path containing 'yes', confusing the _AIX test: ${CROSS}-cpp conftest.h \# 1 "conftest.h" \# 1 "<built-in>" \# 1 "<command-line>" \# 31 "<command-line>" \# 1 "/home/peko/source/buildroot/output-yes/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/stdc-predef.h" \# 32 "<command-line>" 2 \# 1 "conftest.txt" If misdetected, the configure script adds -lc128 to LIBS, causing the AC_CHECKS_FUNCS check for stat64 to fail, which in turn causes compilation errors about redefinition of symbols: In file included from ./src/include/pv-internal.h:9:0, from src/pv/file.c:5: ./src/include/config.h:76:18: error: redefinition of 'struct stat' # define stat64 stat ^ Fix it by only matching on 'yes' on a line by itself. As pv doesn't cleanly autoreconf (it doesn't use automake and configure.in is located in subdir), instead directly patch configure. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* pv: use the new gettext logicThomas Petazzoni2017-07-052-8/+1
| | | | | | | | | | | This commit switches to use the new gettext logic, which involves: - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies on gettext/host-gettext - dropping BR2_PACKAGE_GETTEXT selection Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* pv: bump to version 1.6.0Peter Korsgaard2016-02-173-24/+2
| | | | | | And drop patch now upstream. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* pv: fix build error on sparc/sparc64Sergio Prado2016-01-051-1/+8
| | | | | | | | | | | | | | | Relax linker option is enabled by default on sparc/sparc64 architectures, and it can't be used together with -r option, so disable it. Fixes: http://autobuild.buildroot.net/results/fadc6fc5500d68b91aead58b1d74887db5244f52/ http://autobuild.buildroot.net/results/2f30486f2d72e0277fc30febd4012825a59e4f41/ http://autobuild.buildroot.net/results/82ccb8f0818d1909309eaef969548f963fc6cf04/ ... Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* pv: bump versionPeter Korsgaard2015-01-283-1/+25
| | | | | | | !LFS compilation needs a trivial patch which has been sent upstream. Also add .hash file. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: rename FOO_MAKE_OPT into FOO_MAKE_OPTSThomas De Schampheleire2014-10-041-1/+1
| | | | | | | | | | | | | | | | | | | | | While the autotools infrastructure was using FOO_MAKE_OPT, generic packages were typically using FOO_MAKE_OPTS. This inconsistency becomes a problem when a new infrastructure is introduced that wants to make use of FOO_MAKE_OPT(S), and can live alongside either generic-package or autotools-package. The new infrastructure will have to choose between either OPT or OPTS, and thus rule out transparent usage by respectively generic packages or generic packages. An example of such an infrastructure is kconfig-package, which provides kconfig-related make targets. The OPTS variant is more logical, as there are typically multiple options. This patch renames all occurrences of FOO_MAKE_OPT in FOO_MAKE_OPTS. Sed command used: find * -type f | xargs sed -i 's#_MAKE_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* pv: fix minisetlocale related build failureThomas Petazzoni2014-02-201-1/+7
| | | | | | | | | | | | | | | | pv configure script is somewhat stupid: if it cannot find the host gettext tool msgfmt, it concludes that gettext is not available, and provides its own minimal version. Unfortunately, this minimal version conflicts with the available target gettext. We fix this by ensuring that host-gettext is built if gettext support is enabled, by adding it to the dependencies. Fixes: http://autobuild.buildroot.org/results/d30/d30db79190f2cf8953751d55a5d34644f60daec4/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* pv: needs gettext if locale is enabledArnout Vandecappelle2013-11-202-0/+2
| | | | | | | Fixes http://autobuild.buildroot.net/results/c4f/c4f5ed916d85740ec00f5f34ded5de0195e5cd45/ Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* pv: support ccache buildsAndrew Ruder2013-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | When using ccache TARGET_CC is something like ccache gcc This causes problems in the pv build which attempts to override LD because the command ends up being make [...] LD=/tools/ccache /tools/gcc LDFLAGS="[...] As a result, during the build phase it attempts to build /tools/gcc which succeeds by doing nothing: make[1]: Nothing to be done for `/tools/gcc'. and during the install phase you get the real build which errors out on the LD error this snippet was attempting to fix: ld -r -o src/library.o src/library/getopt.o \ src/library/gettext.o ld: src/library/gettext.o: Relocations in generic ELF \ (EM: 40) src/library/gettext.o: error adding symbols: File in \ wrong format Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* pv: fix build issue with some toolchainsThomas Petazzoni2013-10-061-1/+10
| | | | | | | | | | | | | | | | | While 'pv' uses autoconf, it does not use automake for its makefiles. It uses $(LD) $(LDFLAGS) to achieve partial linking, but using 'ld' directly doesn't work well with some toolchain configuration, as the ld default emulation may not necessarily be the correct one. By passing custom values for LD and LDFLAGS, we ensure that 'gcc' is used to do these partial linking steps. Fixes the following build failures (x86-64 and mips64) : http://autobuild.buildroot.org/results/9ac/9aca276a220ad1460e5b32bd042dd4c93649baf3/build-end.log http://autobuild.buildroot.org/results/910/91044c01dcc3c4150aa6e74f5964fff27b9dac79/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* pv: bump to version 1.4.12Thomas Petazzoni2013-10-061-1/+1
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* pv: add license infoPeter Korsgaard2013-06-271-0/+2
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* pv: bump to version 1.4.6Jerzy Grzegorek2013-06-272-23/+3
| | | | | | [Peter: drop patch and instead pass LD= on the make cmdline] Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Normalize separator size to 80Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove description and url from headerAlexandre Belloni2013-06-061-1/+1
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: add 'pv' (Pipe-Viewer)Roeland Van Praet2011-10-073-0/+40
Signed-off-by: Roeland Van Praet <roelvp@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
OpenPOWER on IntegriCloud