mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
testing/php85-pecl-igbinary: add patch for alpha3
Ref https://github.com/igbinary/igbinary/pull/398
This commit is contained in:
parent
cb54be6765
commit
3732cfab4d
@ -2,7 +2,7 @@
|
||||
pkgname=php85-pecl-igbinary
|
||||
_extname=igbinary
|
||||
pkgver=3.2.16
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Igbinary is a drop in replacement for the standard PHP 8.5 serializer - PECL"
|
||||
url="https://pecl.php.net/package/igbinary"
|
||||
arch="all"
|
||||
@ -13,7 +13,9 @@ depends="$_php-common"
|
||||
makedepends="$_php-dev $_php-pecl-apcu"
|
||||
checkdepends="$_php-session" # sessions needs work https://github.com/igbinary/igbinary/issues/116
|
||||
source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz
|
||||
fix-test.patch"
|
||||
fix-test.patch
|
||||
fix-smart-string.patch
|
||||
"
|
||||
builddir="$srcdir/$_extname-$pkgver"
|
||||
|
||||
install_if="php-$_extname php$_phpv"
|
||||
@ -46,4 +48,5 @@ package() {
|
||||
sha512sums="
|
||||
ad806ad42398e2355b18d7f99da6ac176a8d5de829cc9d7c0c38a211f4092cafdde80f6fa989dbdc77ea912e054ce88825675c727afd3a6e0d3150b3796a7bcd php-pecl-igbinary-3.2.16.tgz
|
||||
dabbf960d5889b4c4aa468c2e7b6e35be582168c88dff908258801be4b191c70c9796946c2c5c42d771ca801f2f9c8e8f669d7c821eeae9ea15cdf9ebd31e528 fix-test.patch
|
||||
b531587e33d27709fd0b35955868999fc58dba12123a291bf797bb092036ce33ba8d9e47d1fe18b5d01f4045c74641d8a2ec70aa346ce8a246f13226e0f84054 fix-smart-string.patch
|
||||
"
|
||||
|
26
testing/php85-pecl-igbinary/fix-smart-string.patch
Normal file
26
testing/php85-pecl-igbinary/fix-smart-string.patch
Normal file
@ -0,0 +1,26 @@
|
||||
Patch-Source: https://github.com/igbinary/igbinary/pull/398/commits/c7fe8aad3d7894bb85f5a189eba60dec9203950d
|
||||
From c7fe8aad3d7894bb85f5a189eba60dec9203950d Mon Sep 17 00:00:00 2001
|
||||
From: Remi Collet <remi@remirepo.net>
|
||||
Date: Wed, 30 Jul 2025 11:38:30 +0200
|
||||
Subject: [PATCH] use Zend/zend_smart_string.h
|
||||
|
||||
---
|
||||
src/php7/php_igbinary.h | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/src/php7/php_igbinary.h b/src/php7/php_igbinary.h
|
||||
index 07312b76..d64c3702 100644
|
||||
--- a/src/php7/php_igbinary.h
|
||||
+++ b/src/php7/php_igbinary.h
|
||||
@@ -32,7 +32,11 @@ ZEND_END_MODULE_GLOBALS(igbinary)
|
||||
#include "TSRM.h"
|
||||
#endif
|
||||
|
||||
+#if PHP_VERSION_ID < 70200
|
||||
#include "ext/standard/php_smart_string.h"
|
||||
+#else
|
||||
+#include "Zend/zend_smart_string.h"
|
||||
+#endif
|
||||
|
||||
/** Module init function. */
|
||||
PHP_MINIT_FUNCTION(igbinary);
|
Loading…
Reference in New Issue
Block a user