git: 63ab2971db49 - main - net/pecl-smbclient: Update to 1.1.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 25 Dec 2024 19:19:17 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=63ab2971db49a90e69ce3fbcc16d3e15ce9f3ea5

commit 63ab2971db49a90e69ce3fbcc16d3e15ce9f3ea5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-12-25 18:47:58 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-12-25 19:15:16 +0000

    net/pecl-smbclient: Update to 1.1.2
    
    Changes:        https://pecl.php.net/package-changelog.php?package=smbclient
                    https://github.com/eduardok/libsmbclient-php/releases
---
 net/pecl-smbclient/Makefile                  |  2 +-
 net/pecl-smbclient/distinfo                  |  6 +++---
 net/pecl-smbclient/files/patch-smb_streams.c | 11 -----------
 net/pecl-smbclient/files/patch-smbclient.c   | 20 --------------------
 4 files changed, 4 insertions(+), 35 deletions(-)

diff --git a/net/pecl-smbclient/Makefile b/net/pecl-smbclient/Makefile
index f33ca7f14f55..247373a2e0ef 100644
--- a/net/pecl-smbclient/Makefile
+++ b/net/pecl-smbclient/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	smbclient
-PORTVERSION=	1.1.1
+PORTVERSION=	1.1.2
 CATEGORIES=	net pear
 
 MAINTAINER=	sunpoet@FreeBSD.org
diff --git a/net/pecl-smbclient/distinfo b/net/pecl-smbclient/distinfo
index 2742827df95b..1ab3e61c2994 100644
--- a/net/pecl-smbclient/distinfo
+++ b/net/pecl-smbclient/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1681843846
-SHA256 (PECL/smbclient-1.1.1.tgz) = 84520d5c73f8b7c9f590371c510ccf1f0d77405cf9a76726687359e6df9e96b2
-SIZE (PECL/smbclient-1.1.1.tgz) = 35405
+TIMESTAMP = 1734888132
+SHA256 (PECL/smbclient-1.1.2.tgz) = 1e6a744563aac700815e571ad98b1135a84e840d44e6ac67997494c780a9cde7
+SIZE (PECL/smbclient-1.1.2.tgz) = 35517
diff --git a/net/pecl-smbclient/files/patch-smb_streams.c b/net/pecl-smbclient/files/patch-smb_streams.c
deleted file mode 100644
index 29df0d7c1415..000000000000
--- a/net/pecl-smbclient/files/patch-smb_streams.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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();
- 
diff --git a/net/pecl-smbclient/files/patch-smbclient.c b/net/pecl-smbclient/files/patch-smbclient.c
deleted file mode 100644
index 925dcb108078..000000000000
--- a/net/pecl-smbclient/files/patch-smbclient.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- smbclient.c.orig	2023-04-17 03:27:10 UTC
-+++ smbclient.c
-@@ -1202,7 +1202,7 @@ PHP_FUNCTION(smbclient_read)
- 		return;
- 	}
- 	if (count < 0) {
--		php_error(E_WARNING, "Negative byte count: %ld", count);
-+		php_error(E_WARNING, "Negative byte count: " ZEND_LONG_FMT, count);
- 		RETURN_FALSE;
- 	}
- 	STATE_FROM_ZSTATE;
-@@ -1253,7 +1253,7 @@ PHP_FUNCTION(smbclient_write)
- 		return;
- 	}
- 	if (count < 0) {
--		php_error(E_WARNING, "Negative byte count: %ld", count);
-+		php_error(E_WARNING, "Negative byte count: " ZEND_LONG_FMT, count);
- 		RETURN_FALSE;
- 	}
- 	if (count == 0 || count > str_len) {