archivers/zstr: Update 1.0.6-12 -> 1.0.7
Reported by: portscout
This commit is contained in:
parent
b2cd6daf4a
commit
eb5486be07
@ -1,8 +1,6 @@
|
||||
PORTNAME= zstr
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.0.6-12
|
||||
PORTREVISION= 1
|
||||
DISTVERSIONSUFFIX= -g85a5bd5
|
||||
DISTVERSION= 1.0.7
|
||||
CATEGORIES= archivers devel
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1670012488
|
||||
SHA256 (mateidavid-zstr-v1.0.6-12-g85a5bd5_GH0.tar.gz) = 3736ba6bd89c0be586d1359afcef3aa05872a543beb229af7d08757be370b3e2
|
||||
SIZE (mateidavid-zstr-v1.0.6-12-g85a5bd5_GH0.tar.gz) = 11635
|
||||
TIMESTAMP = 1670483092
|
||||
SHA256 (mateidavid-zstr-v1.0.7_GH0.tar.gz) = 8d2ddae68ff7bd0a6fce6150a8f52ad9ce1bed2c4056c8846f4dec4f2dc60819
|
||||
SIZE (mateidavid-zstr-v1.0.7_GH0.tar.gz) = 11743
|
||||
|
@ -1,13 +0,0 @@
|
||||
- https://github.com/mateidavid/zstr/issues/60
|
||||
|
||||
--- src/strict_fstream.hpp.orig 2022-12-02 20:40:17 UTC
|
||||
+++ src/strict_fstream.hpp
|
||||
@@ -64,7 +64,7 @@ static std::string strerror()
|
||||
} else {
|
||||
return "Unknown error (" + std::to_string(err_num) + ")";
|
||||
}
|
||||
-#elif ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 || defined(__APPLE__)) && ! _GNU_SOURCE) || defined(__MUSL__)
|
||||
+#elif ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 || defined(__APPLE__) || defined(__FreeBSD__)) && ! _GNU_SOURCE) || defined(__MUSL__)
|
||||
// XSI-compliant strerror_r()
|
||||
const int err_num = errno; // See above
|
||||
if (strerror_r(err_num, buff.data(), buff.size()) == 0) {
|
Loading…
Reference in New Issue
Block a user