Date: Sun, 23 Sep 2018 01:24:31 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r480446 - in head/devel/libpo6: . files Message-ID: <201809230124.w8N1OVpG081362@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <ndowens@yahoo.com> 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 <bsd.port.mk> 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 <string.h> +-#include <string.h> + + // POSIX + #include <errno.h> +@@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809230124.w8N1OVpG081362>