summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2015-09-24 23:08:42 +0000
committerryoon <ryoon@pkgsrc.org>2015-09-24 23:08:42 +0000
commit71be362577fc87f8156bb5fbece6b44bc14e179a (patch)
treec229a10861dccb62528b1c5a44a07926b2742ee8
parentec3dfe0b7f6fab05fce2506b9e32c67cd601efd1 (diff)
downloadpkgsrc-71be362577fc87f8156bb5fbece6b44bc14e179a.tar.gz
Update to 0.8.1
Changelog: highlights only Author: Jonathan Wakely <pstreams@kayari.org> Date: Fri Feb 7 00:55:18 2014 +0000 pstream.h (basic_ipstream::basic_ipstream(argv_type, pmode): Use basic_ipstream::readable(pmode) to correctly set input mode. test_pstreams.cc: Test execve-style construction for ipstream. Author: Jonathan Wakely <pstreams@kayari.org> Date: Fri Jul 12 00:20:21 2013 +0100 pstream.h: Add initializer-list constructors. Make unary constructors explicit. Author: Jonathan Wakely <pstreams@kayari.org> Date: Thu Jul 11 23:27:43 2013 +0100 pstream.h: Add newpg pmode flag. Version 0.8.1. test_pstreams.cc: Test newpg flag. Author: Jonathan Wakely <pstreams@kayari.org> Date: Fri Mar 29 17:42:22 2013 +0000 pstream.h: Doc tweak Author: Jonathan Wakely <pstreams@kayari.org> Date: Wed Jan 23 00:43:11 2013 +0000 pstream.h: Put child in new process group and define pstreambuf::killpg() Thanks to Hein-Pieter van Braam for the suggestion. Author: Jonathan Wakely <pstreams@kayari.org> Date: Sun Jan 20 19:15:41 2013 +0000 pstream.h: Retry interrupted writes Author: Jonathan Wakely <pstreams@kayari.org> Date: Sun Jan 20 17:11:27 2013 +0000 pstream.h: Overload constructors for convenience. Bump version to 0.7.3 Author: Jonathan Wakely <pstreams@kayari.org> Date: Mon Jun 25 22:57:26 2012 +0100 pstream.h: Update copyright years and remove RCSID. Author: Jonathan Wakely <pstreams@kayari.org> Date: Mon Jun 25 22:48:53 2012 +0100 pstream.h (pstreambuf::xsputn): Optimize. Author: Jonathan Wakely <pstreams@kayari.org> Date: Sun Jun 24 13:03:43 2012 +0100 pstream.h (basic_pstreambuf::open): Work with _FORTIFY_SOURCE. Author: Jonathan Wakely <pstreams@kayari.org> Date: Tue Nov 15 11:12:10 2011 +0000 (basic_pstreambuf::wpipe, basic_pstreambuf::rpipe): Fix for clang. (PSTREAMS_VERSION): Bump to 0.7.2 Author: Jonathan Wakely <pstreams@kayari.org> Date: Thu Oct 14 19:57:41 2010 +0000 * pstream.h, test_pstreams.cc: Update copyright dates. Author: Jonathan Wakely <pstreams@kayari.org> Date: Thu Oct 14 19:55:19 2010 +0000 * pstream.h (pstreams_common::pstreams_common): Use basic_ios::rdbuf to set the streambuf, basic_ios::init(0) has already been called.
-rw-r--r--devel/pstreams/Makefile5
-rw-r--r--devel/pstreams/distinfo11
-rw-r--r--devel/pstreams/patches/patch-Makefile14
-rw-r--r--devel/pstreams/patches/patch-pstream.h34
4 files changed, 14 insertions, 50 deletions
diff --git a/devel/pstreams/Makefile b/devel/pstreams/Makefile
index bfe83016aa1..9a0b67b382f 100644
--- a/devel/pstreams/Makefile
+++ b/devel/pstreams/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2015/06/12 10:49:59 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2015/09/24 23:08:42 ryoon Exp $
#
-DISTNAME= pstreams-0.7.0
-PKGREVISION= 5
+DISTNAME= pstreams-0.8.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pstreams/}
diff --git a/devel/pstreams/distinfo b/devel/pstreams/distinfo
index 08fd9a47f01..698c02fbcdb 100644
--- a/devel/pstreams/distinfo
+++ b/devel/pstreams/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.2 2012/11/23 12:26:56 joerg Exp $
+$NetBSD: distinfo,v 1.3 2015/09/24 23:08:42 ryoon Exp $
-SHA1 (pstreams-0.7.0.tar.gz) = 8300886c0c1783c7b8b1363596d77683cd213e7e
-RMD160 (pstreams-0.7.0.tar.gz) = c0841579b88c23793a1ab9f94316a528fc9f98f5
-Size (pstreams-0.7.0.tar.gz) = 55536 bytes
-SHA1 (patch-Makefile) = eb56361bb436b7609216640728e3a53f5a12875b
-SHA1 (patch-pstream.h) = 831f83a56f7dc5cb95772e02da585ffd62a69882
+SHA1 (pstreams-0.8.1.tar.gz) = e2dd7987e6498d892bee87fcd95baf38a209a008
+RMD160 (pstreams-0.8.1.tar.gz) = 16f99fe8819b926d7093729adc153eb9244e347f
+Size (pstreams-0.8.1.tar.gz) = 58588 bytes
+SHA1 (patch-Makefile) = 64d1f6d0ff991e5de03e23a038cd3227ae1edbfa
diff --git a/devel/pstreams/patches/patch-Makefile b/devel/pstreams/patches/patch-Makefile
index 84fb5d54a05..9ef46ec4783 100644
--- a/devel/pstreams/patches/patch-Makefile
+++ b/devel/pstreams/patches/patch-Makefile
@@ -1,11 +1,11 @@
-$NetBSD: patch-Makefile,v 1.1.1.1 2011/10/29 10:39:31 ryoon Exp $
+$NetBSD: patch-Makefile,v 1.2 2015/09/24 23:08:42 ryoon Exp $
* disable documents generation
* BSD install does not support -v option
---- Makefile.orig 2010-05-12 15:45:21.000000000 +0000
+--- Makefile.orig 2014-02-07 13:18:56.000000000 +0000
+++ Makefile
-@@ -29,7 +29,7 @@ CXXFLAGS=$(CFLAGS) -std=c++98 -Woverload
+@@ -27,7 +27,7 @@ CXXFLAGS=$(CFLAGS) -std=c++98 -Woverload
prefix = /usr/local
includedir = $(prefix)/include
INSTALL = install
@@ -14,12 +14,12 @@ $NetBSD: patch-Makefile,v 1.1.1.1 2011/10/29 10:39:31 ryoon Exp $
SOURCES = pstream.h
GENERATED_FILES = ChangeLog MANIFEST
-@@ -40,7 +40,7 @@ DIST_FILES = $(SOURCES) $(GENERATED_FILE
+@@ -38,7 +38,7 @@ DIST_FILES = $(SOURCES) $(GENERATED_FILE
- VERS = 0.7.0
+ VERS := $(shell awk -F' ' '/^\#define *PSTREAMS_VERSION/{ print $$NF }' pstream.h)
-all: docs $(GENERATED_FILES)
+all: $(GENERATED_FILES)
- check: pstreams.wout run_tests
-
+ check: test_pstreams test_minimum | pstreams.wout
+ @for test in $^ ; do echo $$test ; ./$$test >/dev/null 2>&1 || echo "$$test EXITED WITH STATUS $$?" ; done
diff --git a/devel/pstreams/patches/patch-pstream.h b/devel/pstreams/patches/patch-pstream.h
deleted file mode 100644
index 0782f8c4ad7..00000000000
--- a/devel/pstreams/patches/patch-pstream.h
+++ /dev/null
@@ -1,34 +0,0 @@
-$NetBSD: patch-pstream.h,v 1.1 2012/11/23 12:26:56 joerg Exp $
-
-The fd_type type is not defined in basic_streambuf, so be consistent
-with the definition of wpipe() and friends.
-
---- pstream.h.orig 2010-03-20 14:50:47.000000000 +0000
-+++ pstream.h
-@@ -1816,7 +1816,7 @@ namespace redi
-
- /** @return a reference to the output file descriptor */
- template <typename C, typename T>
-- inline typename basic_pstreambuf<C,T>::fd_type&
-+ inline typename pstreambuf::fd_type&
- basic_pstreambuf<C,T>::wpipe()
- {
- return wpipe_;
-@@ -1824,7 +1824,7 @@ namespace redi
-
- /** @return a reference to the active input file descriptor */
- template <typename C, typename T>
-- inline typename basic_pstreambuf<C,T>::fd_type&
-+ inline typename pstream::fd_type&
- basic_pstreambuf<C,T>::rpipe()
- {
- return rpipe_[rsrc_];
-@@ -1832,7 +1832,7 @@ namespace redi
-
- /** @return a reference to the specified input file descriptor */
- template <typename C, typename T>
-- inline typename basic_pstreambuf<C,T>::fd_type&
-+ inline typename pstream::fd_type&
- basic_pstreambuf<C,T>::rpipe(buf_read_src which)
- {
- return rpipe_[which];