facebook/hiphop-php — pull request #522 by onthefly (2012-06-21 18:59:27+00:00)
Title: Update master

It does not compile under FreeBSD 9:
=========
/root/hhbuild/hiphop-php/src/runtime/base/preg.cpp: In function 'HPHP::pcre_cache_entry* HPHP::pcre_get_compiled_regex_cache(HPHP::CStrRef)':
/root/hhbuild/hiphop-php/src/runtime/base/preg.cpp:138:38: error: 'pcre_info' was not declared in this scope
*** Error code 1
Stop in /root/hhbuild/hiphop-php.
=========

pcre_info in 9.0-release and ports shows it as obsolete and replaced by pcre_fullinfo() so we need to fix it in line 138

-	if (pcre_info(pce->re, NULL, NULL) == PCRE_ERROR_BADMAGIC) {
+	if (pcre_fullinfo(pce->re, NULL, NULL, NULL) == PCRE_ERROR_BADMAGIC) {

With this patch hiphop-php was compiled successful.