From nobody Thu Jan 18 19:40:22 2024 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 4TGClB6DKLz56pms; Thu, 18 Jan 2024 19:40:22 +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 4TGClB5BmKz4SPV; Thu, 18 Jan 2024 19:40:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705606822; 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=7aUiS7MDl5DwH7JSwMqAxflnDnQLaOwDjl24doWrwNc=; b=drb3x6qaEaxUYC0uxsU8PmDNrjB36kQrERvki8fn2rglKW5MPVvcfvSp5z1qW8dliV+xEQ jsJcrNXN1oyLnw/vM7UkDYmy11D1wT2Rz9cAMTcLs3MBRGm285HNkmGi1CLkgMkCslMRna A7wKERWrzBO5ryY067QUVeThzJhgN4IkUuyke6evZZUDBgSv8MsMafteuwGdU8L5XNV74p +Nl0MEpcJOgghoeTZcvEzDEv9vuMJuVwRxWvPELSdemHpjR9eqVUvmvZNJWnsMljhXqZuH s1ijaCkfm7jYrXEl2d1IZqWiJS/vrD6K6Xq+09lm8l8nHbJHpO+pTzcurjHIgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705606822; 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=7aUiS7MDl5DwH7JSwMqAxflnDnQLaOwDjl24doWrwNc=; b=NoFHhIzUIpfFBxn6fOCOXudG9X5wx5pSREy+NHTyTJ2uSglP1p45LbG9l24fcvTUNBHMwD 67p+tJfHcPY0D1HrFr47RslxoTZFeWiijAM3FdZhBp60f6RuMBWtlU5yCZZ6sN8wrxRByH 4i22FYxBEmJwzWOjoF6qsO1zu/zheuhDZRG4aHs6D1NVYlvRybWEUNRNCUNDWAT1jH1QHe czHG5CKJj6VDzo3zFiCXI3bj/zvVd3vCoOYBbjCj4E/OVUyttCA3rm+l9rZwAnkzDCuDmZ nwiocmSFU+zvSdeVuCLKKPYvf6CxG00SIF87GawYC0c3Xs2xRKaB82fYQVwI2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705606822; a=rsa-sha256; cv=none; b=Vv2npiCAFYtJUBBalRuEpqo52Q5oHWB02yOof+1XwHi0fkSnfnlwWIqSSWw/Sfn4452UJI NVUmn/oedMZo0+iHnx0Zx51eCHybsLFLcC8gGSAlY2WRc6QYnAUe5dmX7KBut2wPR07cnr d0Y/9zmxtOLmsFTX0EyVMT6wCb0KnxJg+tcYOh9UEEZPTUmcv6jeLbwEgDKo03QayiqesJ 4SNbuCjLqLzoIaKtWvBdj7R+hG5grU7MO5wHftlpAuXmSsbiHl5MnWT9eGy4SwHCHaDppy KvWUjqcH0nSrIfe228ocb2FOiDqigfWRd+5/eRsQtNindrClWTM7WFqtgG4usQ== 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 4TGClB48K3zL3b; Thu, 18 Jan 2024 19:40:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40IJeMm3009661; Thu, 18 Jan 2024 19:40:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40IJeMSG009658; Thu, 18 Jan 2024 19:40:22 GMT (envelope-from git) Date: Thu, 18 Jan 2024 19:40:22 GMT Message-Id: <202401181940.40IJeMSG009658@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 53cd0b886f04 - main - lang/php82: Fix 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 53cd0b886f04eaa4155190efc04dd651befb233e Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=53cd0b886f04eaa4155190efc04dd651befb233e commit 53cd0b886f04eaa4155190efc04dd651befb233e Author: Muhammad Moinur Rahman AuthorDate: 2024-01-18 19:39:55 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2024-01-18 19:40:17 +0000 lang/php82: Fix build PR: fluffy --- lang/php82/files/patch-main_fopen__wrappers.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/php82/files/patch-main_fopen__wrappers.c b/lang/php82/files/patch-main_fopen__wrappers.c index c07c9a867270..05063cbab4b4 100644 --- a/lang/php82/files/patch-main_fopen__wrappers.c +++ b/lang/php82/files/patch-main_fopen__wrappers.c @@ -1,11 +1,11 @@ ---- main/fopen_wrappers.c.orig 2024-01-17 22:32:57 UTC +--- main/fopen_wrappers.c.orig 2024-01-16 12:19:32 UTC +++ main/fopen_wrappers.c @@ -369,7 +369,11 @@ PHPAPI int php_fopen_primary_script(zend_file_handle * char *pwbuf; if (pwbuflen < 1) { +#if defined(__FreeBSD__) && defined(_SC_PAGESIZE) -+ buflen = sysconf(_SC_PAGESIZE); ++ pwbuflen = sysconf(_SC_PAGESIZE); +#else return FAILURE; +#endif