[145878] trunk/dports/sysutils/pv

eborisch at macports.org eborisch at macports.org
Fri Feb 19 10:19:50 PST 2016


Revision: 145878
          https://trac.macports.org/changeset/145878
Author:   eborisch at macports.org
Date:     2016-02-19 10:19:50 -0800 (Fri, 19 Feb 2016)
Log Message:
-----------
pv: Update to 1.6.0 and take maintainership. See #50667.

Modified Paths:
--------------
    trunk/dports/sysutils/pv/Portfile

Removed Paths:
-------------
    trunk/dports/sysutils/pv/files/

Modified: trunk/dports/sysutils/pv/Portfile
===================================================================
--- trunk/dports/sysutils/pv/Portfile	2016-02-19 18:17:33 UTC (rev 145877)
+++ trunk/dports/sysutils/pv/Portfile	2016-02-19 18:19:50 UTC (rev 145878)
@@ -5,10 +5,10 @@
 PortGroup           muniversal 1.0
 
 name                pv
-version             1.4.6
+version             1.6.0
 categories          sysutils
 platforms           darwin
-maintainers         me.com:mark.carver openmaintainer
+maintainers         eborisch openmaintainer
 license             Apache-2
 
 description         monitor the progress of data through a pipe
@@ -25,8 +25,9 @@
 
 use_bzip2           yes
 
-checksums           rmd160  ecbcc4791acd108bfee09f49280808d1470e37c2 \
-                    sha256  edfea0033ec6222eb60b4ec6d905dd2dccdb5900beef03f67f42ca9ed67e9fe2
+checksums \
+    rmd160  c1271f71df99db9e8b9df3f491bd2d18ebab4b68 \
+    sha256  0ece824e0da27b384d11d1de371f20cafac465e038041adab57fcf4b5036ef8d
 
 configure.args      --mandir=${prefix}/share/man \
                     --infodir=${prefix}/share/info
@@ -34,9 +35,16 @@
 depends_lib         port:gettext
 
 if {${os.platform} eq "darwin" && ${os.major} != 9} {
-    # Leopard is the only release where stat64 exists and is not deprecated
-    patchfiles-append stat64.diff
+    # Leopard is the only release where stat64 exists and is not deprecated.
+    # Rather than updating a patch to replace each instance, use the deprecated
+    # interface as long as it exists, just don't complain about it. (configure
+    # script runs a check.)
+    configure.cppflags-append -Wno-deprecated
 }
 
+patch {
+    reinplace "/fscanf/s/Lu/llu/" src/pv/watchpid.c
+}
+
 livecheck.type      regex
 livecheck.regex     >${name}-(\[0-9.\]+)${extract.suffix}<
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160219/cf7bfe64/attachment-0001.html>


More information about the macports-changes mailing list