net/pecl-radius: Fix runtime

- Bump PORTREVISION for package change

PR:		284114
Reference:	https://www.php.net/manual/en/function.mt-srand.php
This commit is contained in:
Vyacheslav Pikalov 2025-05-18 11:25:07 +08:00 committed by Po-Chuan Hsieh
parent 37273e4c98
commit f6ff42f176
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 11 additions and 1 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= radius
PORTVERSION= 1.4.0b1
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= net security pear
MAINTAINER= sunpoet@FreeBSD.org

View File

@ -0,0 +1,10 @@
--- radlib.c.orig 2025-05-06 17:27:50 UTC
+++ radlib.c
@@ -748,7 +748,6 @@ rad_auth_open(void)
h = (struct rad_handle *)malloc(sizeof(struct rad_handle));
if (h != NULL) {
- php_srand(time(NULL) * getpid() * (unsigned long) (php_combined_lcg() * 10000.0));
h->fd = -1;
h->num_servers = 0;
h->ident = (zend_long) php_mt_rand();