mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
testing/php85-pecl-yaml: upgrade to 2.2.5
This commit is contained in:
parent
9467df2210
commit
f471c1b0d3
@ -2,8 +2,8 @@
|
||||
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
|
||||
pkgname=php85-pecl-yaml
|
||||
_extname=yaml
|
||||
pkgver=2.2.4
|
||||
pkgrel=1
|
||||
pkgver=2.2.5
|
||||
pkgrel=0
|
||||
pkgdesc="YAML syntax bindings for PHP 8.5 - PECL"
|
||||
url="https://pecl.php.net/package/yaml"
|
||||
arch="all"
|
||||
@ -12,8 +12,7 @@ _phpv=85
|
||||
_php=php$_phpv
|
||||
depends="$_php-common"
|
||||
makedepends="$_php-dev yaml-dev"
|
||||
source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz
|
||||
fix-smart-string.patch"
|
||||
source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
|
||||
builddir="$srcdir/$_extname-$pkgver"
|
||||
|
||||
install_if="php-$_extname php$_phpv"
|
||||
@ -38,6 +37,5 @@ package() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
f16a241ff54cc53017b29f13cf0683b254950429bbe627798b23c24cf0e938cdf9123cc53c028a0aca25de9e6e385e536695d65cd418271f8eef194fa9e234e5 php-pecl-yaml-2.2.4.tgz
|
||||
5317a1182b0defe000d11391be052045cdf7b57e6d26c32a32516fecee20e26b26c11c0e7bc2d8129b0d71df3524905216729dd460407dc0e58d2b6d7c60e0fc fix-smart-string.patch
|
||||
76243e277ab6b42bd221f5f620fbee6a94d7f2277331fc9d5c3d1c19ef799dd5b779ad98b2899bd8186bac615ffccc50ed5589acd13a317da823a084b5ae1db3 php-pecl-yaml-2.2.5.tgz
|
||||
"
|
||||
|
@ -1,26 +0,0 @@
|
||||
Patch-Source: https://github.com/php/pecl-file_formats-yaml/pull/92/commits/55ab0f8fd30b564e30caec6ffb7c16965e588871
|
||||
From 55ab0f8fd30b564e30caec6ffb7c16965e588871 Mon Sep 17 00:00:00 2001
|
||||
From: Remi Collet <remi@remirepo.net>
|
||||
Date: Wed, 30 Jul 2025 13:51:43 +0200
|
||||
Subject: [PATCH] use Zend/zend_smart_string.h
|
||||
|
||||
---
|
||||
php_yaml.h | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/php_yaml.h b/php_yaml.h
|
||||
index c286ff5..82240da 100644
|
||||
--- a/php_yaml.h
|
||||
+++ b/php_yaml.h
|
||||
@@ -53,7 +53,11 @@ extern "C" {
|
||||
#include <ext/standard/base64.h>
|
||||
#include <ext/standard/basic_functions.h>
|
||||
#include <ext/standard/php_var.h>
|
||||
+#if PHP_VERSION_ID < 70200
|
||||
#include <ext/standard/php_smart_string.h>
|
||||
+#else
|
||||
+#include <Zend/zend_smart_string.h>
|
||||
+#endif
|
||||
#include <Zend/zend_extensions.h>
|
||||
#include <Zend/zend_hash.h>
|
||||
#include <Zend/zend_interfaces.h>
|
Loading…
Reference in New Issue
Block a user