Files
macports-ports/php/php-xhprof/files/callgraph_utils.php.patch
2023-11-16 06:36:16 -06:00

12 lines
440 B
Diff

--- xhprof_lib/utils/callgraph_utils.php.orig 2022-12-13 22:29:40.000000000 -0600
+++ xhprof_lib/utils/callgraph_utils.php 2023-11-16 06:17:46.000000000 -0600
@@ -107,7 +107,7 @@
2 => array("pipe", "w")
);
- $cmd = " dot -T".$type;
+ $cmd = " @PREFIX@/bin/dot -T".$type;
$process = proc_open( $cmd, $descriptorspec, $pipes, sys_get_temp_dir(), array( 'PATH' => getenv( 'PATH' ) ) );
if (is_resource($process)) {