Add Foreign Function Interface to PHP 7.4

This commit is contained in:
cytopia
2019-01-11 00:21:13 +01:00
parent 6cd2ef4a1b
commit b1d4c97db4
3 changed files with 34 additions and 1 deletions

View File

@@ -710,6 +710,7 @@ extensions_enabled:
- dom
- enchant
- exif
- ffi
- fileinfo
- filter
- ftp
@@ -896,6 +897,20 @@ extensions_available:
exif:
all:
type: builtin
ffi:
disabled: [5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3]
all:
type: git
git_url: https://github.com/dstogov/php-ffi
command: |
curl -sS -O https://github.com/fpoirotte/php-ffi/commit/734630fe3d2e3efd343d3f3636b58446abd9c941.diff \
&& git apply 734630fe3d2e3efd343d3f3636b58446abd9c941.diff \
&& phpize \
&& ./configure --with-ffi \
&& make -j$(getconf _NPROCESSORS_ONLN) \
&& make install \
build_dep: [libffi-dev]
run_dep: [libffi6]
fileinfo:
already_avail: [5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4]
5.2: