1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

databases/pecl-mongodb: update 1.15.1 -> 1.15.3, fix build on 14.0

Relnotes:	https://github.com/mongodb/mongo-php-driver/releases/tag/1.15.2
		https://github.com/mongodb/mongo-php-driver/releases/tag/1.15.3
This commit is contained in:
Kurt Jaeger 2023-05-14 11:45:43 +02:00
parent cb4024226b
commit 31978ee4c4
3 changed files with 15 additions and 4 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= mongodb
PORTVERSION= 1.15.1
PORTVERSION= 1.15.3
CATEGORIES= databases pear
MAINTAINER= pi@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1678256312
SHA256 (PECL/mongodb-1.15.1.tgz) = b2038e778d71f45cadb8c93a30eb548e5c2c1e4f832807a775ed516b7816b749
SIZE (PECL/mongodb-1.15.1.tgz) = 1742236
TIMESTAMP = 1684050672
SHA256 (PECL/mongodb-1.15.3.tgz) = 4f2c4e417fb606b462e870ec03656f3a97ba0b399dc24a6d9d153e9846134388
SIZE (PECL/mongodb-1.15.3.tgz) = 1742661

View File

@ -0,0 +1,11 @@
--- src/libmongoc/src/libbson/src/bson/bson-error.c.orig 2023-05-09 08:13:22 UTC
+++ src/libmongoc/src/libbson/src/bson/bson-error.c
@@ -109,8 +109,6 @@ bson_strerror_r (int err_code, /* IN */
if (strerror_s (buf, buflen, err_code) != 0) {
ret = buf;
}
-#elif defined(__GNUC__) && defined(_GNU_SOURCE)
- ret = strerror_r (err_code, buf, buflen);
#else /* XSI strerror_r */
if (strerror_r (err_code, buf, buflen) == 0) {
ret = buf;