]> git.pld-linux.org Git - packages/hhvm.git/commitdiff
use "Tabasco" 30-Sep-2013 snapshot
authorElan Ruusamäe <glen@delfi.ee>
Sun, 6 Oct 2013 17:40:36 +0000 (20:40 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 6 Oct 2013 17:42:21 +0000 (20:42 +0300)
gcc4.8.patch [deleted file]
gd-syms.patch [deleted file]
hiphop-php.spec

diff --git a/gcc4.8.patch b/gcc4.8.patch
deleted file mode 100644 (file)
index ccdfb67..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
---- hiphop-php-HPHP-2.1.0/hphp/runtime/vm/jit/phys-reg.h~      2013-07-12 21:00:55.000000000 +0300
-+++ hiphop-php-HPHP-2.1.0/hphp/runtime/vm/jit/phys-reg.h       2013-10-06 02:59:16.294268856 +0300
-@@ -250,8 +250,13 @@
-   uint64_t m_bits;
- };
-+#if defined(__GNUC__) && (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)
-+static_assert(std::is_trivially_destructible<RegSet>::value,
-+              "RegSet must have a trivial destructor");
-+#else
- static_assert(std::has_trivial_destructor<RegSet>::value,
-               "RegSet must have a trivial destructor");
-+#endif
- //////////////////////////////////////////////////////////////////////
diff --git a/gd-syms.patch b/gd-syms.patch
deleted file mode 100644 (file)
index 1c4c885..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
---- hiphop-php-HPHP-2.1.0/hphp/runtime/ext/ext_image.cpp~      2013-07-12 18:00:55.000000000 +0000
-+++ hiphop-php-HPHP-2.1.0/hphp/runtime/ext/ext_image.cpp       2013-10-06 12:44:00.105141356 +0000
-@@ -4188,7 +4188,7 @@
-   return false;
- }
--// gdImageConvolution does not exist in our libgd.a, copied from
-+// hphp_gdImageConvolution does not exist in our libgd.a, copied from
- // php's libgd/gd.c
- /* Filters function added on 2003/12
-@@ -4200,7 +4200,7 @@
-   (src->trueColor?gdImageGetTrueColorPixel:gdImageGetPixel)
- #endif
--static int gdImageConvolution(gdImagePtr src, float filter[3][3],
-+static int hphp_gdImageConvolution(gdImagePtr src, float filter[3][3],
-                               float filter_div, float offset) {
-   int x, y, i, j, new_a;
-   float new_r, new_g, new_b;
-@@ -4290,7 +4290,7 @@
-       }
-     }
-   }
--  if (gdImageConvolution(im_src, mtx, div, offset)) {
-+  if (hphp_gdImageConvolution(im_src, mtx, div, offset)) {
-     return true;
-   } else {
-     return false;
index 7b90770fcd61298d6a5486867cf239f276330083..8f8e075cfe7e44c92832a926c3e28a2838227a59 100644 (file)
 #   make[2]: *** [src/hphp/hphp] Error 139
 #   relinking succeeds, but resulting binary segfaults as well:
 #   0x0000000000b9cc0b in HPHP::Extension::LoadModules(HPHP::Hdf) ()
+%define                githash 78394ee
+%define                rel             0.1
 Summary:       Virtual Machine, Runtime, and JIT for PHP
 Name:          hiphop-php
 Version:       2.1.0
-Release:       0.1
+Release:       0.%{githash}.%{rel}
 License:       PHP 3.01
 Group:         Development/Languages
-Source0:       https://github.com/facebook/hiphop-php/archive/HPHP-%{version}.tar.gz
-# Source0-md5: edd3d8b4371d38286c7c5f0c2582f5e1
+Source0:       https://github.com/facebook/hiphop-php/archive/%{githash}/HPHP-%{version}.%{githash}.tar.gz
+# Source0-md5: 81742a0535a6bab906208d3756b206d1
 # need fb.changes.patch, which is available for 1.4 only
 Source1:       http://www.monkey.org/~provos/libevent-1.4.14b-stable.tar.gz
 # Source1-md5: a00e037e4d3f9e4fe9893e8a2d27918c
@@ -28,8 +30,6 @@ Patch3:               system-xhp.patch
 Patch4:                system-libafdt.patch
 Patch5:                system-folly.patch
 Patch6:                boost-system-category.patch
-Patch7:                gcc4.8.patch
-Patch8:                gd-syms.patch
 URL:           http://wiki.github.com/facebook/hiphop-php/
 BuildRequires: binutils-devel
 BuildRequires: bison >= 2.3
@@ -79,11 +79,10 @@ HipHop is most commonly run as a standalone server, replacing both
 Apache and mod_php.
 
 %prep
-%setup -q -n %{name}-HPHP-%{version} -a1
+%setup -qc -a1
+mv %{name}-%{githash}*/* .
 %patch5 -p1
 %patch6 -p1
-%patch7 -p1
-%patch8 -p1
 
 ln -s libevent-1.4.*-stable libevent
 %{__patch} -d libevent -p1 < hphp/third_party/libevent-1.4.14.fb-changes.diff
@@ -162,6 +161,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc README.md hphp/NEWS
 %attr(755,root,root) %{_bindir}/hhvm
 %attr(755,root,root) %{_libdir}/libevent-1.4.so.*.*.*
 %ghost %{_libdir}/libevent-1.4.so.2
This page took 0.035022 seconds and 4 git commands to generate.