From nobody Wed Mar 08 19:37:57 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PX2fF4YgSz3wmnQ; Wed, 8 Mar 2023 19:37:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PX2fF3rGZz40rB; Wed, 8 Mar 2023 19:37:57 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678304277; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hrRoCQQOMDh/eZM0xbCeXPGYY2oCiD3GhKx2i+nrY3g=; b=hjLNGjuFosO6o65fUwiJ49vFFQXiKH3YcPwZBN6T/KZsPAkX9tWvnDb+N+PmGcP2yd6yf3 ttqw0olW5wM5ND6FsTNGcul79NP79vJ1DqltEV+ahcYbUeqZHDePSEyRJKI+eNGKIOV7SU nODTGyX1eARTXBmI/ho4KAWIvuOT+kNI+pULeyU1eG0lkHnuIJ7YkJKlMaYexRejHJIRZU eFo658C20aD0yJXwdgqoC8/QbHhoPv0D3fm+1Sf5+zb7NFSdh1IHfEwKMhHbrkx76SEcrk 4ZGBkGLr4X+8/1ivSCGhmpANBLzag33W6x0M/lCMX1Rz+/QhhywAQ/dRoDCRBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678304277; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hrRoCQQOMDh/eZM0xbCeXPGYY2oCiD3GhKx2i+nrY3g=; b=NORFZF8BEapmm9f8DrHSoqzpm+AX2vMr2ebPyoLbDtA5lL+Xg3RUbvnygtrnfAcfJm5jhV tDVE5g2L3F8HaxrqHZYZmBck7uIQL9pbVKNTJuR8m9JXjDMxJJR55iXHCkeLpn11c+yvvk I0sIxm1aBFuQ6EGHw/VHkbdQOtlNgW6cDTUlkXOWQM56J8IbWmdGVF61SfJ5dBFhT5UWEV VMgp8racWcC1SLs767xthA7lGKx1IpJwQnqLCUgCgMWoDMR3HK5xZ7Bok7vz5aLwrAYsxQ 9f5zDkoArAE5WYwlzbc1xusEGFFhspLKb+E2K8g4wkOSL4ldQ6z2nYKHl9qEXg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678304277; a=rsa-sha256; cv=none; b=CBcV/BJHvucGVAaPnhoMfOINxeYmliyJ/rBLJ+lvD6VsgVto9UK71ofm6x4ojAWJJaGwaP CdaLLRZwxkBXDnXpmjU9hNhnCxmhi+nd9KTVBrDfTb1QVfwyFbZ1IDbCPApGKqYJLw6qdC 1jUlSzgoWRCFCGS/M/1fIPg2J6cKL8EQrdzF1e9HbZantCkRNZSTTCnmXQ+SpfEKKTuCc+ b/yWpUOC7akhPoK4Ieje9dAYR/GZlcDsL8Wri67NUhjFVXfr9b2OM20GUiOZsPOzqAOAY7 dZxOhpv9TK6UBwJRWoYE3hrv4I7fGeXOEA010Tcan0BzutglnLEWkF03eUk8qQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PX2fF2pxVzdtS; Wed, 8 Mar 2023 19:37:57 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 328JbvUj057027; Wed, 8 Mar 2023 19:37:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 328JbvGT057026; Wed, 8 Mar 2023 19:37:57 GMT (envelope-from git) Date: Wed, 8 Mar 2023 19:37:57 GMT Message-Id: <202303081937.328JbvGT057026@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kurt Jaeger Subject: git: c014f9c79abb - main - databases/pecl-mongodb: update 1.12.0 -> 1.15.1, unbreak build List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pi X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c014f9c79abbe0b18f4505c037baa07ed3454987 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pi: URL: https://cgit.FreeBSD.org/ports/commit/?id=c014f9c79abbe0b18f4505c037baa07ed3454987 commit c014f9c79abbe0b18f4505c037baa07ed3454987 Author: Kurt Jaeger AuthorDate: 2023-03-08 19:32:11 +0000 Commit: Kurt Jaeger CommitDate: 2023-03-08 19:37:42 +0000 databases/pecl-mongodb: update 1.12.0 -> 1.15.1, unbreak build Relnotes: https://github.com/mongodb/mongo-php-driver/releases/tag/1.12.1 https://github.com/mongodb/mongo-php-driver/releases/tag/1.13.0 https://github.com/mongodb/mongo-php-driver/releases/tag/1.14.0 https://github.com/mongodb/mongo-php-driver/releases/tag/1.14.1 https://github.com/mongodb/mongo-php-driver/releases/tag/1.14.2 https://github.com/mongodb/mongo-php-driver/releases/tag/1.15.0 https://github.com/mongodb/mongo-php-driver/releases/tag/1.15.1 --- databases/pecl-mongodb/Makefile | 2 +- databases/pecl-mongodb/distinfo | 6 +++--- .../patch-src_libmongocrypt_src_mongocrypt-util.c | 20 ++++++++++++++++++++ .../patch-src_libmongocrypt_src_os__posix_os__dll.c | 10 ++++++++++ 4 files changed, 34 insertions(+), 4 deletions(-) diff --git a/databases/pecl-mongodb/Makefile b/databases/pecl-mongodb/Makefile index f81e671aaf2a..d506d7711289 100644 --- a/databases/pecl-mongodb/Makefile +++ b/databases/pecl-mongodb/Makefile @@ -1,5 +1,5 @@ PORTNAME= mongodb -PORTVERSION= 1.12.0 +PORTVERSION= 1.15.1 CATEGORIES= databases pear MAINTAINER= pi@FreeBSD.org diff --git a/databases/pecl-mongodb/distinfo b/databases/pecl-mongodb/distinfo index db9db6f21d78..9ce185adbafe 100644 --- a/databases/pecl-mongodb/distinfo +++ b/databases/pecl-mongodb/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1641670188 -SHA256 (PECL/mongodb-1.12.0.tgz) = 0d9f670b021288bb6c9b060979f191f1da773d729100673166f38b617e24317e -SIZE (PECL/mongodb-1.12.0.tgz) = 1392375 +TIMESTAMP = 1678256312 +SHA256 (PECL/mongodb-1.15.1.tgz) = b2038e778d71f45cadb8c93a30eb548e5c2c1e4f832807a775ed516b7816b749 +SIZE (PECL/mongodb-1.15.1.tgz) = 1742236 diff --git a/databases/pecl-mongodb/files/patch-src_libmongocrypt_src_mongocrypt-util.c b/databases/pecl-mongodb/files/patch-src_libmongocrypt_src_mongocrypt-util.c new file mode 100644 index 000000000000..0dd47a80bbe5 --- /dev/null +++ b/databases/pecl-mongodb/files/patch-src_libmongocrypt_src_mongocrypt-util.c @@ -0,0 +1,20 @@ +--- src/libmongocrypt/src/mongocrypt-util.c.orig 2023-02-09 10:59:51 UTC ++++ src/libmongocrypt/src/mongocrypt-util.c +@@ -37,6 +37,8 @@ + + #include + ++#define FreeBSD 1 ++ + #ifdef _WIN32 + #include + #else +@@ -78,7 +80,7 @@ current_module_path () + } + free (path); + } +-#elif defined(_GNU_SOURCE) || defined(_DARWIN_C_SOURCE) ++#elif defined(FreeBSD) || defined(_GNU_SOURCE) || defined(_DARWIN_C_SOURCE) + // Darwin/BSD/glibc define extensions for finding dynamic library info from + // the address of a symbol. + Dl_info info; diff --git a/databases/pecl-mongodb/files/patch-src_libmongocrypt_src_os__posix_os__dll.c b/databases/pecl-mongodb/files/patch-src_libmongocrypt_src_os__posix_os__dll.c new file mode 100644 index 000000000000..9f3537ad51bc --- /dev/null +++ b/databases/pecl-mongodb/files/patch-src_libmongocrypt_src_os__posix_os__dll.c @@ -0,0 +1,10 @@ +--- src/libmongocrypt/src/os_posix/os_dll.c.orig 2023-02-09 10:59:51 UTC ++++ src/libmongocrypt/src/os_posix/os_dll.c +@@ -17,6 +17,7 @@ + + #include "../mongocrypt-dll-private.h" + ++#define _WIN32 + #ifndef _WIN32 + + #include