From owner-svn-ports-all@freebsd.org Sun Sep 23 01:24:32 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7233510A9310; Sun, 23 Sep 2018 01:24:32 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0D02B8AA5B; Sun, 23 Sep 2018 01:24:32 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 01E6023C20; Sun, 23 Sep 2018 01:24:32 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w8N1OVLV081365; Sun, 23 Sep 2018 01:24:31 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w8N1OVpG081362; Sun, 23 Sep 2018 01:24:31 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201809230124.w8N1OVpG081362@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Sun, 23 Sep 2018 01:24:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480446 - in head/devel/libpo6: . files X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/devel/libpo6: . files X-SVN-Commit-Revision: 480446 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Sep 2018 01:24:32 -0000 Author: swills Date: Sun Sep 23 01:24:30 2018 New Revision: 480446 URL: https://svnweb.freebsd.org/changeset/ports/480446 Log: devel/libpo6: update to 0.8.0 While here, give maintainership to submitter PR: 230683 Submitted by: Nathan Added: head/devel/libpo6/files/patch-errno.cc (contents, props changed) Deleted: head/devel/libpo6/files/patch-po6-net-ipaddr.h Modified: head/devel/libpo6/Makefile (contents, props changed) head/devel/libpo6/distinfo (contents, props changed) head/devel/libpo6/pkg-plist (contents, props changed) Modified: head/devel/libpo6/Makefile ============================================================================== --- head/devel/libpo6/Makefile Sun Sep 23 01:14:51 2018 (r480445) +++ head/devel/libpo6/Makefile Sun Sep 23 01:24:30 2018 (r480446) @@ -2,16 +2,18 @@ # $FreeBSD$ PORTNAME= libpo6 -PORTVERSION= 0.5.2 +PORTVERSION= 0.8.0 CATEGORIES= devel MASTER_SITES= http://hyperdex.org/src/ -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ndowens@yahoo.com COMMENT= POSIX wrappers for C++ LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE +TEST_TARGET= check GNU_CONFIGURE= yes -USES= gmake pathfix - +USES= gmake libtool pathfix +USE_LDCONFIG= yes .include Modified: head/devel/libpo6/distinfo ============================================================================== --- head/devel/libpo6/distinfo Sun Sep 23 01:14:51 2018 (r480445) +++ head/devel/libpo6/distinfo Sun Sep 23 01:24:30 2018 (r480446) @@ -1,2 +1,3 @@ -SHA256 (libpo6-0.5.2.tar.gz) = fd59e2b3597261e10f91da17f07de6b8ee71ffe2d0cdb7affd8ec33fdb763ec9 -SIZE (libpo6-0.5.2.tar.gz) = 106956 +TIMESTAMP = 1534474698 +SHA256 (libpo6-0.8.0.tar.gz) = 5aedaf96326fe76f6b71bcc7713a741fcdeb694a8c818ca240c74b61de4e4b0d +SIZE (libpo6-0.8.0.tar.gz) = 364709 Added: head/devel/libpo6/files/patch-errno.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/libpo6/files/patch-errno.cc Sun Sep 23 01:24:30 2018 (r480446) @@ -0,0 +1,43 @@ +--- errno.cc.orig 2018-08-17 03:05:05 UTC ++++ errno.cc +@@ -27,7 +27,6 @@ + + // C + #include +-#include + + // POSIX + #include +@@ -43,12 +42,17 @@ po6 :: strerror(int err) + memset(buf, 0, sizeof(buf)); + + errno = 0; +-#if (_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE ++#if _GNU_SOURCE ++ // GNU ++ char* ret = strerror_r(err, buf, sizeof(buf)); ++ ++ if (ret != buf) ++ { ++ strncpy(buf, ret, sizeof(buf)); ++ } ++#else + // XSI-compliant + errno = strerror_r(err, buf, sizeof(buf)); +-#else +- // GNU +- strncpy(buf, strerror_r(err, buf, sizeof(buf)), sizeof(buf)); + #endif + int obs = errno; + errno = saved; +@@ -62,9 +66,7 @@ po6 :: strerror(int err) + return std::string(buf); + } + +-#define XSTR(x) #x +-#define STR(x) XSTR(x) +-#define CSTRINGIFY(x) if ((x) == err) { return STR(x); } ++#define CSTRINGIFY(x) if ((x) == err) { return #x; } + + const char* + po6 :: strerrno(int err) Modified: head/devel/libpo6/pkg-plist ============================================================================== --- head/devel/libpo6/pkg-plist Sun Sep 23 01:14:51 2018 (r480445) +++ head/devel/libpo6/pkg-plist Sun Sep 23 01:24:30 2018 (r480446) @@ -1,5 +1,7 @@ +include/po6/errno.h include/po6/error.h include/po6/io/fd.h +include/po6/io/mmap.h include/po6/net/hostname.h include/po6/net/ipaddr.h include/po6/net/location.h @@ -10,6 +12,9 @@ include/po6/threads/barrier.h include/po6/threads/cond.h include/po6/threads/mutex.h include/po6/threads/rwlock.h -include/po6/threads/spinlock.h include/po6/threads/thread.h +lib/libpo6.a +lib/libpo6.so +lib/libpo6.so.0 +lib/libpo6.so.0.0.0 libdata/pkgconfig/libpo6.pc