Files
macports-ports/php/php-xhprof/files/callgraph_utils.php.0.9.4.patch

12 lines
400 B
Diff

--- xhprof_lib/utils/callgraph_utils.php.orig 2013-09-30 17:46:07.000000000 -0500
+++ xhprof_lib/utils/callgraph_utils.php 2023-11-16 06:19:42.000000000 -0600
@@ -107,7 +107,7 @@
2 => array("pipe", "w")
);
- $cmd = " dot -T".$type;
+ $cmd = " /opt/local/bin/dot -T".$type;
$process = proc_open($cmd, $descriptorspec, $pipes, "/tmp", array());
if (is_resource($process)) {