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:
parent
37273e4c98
commit
f6ff42f176
@ -1,6 +1,6 @@
|
|||||||
PORTNAME= radius
|
PORTNAME= radius
|
||||||
PORTVERSION= 1.4.0b1
|
PORTVERSION= 1.4.0b1
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= net security pear
|
CATEGORIES= net security pear
|
||||||
|
|
||||||
MAINTAINER= sunpoet@FreeBSD.org
|
MAINTAINER= sunpoet@FreeBSD.org
|
||||||
|
|||||||
10
net/pecl-radius/files/patch-radlib.c
Normal file
10
net/pecl-radius/files/patch-radlib.c
Normal 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();
|
||||||
Loading…
x
Reference in New Issue
Block a user