diff options
Diffstat (limited to 'development/hhvm')
-rw-r--r-- | development/hhvm/hhvm.SlackBuild | 4 | ||||
-rw-r--r-- | development/hhvm/hhvm.info | 8 | ||||
-rw-r--r-- | development/hhvm/http_build_query_numeric_prefix.patch | 90 |
3 files changed, 5 insertions, 97 deletions
diff --git a/development/hhvm/hhvm.SlackBuild b/development/hhvm/hhvm.SlackBuild index bb40b4af433d4..32753774955ed 100644 --- a/development/hhvm/hhvm.SlackBuild +++ b/development/hhvm/hhvm.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=hhvm -VERSION=${VERSION:-3.15.6} +VERSION=${VERSION:-3.18.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -64,8 +64,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -patch -R -p1 < $CWD/http_build_query_numeric_prefix.patch - export CMAKE_PREFIX_PATH=`pwd` cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS -lncursesw" \ diff --git a/development/hhvm/hhvm.info b/development/hhvm/hhvm.info index 584a6d6d34388..d117c8fecdbfb 100644 --- a/development/hhvm/hhvm.info +++ b/development/hhvm/hhvm.info @@ -1,10 +1,10 @@ PRGNAM="hhvm" -VERSION="3.15.6" +VERSION="3.18.2" HOMEPAGE="http://hhvm.com/" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="http://download.dlackware.com/hosted-sources/hhvm/hhvm-3.15.6.tar.xz" -MD5SUM_x86_64="5b7f40012f85de3482043815e0553a23" -REQUIRES="tbb glog ocamlbuild dwarf oniguruma libmemcached krb5 lz4" +DOWNLOAD_x86_64="http://download.dlackware.com/hosted-sources/hhvm/hhvm-3.18.2.tar.xz" +MD5SUM_x86_64="4856b90c4285c5f2d35c1d18c12163a9" +REQUIRES="tbb glog dwarf oniguruma libmemcached krb5 lz4" MAINTAINER="Eugene Wissner" EMAIL="belka@caraus.de" diff --git a/development/hhvm/http_build_query_numeric_prefix.patch b/development/hhvm/http_build_query_numeric_prefix.patch deleted file mode 100644 index a5ad48539c24f..0000000000000 --- a/development/hhvm/http_build_query_numeric_prefix.patch +++ /dev/null @@ -1,90 +0,0 @@ -diff --git a/hphp/runtime/ext/url/ext_url.cpp b/hphp/runtime/ext/url/ext_url.cpp -index e58b63c..355ac77 100644 ---- a/hphp/runtime/ext/url/ext_url.cpp -+++ b/hphp/runtime/ext/url/ext_url.cpp -@@ -205,7 +205,7 @@ static void url_encode_array(StringBuffer &ret, const Variant& varr, - const StaticString s_arg_separator_output("arg_separator.output"); - - Variant HHVM_FUNCTION(http_build_query, const Variant& formdata, -- const Variant& numeric_prefix /* = null_string */, -+ const String& numeric_prefix /* = null_string */, - const String& arg_separator /* = null_string */, - int enc_type /* = k_PHP_QUERY_RFC1738 */) { - if (!formdata.isArray() && !formdata.is(KindOfObject)) { -@@ -222,14 +222,8 @@ Variant HHVM_FUNCTION(http_build_query, const Variant& formdata, - - StringBuffer ret(1024); - std::set<void*> seen_arrs; -- -- String num_prefix; -- if (!numeric_prefix.isNull()) -- { -- num_prefix = numeric_prefix.toCStrRef(); -- } - url_encode_array(ret, formdata, seen_arrs, -- num_prefix, String(), String(), arg_sep, -+ numeric_prefix, String(), String(), arg_sep, - enc_type != k_PHP_QUERY_RFC3986); - return ret.detach(); - } -diff --git a/hphp/runtime/ext/url/ext_url.h b/hphp/runtime/ext/url/ext_url.h -index 94ebe56..9339eed 100644 ---- a/hphp/runtime/ext/url/ext_url.h -+++ b/hphp/runtime/ext/url/ext_url.h -@@ -43,7 +43,7 @@ Array HHVM_FUNCTION(get_meta_tags, const String& filename, - bool use_include_path /* = false */); - - Variant HHVM_FUNCTION(http_build_query, const Variant& formdata, -- const Variant& numeric_prefix /* = null_string */, -+ const String& numeric_prefix /* = null_string */, - const String& arg_separator /* = null_string */, - int enc_type = k_PHP_QUERY_RFC1738); - Variant HHVM_FUNCTION(parse_url, const String& url, -diff --git a/hphp/runtime/ext/url/ext_url.php b/hphp/runtime/ext/url/ext_url.php -index 4c016c4..a858c12 100644 ---- a/hphp/runtime/ext/url/ext_url.php -+++ b/hphp/runtime/ext/url/ext_url.php -@@ -81,7 +81,7 @@ function get_meta_tags(string $filename, - <<__Native, __IsFoldable>> - function http_build_query( - mixed $query_data, -- ?string $numeric_prefix = "", -+ string $numeric_prefix = "", - string $arg_separator = "", - int $enc_type = PHP_QUERY_RFC1738): mixed; - -diff --git a/hphp/test/slow/ext_url/http_build_query_numeric_prefix.php b/hphp/test/slow/ext_url/http_build_query_numeric_prefix.php -deleted file mode 100644 -index 43c3473..0000000 ---- a/hphp/test/slow/ext_url/http_build_query_numeric_prefix.php -+++ /dev/null -@@ -1,14 +0,0 @@ --<?php --$query = array( -- 0 => "4.6.1", -- 'php' => "7.0.99-hhvm", -- 'locale' => "de_DE", -- 'mysql' => "5.5.5", -- 'local_package' => "de_DE", -- 'blogs' => 1, -- 'users' => 5, -- 8 => 0, -- 'initial_db_version' => 27916, --); --var_dump(http_build_query($query, null, "&")); --var_dump(http_build_query($query, 52, "&")); -diff --git a/hphp/test/slow/ext_url/http_build_query_numeric_prefix.php.expect b/hphp/test/slow/ext_url/http_build_query_numeric_prefix.php.expect -deleted file mode 100644 -index 01cad12..0000000 ---- a/hphp/test/slow/ext_url/http_build_query_numeric_prefix.php.expect -+++ /dev/null -@@ -1,2 +0,0 @@ --string(113) "0=4.6.1&php=7.0.99-hhvm&locale=de_DE&mysql=5.5.5&local_package=de_DE&blogs=1&users=5&8=0&initial_db_version=27916" --string(117) "520=4.6.1&php=7.0.99-hhvm&locale=de_DE&mysql=5.5.5&local_package=de_DE&blogs=1&users=5&528=0&initial_db_version=27916" -diff --git a/hphp/test/slow/ext_url/http_build_query_numeric_prefix.php.opts b/hphp/test/slow/ext_url/http_build_query_numeric_prefix.php.opts -deleted file mode 100644 -index 7dbaa00..0000000 ---- a/hphp/test/slow/ext_url/http_build_query_numeric_prefix.php.opts -+++ /dev/null -@@ -1 +0,0 @@ ---dhhvm.php7.all=true |