mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
33
package/php-gnupg/0001-Remove-inlining-_phpc_res_close.patch
Normal file
33
package/php-gnupg/0001-Remove-inlining-_phpc_res_close.patch
Normal file
@@ -0,0 +1,33 @@
|
||||
From 887b0899d7e7423baec691255c2d8b56bb348ecd Mon Sep 17 00:00:00 2001
|
||||
From: Jakub Zelenka <bukka@php.net>
|
||||
Date: Sun, 14 Mar 2021 18:52:21 +0000
|
||||
Subject: [PATCH] Remove inlining _phpc_res_close
|
||||
|
||||
[Retrieved from:
|
||||
https://github.com/bukka/phpc/commit/887b0899d7e7423baec691255c2d8b56bb348ecd]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
phpc.h | 8 --------
|
||||
1 file changed, 8 deletions(-)
|
||||
|
||||
diff --git a/phpc/phpc.h b/phpc/phpc.h
|
||||
index dc5887e..9206105 100644
|
||||
--- a/phpc/phpc.h
|
||||
+++ b/phpc/phpc.h
|
||||
@@ -945,16 +945,8 @@ typedef zend_resource * phpc_res_value_t;
|
||||
zend_fetch_resource2(Z_RES_P(_pz_res), _res_type_name, _res_type_1, _res_type_2)
|
||||
#define PHPC_RES_DELETE(_pz_res) \
|
||||
zend_list_delete(Z_RES_P(_pz_res))
|
||||
-#if PHP_MAJOR_VERSION < 8
|
||||
#define PHPC_RES_CLOSE(_pz_res) \
|
||||
zend_list_close(Z_RES_P(_pz_res))
|
||||
-#else
|
||||
-inline int _phpc_res_close(zval *zres) {
|
||||
- zend_list_close(Z_RES_P(zres));
|
||||
- return SUCCESS;
|
||||
-}
|
||||
-#define PHPC_RES_CLOSE _phpc_res_close
|
||||
-#endif
|
||||
|
||||
/* resource to zval */
|
||||
#define PHPC_RES_PZVAL(_res, _pzv) \
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 35e16bee11345a7d6bf57bea3cadf45e371ad1ed4e0218b0c06f6f637e4e1772 gnupg-1.4.0.tgz
|
||||
sha256 d4f5f79aa483908f3df08e5b343ea3593c6d725b9ed2103e30242627659e0a64 gnupg-1.5.0.tgz
|
||||
sha256 da1136d4d9326317cbd320dadddf7e9b4b4edffd973eb083cb7b9754fb6a15d9 LICENSE
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PHP_GNUPG_VERSION = 1.4.0
|
||||
PHP_GNUPG_VERSION = 1.5.0
|
||||
PHP_GNUPG_SOURCE = gnupg-$(PHP_GNUPG_VERSION).tgz
|
||||
PHP_GNUPG_SITE = https://pecl.php.net/get
|
||||
# phpize does the autoconf magic
|
||||
PHP_GNUPG_DEPENDENCIES = php libgpgme host-autoconf host-pkgconf
|
||||
PHP_GNUPG_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \
|
||||
--with-gnupg=$(STAGING_DIR)/usr/include --with-gpg=/usr/bin/gpg
|
||||
--with-gnupg=$(STAGING_DIR)/usr --with-gpg=/usr/bin/gpg
|
||||
PHP_GNUPG_LICENSE = BSD-2-Clause
|
||||
PHP_GNUPG_LICENSE_FILES = LICENSE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user