From nobody Sat Aug 26 09:30:39 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 4RXs4b37y2z4rWmD; Sat, 26 Aug 2023 09:30:39 +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 4RXs4b2R2Pz4HVn; Sat, 26 Aug 2023 09:30:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693042239; 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=HBC3SanW+DNzTHFmrcDplsCDS6AVPTKV/zlKaFgWNek=; b=NSJumXnRZSWdulyUoVm/t3YgFljQx6/Q5wGFpS16E+4Okf5E4L34Uo9gdaEqj2FQtMU4qz ZPYqJfYsdwV5sSvFr+ksgNCvvDLGkqQX6c+wYu1P9c62OVmOBtlBbFtzSIlhhepHxKrUrb b3fpcqWs21tfr5bi+hW5a2fvCZiqQqhsSMeEq8ZR6OY4dtmp52SlMOVyYN4WyvQYhiCc67 brkOe+nNSBqgQypAFQo5ku8gEaMh6ISXKD5KG2KHnPMRRRAC45wmcSn32v2UX6m7Tg1sCa zn1kP2xQQFkqTtdlQwh7U2ixCOlvNgnUNTPeEa5Du6aTEq/ak374RyIxYks1sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693042239; 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=HBC3SanW+DNzTHFmrcDplsCDS6AVPTKV/zlKaFgWNek=; b=GQbATDlOu1JSyckF9NK095FicfyESiyVVvPGXCq/HegX0OSm7qqoggAXcMDR6N+7HTkhRx s2Ul9k6MaHztk9CKmbojtkmlaytFAYh2wQ3mLS9LJ5/in84wgqKWs4rqgiN6TYnZf2yo6F K6An4gEFhOWvu6AKSKtk1L8DH26o47axKBMtmSucp+tJXmuhJACmi2SKhgvznI9w5u+tc4 9pXjprRfEr29QK7LGl+89zjDcMy8m3nPW25Tgs4uCptnjtfTBLTLMa942tTPzRxElwuVX0 Mjxa9kVbSxKGfWdGM17AOOwFFfSThQVPDGgVigGRK3RebYsadvS7zovXgnainA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693042239; a=rsa-sha256; cv=none; b=tQw8P4/Oed7OyBbMX431L3yl9nOSYSoejCUCGdgjEttuEg2Hnz6D5Q+RcrVpNT0tdHg81N jnNjw4LHnv80nhi6uLX9iYVf1tKryT7GiIb72aVQO1uJz5/v8y8SasJFL5/IkudItjUmKY LJlwufuG0zN94Gq1+hxKjKb3zTxPHrUk2ssi56kbLp0X49CUQkNtAwI0gKg0vHamPesvPG e3YgRer5RN5TXgk8Y+oTHP+q33D+UBhi0BvCIRdcR6LnUvECpTn9Mdk4FzCAs4fmWzGFmw hMmCTHxoKlczyizLtx8UXm1JiOZU36Kh6ozIrI9XkRRJ378jHL+NnuTiO1eVHQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RXs4b1JsmzVfl; Sat, 26 Aug 2023 09:30:39 +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 37Q9UdFG089654; Sat, 26 Aug 2023 09:30:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37Q9Udbu089652; Sat, 26 Aug 2023 09:30:39 GMT (envelope-from git) Date: Sat, 26 Aug 2023 09:30:39 GMT Message-Id: <202308260930.37Q9Udbu089652@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: ff1f6373307a - main - net/pecl-smbclient: Fix build with Clang 16 on i386 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: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ff1f6373307affd657ab90b40701a5500783e484 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=ff1f6373307affd657ab90b40701a5500783e484 commit ff1f6373307affd657ab90b40701a5500783e484 Author: Po-Chuan Hsieh AuthorDate: 2023-08-26 09:27:27 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-08-26 09:27:27 +0000 net/pecl-smbclient: Fix build with Clang 16 on i386 /wrkdirs/usr/ports/net/pecl-smbclient/work-php80/smbclient-1.1.1/smb_streams.c:328:2: error: incompatible function pointer types initializing 'int (*)(php_stream *, zend_off_t, int, zend_off_t *)' (aka 'int (*)(struct _php_stream *, int, int, int *)') with an expression of type 'int (php_stream *, off_t, int, off_t *)' (aka 'int (struct _php_stream *, long long, int, long long *)') [-Wincompatible-function-pointer-types] php_smb_ops_seek, ^~~~~~~~~~~~~~~~ 1 error generated. --- net/pecl-smbclient/files/patch-smb_streams.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/net/pecl-smbclient/files/patch-smb_streams.c b/net/pecl-smbclient/files/patch-smb_streams.c new file mode 100644 index 000000000000..29df0d7c1415 --- /dev/null +++ b/net/pecl-smbclient/files/patch-smb_streams.c @@ -0,0 +1,11 @@ +--- smb_streams.c.orig 2023-04-17 03:27:10 UTC ++++ smb_streams.c +@@ -270,7 +270,7 @@ static int php_smb_ops_stat(php_stream *stream, php_st + return 0; + } + +-static int php_smb_ops_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_DC) ++static int php_smb_ops_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffset TSRMLS_DC) + { + STREAM_DATA_FROM_STREAM(); +