Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Oct 2013 18:29:37 GMT
From:      Horia Racoviceanu <horia@racoviceanu.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182710: Port www/mediawiki120 Fatal error: Call to undefined function hash() [patch]
Message-ID:  <201310051829.r95ITbM8071289@oldred.freebsd.org>
Resent-Message-ID: <201310051830.r95IU0OX008258@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182710
>Category:       ports
>Synopsis:       Port www/mediawiki120 Fatal error: Call to undefined function hash() [patch]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 05 18:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Horia Racoviceanu
>Release:        FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
FreeBSD horia.lan 9.1-RELEASE-p7 FreeBSD 9.1-RELEASE-p7 #0: Mon Sep  9 21:34:37 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Fatal error: Call to undefined function hash() in /usr/local/www/mediawiki/includes/CryptRand.php on line 259
>How-To-Repeat:

>Fix:
Makefile
- Add USE_PHP=hash


Build log
https://redports.org/buildarchive/20131005171700-37607/

Patch attached with submission follows:

diff -ruN mediawiki120-orig/Makefile mediawiki120/Makefile
--- mediawiki120-orig/Makefile	2013-09-20 19:36:50.000000000 -0400
+++ mediawiki120/Makefile	2013-10-05 13:10:34.000000000 -0400
@@ -15,7 +15,7 @@
 
 FETCH_ARGS=	-pr
 NO_LATEST_LINK=	yes
-USE_PHP=	ctype iconv mbstring pcre session xml zlib readline dom
+USE_PHP=	ctype iconv mbstring pcre session xml zlib readline dom hash
 WANT_PHP_WEB=	yes
 MEDIAWIKIDIR?=	www/mediawiki
 


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310051829.r95ITbM8071289>