git.iko.soy/typeable/nixpkgs
on master help sign in
hhvm: 3.15.8 -> 3.21
commit80351add5ade1c5e754d83332182dd2343e6632d authorPiotr Bogdan <ppbogdan@gmail.com> dateWed 30 Aug 2017, 18:40 (9 years ago) parent51c247a
2 files changed+7−20
pkgs/development/compilers/hhvm/default.nix+7−7 pkgs/development/compilers/hhvm/flexible-array-members-gcc6.patch−13
pkgs/development/compilers/hhvm/default.nix+7−7
@@ -3,18 +3,18 @@
33, expat, libcap, oniguruma, libdwarf, libmcrypt, tbb, gperftools, glog, libkrb5
44, bzip2, openldap, readline, libelf, uwimap, binutils, cyrus_sasl, pam, libpng
55, libxslt, ocaml, freetype, gdb, git, perl, mariadb, gmp, libyaml, libedit
6−, libvpx, imagemagick, fribidi, gperf
6+, libvpx, imagemagick, fribidi, gperf, which
77}:
88
99stdenv.mkDerivation rec {
1010 name = "hhvm-${version}";
11− version = "3.15.8";
11+ version = "3.21";
1212
1313 # use git version since we need submodules
1414 src = fetchgit {
1515 url = "https://github.com/facebook/hhvm.git";
16− rev = "983bdab781d9d7bff5f14a4a2827c2c217c500df";
17− sha256 = "0sbjwdy69x08c4w0vf83dcfx3fin8qqysl9pacy2j6p0hxvgn5r5";
16+ rev = "56483773e2edd9e61782f1901ce40e47959e71b8";
17+ sha256 = "0dmdk98nv04m0fv6909gfbsxqlkckn369yi7kadhir0r7vxsj7wa";
1818 fetchSubmodules = true;
1919 };
2020
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
2323 libevent gd curl libxml2 icu flex bison openssl zlib php expat libcap
2424 oniguruma libdwarf libmcrypt tbb gperftools bzip2 openldap readline
2525 libelf uwimap binutils cyrus_sasl pam glog libpng libxslt ocaml libkrb5
26− gmp libyaml libedit libvpx imagemagick fribidi gperf
26+ gmp libyaml libedit libvpx imagemagick fribidi gperf which
2727 ];
2828
2929 patches = [
@@ -43,10 +43,10 @@ stdenv.mkDerivation rec {
4343 cmakeFlags = "-DCMAKE_INSTALL_INCLUDEDIR=include";
4444
4545 prePatch = ''
46− substituteInPlace hphp/util/generate-buildinfo.sh \
47− --replace /bin/bash ${stdenv.shell}
4846 substituteInPlace ./configure \
4947 --replace "/usr/bin/env bash" ${stdenv.shell}
48+ substituteInPlace ./third-party/ocaml/CMakeLists.txt \
49+ --replace "/bin/bash" ${stdenv.shell}
5050 perl -pi -e 's/([ \t(])(isnan|isinf)\(/$1std::$2(/g' \
5151 hphp/runtime/base/*.cpp \
5252 hphp/runtime/ext/std/*.cpp \
pkgs/development/compilers/hhvm/flexible-array-members-gcc6.patch−13
@@ -1,16 +1,3 @@
1−diff --git a/hphp/runtime/vm/bytecode.h b/hphp/runtime/vm/bytecode.h
2−index ddc7b69..edf807c 100644
3−--- a/hphp/runtime/vm/bytecode.h
4−+++ b/hphp/runtime/vm/bytecode.h
5−@@ -124,7 +124,7 @@ private:
6− static void* allocMem(unsigned nargs);
7−
8− private:
9−- TypedValue m_extraArgs[];
10−+ TypedValue m_extraArgs[0];
11− TYPE_SCAN_FLEXIBLE_ARRAY_FIELD(m_extraArgs);
12− };
13−
141diff --git a/third-party/re2/src/re2/dfa.cc b/third-party/re2/src/re2/dfa.cc
152index 483f678..3aa3610 100644
163--- a/third-party/re2/src/re2/dfa.cc