diff options
author | Vladimir Druzenko <vvd@FreeBSD.org> | 2025-08-29 04:09:04 +0300 |
---|---|---|
committer | Vladimir Druzenko <vvd@FreeBSD.org> | 2025-08-29 04:10:40 +0300 |
commit | 5f77ba801f509b9565cd2b6f8fe24feeca6edef7 (patch) | |
tree | 09da0e467b6f645c2a032c93010012580cefc9f1 /www/phpvirtualbox-72/files | |
parent | devel/ruby-build: Update to 20250829 (diff) |
www/phpvirtualbox-72: Repocopy from www/phpvirtualbox-71
PR: 289019
Diffstat (limited to 'www/phpvirtualbox-72/files')
-rw-r--r-- | www/phpvirtualbox-72/files/patch-endpoints_lib_config.php | 10 | ||||
-rw-r--r-- | www/phpvirtualbox-72/files/patch-endpoints_lib_vboxconnector.php | 21 |
2 files changed, 31 insertions, 0 deletions
diff --git a/www/phpvirtualbox-72/files/patch-endpoints_lib_config.php b/www/phpvirtualbox-72/files/patch-endpoints_lib_config.php new file mode 100644 index 000000000000..82de95a4947b --- /dev/null +++ b/www/phpvirtualbox-72/files/patch-endpoints_lib_config.php @@ -0,0 +1,10 @@ +--- endpoints/lib/config.php.orig 2025-04-26 04:11:44 UTC ++++ endpoints/lib/config.php +@@ -143,6 +143,7 @@ class phpVBoxConfigClass { + // added vars to satisfy PHP 8.2+ dynamic property deprecation + var $enableAdvancedConfig; + var $enableHDFlushConfig; ++ var $authMaster = false; + + /** + * Read user configuration, apply defaults, and do some sanity checking diff --git a/www/phpvirtualbox-72/files/patch-endpoints_lib_vboxconnector.php b/www/phpvirtualbox-72/files/patch-endpoints_lib_vboxconnector.php new file mode 100644 index 000000000000..3ce4bd1b67fa --- /dev/null +++ b/www/phpvirtualbox-72/files/patch-endpoints_lib_vboxconnector.php @@ -0,0 +1,21 @@ +--- endpoints/lib/vboxconnector.php.orig 2025-03-09 01:02:03 UTC ++++ endpoints/lib/vboxconnector.php +@@ -113,6 +113,8 @@ class vboxconnector { + */ + var $dsep = null; + ++ var $client = null; ++ + /** + * Obtain configuration settings and set object vars + * @param boolean $useAuthMaster use the authentication master obtained from configuration class +@@ -388,7 +390,8 @@ class vboxconnector { + + // The amount of time we will wait for events is determined by + // the amount of listeners - at least half a second +- $listenerWait = max(100,intval(500/count($this->persistentRequest['vboxEventListeners']))); ++ $listenerCount = count($this->persistentRequest['vboxEventListeners']); ++ $listenerWait = max(100,intval(500/($listenerCount > 0 ? $listenerCount : 1))); + } + + // Get events from each configured event listener |