1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/www/mediawiki112/files/patch-index.php
Cheng-Lung Sung c4d3b40529 - Update the MediaWiki 1.6 port to locate the diff3 util on
FreeBSD correctly.
- bump PORTREVISION

Thanks to Mikhail Teterin for this patch.

PR:		ports/99685
Submitted by:	maintainer (Gerrit Beine)
2006-07-01 17:34:39 +00:00

12 lines
566 B
PHP

--- config/index.php.orig Tue Jun 6 11:04:04 2006
+++ config/index.php Sat Jul 1 13:27:04 2006
@@ -340,7 +340,7 @@
$diff3locations = array("/usr/bin", "/opt/csw/bin", "/usr/gnu/bin", "/usr/sfw/bin") + explode($sep, getenv("PATH"));
$diff3names = array("gdiff3", "diff3", "diff3.exe");
-$diff3versioninfo = array('$1 --version 2>&1', 'diff3 (GNU diffutils)');
+$diff3versioninfo = array('$1 --version 2>&1', 'diff3 - GNU diffutils');
foreach ($diff3locations as $loc) {
$exe = locate_executable($loc, $diff3names, $diff3versioninfo);
if ($exe !== false) {