aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/pv/pv-1.2.0-fixld.patch21
-rw-r--r--package/pv/pv.mk5
2 files changed, 3 insertions, 23 deletions
diff --git a/package/pv/pv-1.2.0-fixld.patch b/package/pv/pv-1.2.0-fixld.patch
deleted file mode 100644
index 9df279de52..0000000000
--- a/package/pv/pv-1.2.0-fixld.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-[PATCH] fix linker variable
-
-The linker variable LD was always set to 'ld' instead of the value from
-the environment. This breaks any linking, especially when dealing with
-a cross-compiler toolchain.
-The fix takes the CC variable and changes the 'gcc' extension to 'ld'.
-
-Signed-off-by: Roeland Van Praet <roelvp@mind.be>
----
-diff -ruN a/autoconf/make/vars.mk b/autoconf/make/vars.mk
---- a/autoconf/make/vars.mk 2010-03-11 00:43:19.000000000 +0100
-+++ b/autoconf/make/vars.mk 2011-10-06 15:47:18.000000000 +0200
-@@ -30,7 +30,7 @@
- @SET_MAKE@
- SHELL = /bin/sh
- CC = @CC@
--LD = ld
-+LD = $(CC:gcc=ld)
- DO_GZIP = @DO_GZIP@
- INSTALL = @INSTALL@
- INSTALL_DATA = @INSTALL_DATA@
diff --git a/package/pv/pv.mk b/package/pv/pv.mk
index 1aa95f6b6b..261f2139cf 100644
--- a/package/pv/pv.mk
+++ b/package/pv/pv.mk
@@ -4,8 +4,9 @@
#
################################################################################
-PV_VERSION = 1.2.0
+PV_VERSION = 1.4.6
PV_SOURCE = pv-$(PV_VERSION).tar.bz2
-PV_SITE = http://pipeviewer.googlecode.com/files
+PV_SITE = http://www.ivarch.com/programs/sources
+PV_MAKE_OPT = LD=$(TARGET_LD) # otherwise 'ld' is used
$(eval $(autotools-package))