Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
[PATCH] add lstat64 to *64 emulation
|
||||
|
||||
pv nowadays also uses lstat64, so add it to the emulation defines for !LFS
|
||||
builds.
|
||||
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
---
|
||||
autoconf/header.in | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
Index: pv-1.5.7/autoconf/header.in
|
||||
===================================================================
|
||||
--- pv-1.5.7.orig/autoconf/header.in
|
||||
+++ pv-1.5.7/autoconf/header.in
|
||||
@@ -76,6 +76,7 @@
|
||||
# endif
|
||||
# define open64 open
|
||||
# define lseek64 lseek
|
||||
+# define lstat64 lstat
|
||||
#endif
|
||||
|
||||
#undef HAVE_IPC
|
||||
9
deprecated/firmware/buildroot/package/pv/Config.in
Normal file
9
deprecated/firmware/buildroot/package/pv/Config.in
Normal file
@@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_PV
|
||||
bool "pv"
|
||||
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
|
||||
help
|
||||
Pipe Viewer - is a terminal-based tool for
|
||||
monitoring the progress of data through a
|
||||
pipeline.
|
||||
|
||||
http://www.ivarch.com/programs/pv.shtml
|
||||
2
deprecated/firmware/buildroot/package/pv/pv.hash
Normal file
2
deprecated/firmware/buildroot/package/pv/pv.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 c8535061bb703086b67fa540da162ad48d6ecd219ae74157111465adfdef5997 pv-1.5.7.tar.bz2
|
||||
37
deprecated/firmware/buildroot/package/pv/pv.mk
Normal file
37
deprecated/firmware/buildroot/package/pv/pv.mk
Normal file
@@ -0,0 +1,37 @@
|
||||
################################################################################
|
||||
#
|
||||
# pv
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PV_VERSION = 1.5.7
|
||||
PV_SOURCE = pv-$(PV_VERSION).tar.bz2
|
||||
PV_SITE = http://www.ivarch.com/programs/sources
|
||||
PV_LICENSE = Artistic-2.0
|
||||
PV_LICENSE_FILES = doc/COPYING
|
||||
|
||||
# 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;
|
||||
PV_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext host-gettext)
|
||||
|
||||
# --relax linker option is enabled by default on sparc/sparc64
|
||||
# architectures, and it can't be used together with -r option, so
|
||||
# disable it.
|
||||
ifeq ($(BR2_sparc)$(BR2_sparc64),y)
|
||||
PV_LDFLAGS = "-Wl,--no-relax"
|
||||
endif
|
||||
|
||||
# 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 the below values for LD and LDFLAGS, we
|
||||
# ensure that 'gcc' is used to do these partial linking steps.
|
||||
PV_MAKE_OPTS = \
|
||||
LD="$(TARGET_CC)" \
|
||||
LDFLAGS="-Wl,-r -nostdlib $(PV_LDFLAGS)"
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user