Upgrade SPX to v0.4.12 (#566)

pull/567/head 1.5.9
Michele Locati 2022-04-21 15:43:20 +02:00 committed by GitHub
parent 938be74cb0
commit 6faf051b48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -81,8 +81,8 @@ We need to monitor new releases at https://github.com/jvoisin/snuffleupagus/rele
## spx
Currenly the `spx` PHP extension installs with a commit version.
We should switch to a tagged realease when it will be available (see https://github.com/NoiseByNorthwest/php-spx/issues/174).
The `spx` PHP extension is not available in the PECL archive, so we install it manually.
We need to monitor new releases at https://github.com/NoiseByNorthwest/php-spx/tags
### sqlsrv / pdo_sqlsrv

View File

@ -2935,7 +2935,7 @@ installRemoteModule() {
spx)
if test -z "$installRemoteModule_path"; then
if test -z "$installRemoteModule_version"; then
installRemoteModule_version=6eba1a5839d0ce8dc71148ed723c72fe06c69600
installRemoteModule_version=v0.4.12
fi
if test "${installRemoteModule_version%.*}" = "$installRemoteModule_version"; then
installRemoteModule_displayVersion="$installRemoteModule_version"
@ -2944,7 +2944,6 @@ installRemoteModule() {
fi
installRemoteModule_src="$(getPackageSource https://codeload.github.com/NoiseByNorthwest/php-spx/tar.gz/$installRemoteModule_version)"
cd -- "$installRemoteModule_src"
sed -Ei "s/^([ \t]*#define[ \t]+PHP_SPX_VERSION[ \t]+\")0.4.10(\")/\1git--master-$installRemoteModule_displayVersion\2/" src/php_spx.h
phpize
./configure
make -j$(getProcessorCount) install