From afcb9236a72cf602364c28b9bde6648e4a7f1ca5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 21 Jan 2024 02:09:25 +0000 Subject: gentoo auto-resync : 21:01:2024 - 02:09:25 --- dev-php/pecl-yaz/Manifest | 2 - .../files/1.2.3/0001-arginfo_php8-support.patch | 245 --------------------- .../pecl-yaz/files/1.2.3/0002-arginfo-fixes.patch | 39 ---- 3 files changed, 286 deletions(-) delete mode 100644 dev-php/pecl-yaz/files/1.2.3/0001-arginfo_php8-support.patch delete mode 100644 dev-php/pecl-yaz/files/1.2.3/0002-arginfo-fixes.patch (limited to 'dev-php/pecl-yaz') diff --git a/dev-php/pecl-yaz/Manifest b/dev-php/pecl-yaz/Manifest index ce10ce842bb4..f9d540aaaf37 100644 --- a/dev-php/pecl-yaz/Manifest +++ b/dev-php/pecl-yaz/Manifest @@ -1,5 +1,3 @@ -AUX 1.2.3/0001-arginfo_php8-support.patch 7166 BLAKE2B 42859817ae81ba437670c721e3967e9ec3d5eaca15dacee049a0e57d84ef9df1ac6fcff564d3ab1ba07acb75a0ce15dfdfa761d6eda4556a129c91d317292ca4 SHA512 01e742cf947fa2d4e167d16e9112a863ab23911aace807ca6a9e17f66cb304c96aec2a93dcef9f712243b2eeaa24df3a51afd999fcdf95ee7345f2586ba9768b -AUX 1.2.3/0002-arginfo-fixes.patch 1148 BLAKE2B 5910c1ccf81193cd4da155302c460b8a4859995c94bf2994631c288b60f4bc4681687a0426642b902c31e5ffd515c67346ad3fcd7e507fd45621a7f163a279d5 SHA512 5cb04810fc9dcf6cd6aa3b8f605dd8059c3e528b135c1433f2801c2737308341dc5f5475f5c14d91abe526d8fb86cbb13f62244ac26d223ad88aff2804e10d81 DIST yaz-1.2.4.tgz 20204 BLAKE2B f36a0db6b8c49a8a4235f49ef07e28196954e9e25bcbe1a2fe94d69d14224b777f692bdc135b17b4d12d1684bb2abd52fd7966a3d78460e563d8475e31cb0ce6 SHA512 c7e17681ec82805ba74d643b427d6fdb4c4542a7efcf690cf9e4ac8adf61b9a9bfe3268ed317dc5220a85f9962f86387c3054f50e98cd986b29f8fb3f5be6b1e EBUILD pecl-yaz-1.2.4.ebuild 621 BLAKE2B 8c0b7ad5393bda8f183f6011b997a806bfc6b1a596f26f312eb76e5198f3d1fc4af9cc6280215fe8d077c2f23c8255432a725db7962a04e97f8e96184daad83e SHA512 272e1c4aaffb399afecdf58617429b7db77473f5519f3c03222e38d81191927a1e8fe6a059022466422bb348217256a987bc2ca5ce01c2d6cefe5ae39a82fb78 MISC metadata.xml 240 BLAKE2B f60f325331d493a555e53c29c7cf2742a415356da28a467505f1441f3fd790fd0d59050df84854bdc379d19d94a46121216479807975a2922d5a2fefde83416b SHA512 fada9d69055f2be962b95aac82f260ec5db7a3f4392d10f0458a1d125938fa17539f7ec486000f3a95cff85a3fbb6bbf1f6f4fe6c2de7aa420a7543a3e89d03e diff --git a/dev-php/pecl-yaz/files/1.2.3/0001-arginfo_php8-support.patch b/dev-php/pecl-yaz/files/1.2.3/0001-arginfo_php8-support.patch deleted file mode 100644 index 8cc9929f06c3..000000000000 --- a/dev-php/pecl-yaz/files/1.2.3/0001-arginfo_php8-support.patch +++ /dev/null @@ -1,245 +0,0 @@ -From e629fb640e11f2358c04fe72d50afbd0a004596c Mon Sep 17 00:00:00 2001 -From: Remi Collet -Date: Wed, 23 Sep 2020 16:44:57 +0200 -Subject: [PATCH] add arginfo for all functions - drop support for PHP 4.x - - add compatibility with PHP 8 - ---- - .gitignore | 2 + - package.xml | 2 +- - php_yaz.c | 209 +++++++++++++++++++++++++++++++++++++++------------- - 3 files changed, 162 insertions(+), 51 deletions(-) - -diff --git a/php_yaz.c b/php_yaz.c -index e157815..64b5079 100644 ---- a/php_yaz.c -+++ b/php_yaz.c -@@ -18,6 +18,12 @@ - - #include "php_yaz.h" - -+/* for PHP 8+ */ -+#ifndef TSRMLS_CC -+#define TSRMLS_CC -+#define TSRMLS_DC -+#endif -+ - #ifndef YAZ_VERSIONL - #error YAZ version 3.0.2 or later must be used. - #elif YAZ_VERSIONL < 0x030020 -@@ -138,62 +144,165 @@ static int le_link; - ZEND_GET_MODULE(yaz) - #endif - --#ifdef ZEND_BEGIN_ARG_INFO -- ZEND_BEGIN_ARG_INFO(first_argument_force_ref, 0) -- ZEND_ARG_PASS_INFO(1) -- ZEND_END_ARG_INFO(); -+ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_connect, 0, 0, 1) -+ ZEND_ARG_INFO(0, url) -+ ZEND_ARG_INFO(0, options) -+ZEND_END_ARG_INFO(); - -- ZEND_BEGIN_ARG_INFO(second_argument_force_ref, 0) -- ZEND_ARG_PASS_INFO(0) -- ZEND_ARG_PASS_INFO(1) -- ZEND_END_ARG_INFO(); -- -- ZEND_BEGIN_ARG_INFO(third_argument_force_ref, 0) -- ZEND_ARG_PASS_INFO(0) -- ZEND_ARG_PASS_INFO(0) -- ZEND_ARG_PASS_INFO(1) -- ZEND_END_ARG_INFO(); --#else --static unsigned char first_argument_force_ref[] = { -- 1, BYREF_FORCE }; --static unsigned char second_argument_force_ref[] = { -- 2, BYREF_NONE, BYREF_FORCE }; --static unsigned char third_argument_force_ref[] = { -- 3, BYREF_NONE, BYREF_NONE, BYREF_FORCE }; --#endif -+ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_close, 0, 0, 1) -+ ZEND_ARG_INFO(0, id) -+ZEND_END_ARG_INFO(); -+ -+#define arginfo_yaz_present arginfo_yaz_close -+ -+#define arginfo_yaz_errno arginfo_yaz_close -+ -+#define arginfo_yaz_error arginfo_yaz_close -+ -+#define arginfo_yaz_addinfo arginfo_yaz_close -+ -+#define arginfo_yaz_es_result arginfo_yaz_close -+ -+ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_search, 0, 0, 3) -+ ZEND_ARG_INFO(0, id) -+ ZEND_ARG_INFO(0, type) -+ ZEND_ARG_INFO(0, query) -+ZEND_END_ARG_INFO(); -+ -+ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_wait, 0, 0, 0) -+ ZEND_ARG_INFO(1, options) -+ZEND_END_ARG_INFO(); -+ -+ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_hits, 0, 0, 1) -+ ZEND_ARG_INFO(0, id) -+ ZEND_ARG_INFO(1, searchresult) -+ ZEND_ARG_INFO(0, query) -+ZEND_END_ARG_INFO(); -+ -+ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_record, 0, 0, 3) -+ ZEND_ARG_INFO(0, id) -+ ZEND_ARG_INFO(0, pos) -+ ZEND_ARG_INFO(0, type) -+ZEND_END_ARG_INFO(); -+ -+ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_syntax, 0, 0, 2) -+ ZEND_ARG_INFO(0, id) -+ ZEND_ARG_INFO(0, syntax) -+ZEND_END_ARG_INFO(); -+ -+ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_element, 0, 0, 2) -+ ZEND_ARG_INFO(0, id) -+ ZEND_ARG_INFO(0, elementsetname) -+ZEND_END_ARG_INFO(); -+ -+ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_schema, 0, 0, 2) -+ ZEND_ARG_INFO(0, id) -+ ZEND_ARG_INFO(0, schema) -+ZEND_END_ARG_INFO(); -+ -+ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_set_option, 0, 0, 2) -+ ZEND_ARG_INFO(0, id) -+ ZEND_ARG_INFO(0, options_or_name) -+ ZEND_ARG_INFO(0, value) -+ZEND_END_ARG_INFO(); -+ -+ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_get_option, 0, 0, 2) -+ ZEND_ARG_INFO(0, id) -+ ZEND_ARG_INFO(0, name) -+ZEND_END_ARG_INFO(); -+ -+ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_range, 0, 0, 3) -+ ZEND_ARG_INFO(0, id) -+ ZEND_ARG_INFO(0, start) -+ ZEND_ARG_INFO(0, number) -+ZEND_END_ARG_INFO(); -+ -+ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_sort, 0, 0, 2) -+ ZEND_ARG_INFO(0, id) -+ ZEND_ARG_INFO(0, sortspec) -+ZEND_END_ARG_INFO(); -+ -+ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_itemorder, 0, 0, 2) -+ ZEND_ARG_INFO(0, id) -+ ZEND_ARG_INFO(0, package) -+ZEND_END_ARG_INFO(); -+ -+#define arginfo_yaz_ccl_conf arginfo_yaz_itemorder -+ -+#define arginfo_yaz_cql_conf arginfo_yaz_itemorder -+ -+ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_es, 0, 0, 3) -+ ZEND_ARG_INFO(0, id) -+ ZEND_ARG_INFO(0, type) -+ ZEND_ARG_INFO(0, package) -+ZEND_END_ARG_INFO(); -+ -+ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_scan, 0, 0, 3) -+ ZEND_ARG_INFO(0, id) -+ ZEND_ARG_INFO(0, type) -+ ZEND_ARG_INFO(0, query) -+ ZEND_ARG_INFO(0, flags) -+ZEND_END_ARG_INFO(); -+ -+ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_scan_result, 0, 0, 2) -+ ZEND_ARG_INFO(0, id) -+ ZEND_ARG_INFO(1, options) -+ZEND_END_ARG_INFO(); -+ -+ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_ccl_parse, 0, 0, 3) -+ ZEND_ARG_INFO(0, id) -+ ZEND_ARG_INFO(0, query) -+ ZEND_ARG_INFO(1, result) -+ZEND_END_ARG_INFO(); -+ -+ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_cql_parse, 0, 0, 4) -+ ZEND_ARG_INFO(0, id) -+ ZEND_ARG_INFO(0, cql) -+ ZEND_ARG_INFO(1, result) -+ ZEND_ARG_INFO(0, rev) -+ZEND_END_ARG_INFO(); -+ -+ZEND_BEGIN_ARG_INFO_EX(arginfo_databases, 0, 0, 2) -+ ZEND_ARG_INFO(0, id) -+ ZEND_ARG_INFO(0, package) -+ZEND_END_ARG_INFO(); - - - zend_function_entry yaz_functions [] = { -- PHP_FE(yaz_connect, NULL) -- PHP_FE(yaz_close, NULL) -- PHP_FE(yaz_search, NULL) -- PHP_FE(yaz_wait, first_argument_force_ref) -- PHP_FE(yaz_errno, NULL) -- PHP_FE(yaz_error, NULL) -- PHP_FE(yaz_addinfo, NULL) -- PHP_FE(yaz_hits, second_argument_force_ref) -- PHP_FE(yaz_record, NULL) -- PHP_FE(yaz_syntax, NULL) -- PHP_FE(yaz_element, NULL) -- PHP_FE(yaz_range, NULL) -- PHP_FE(yaz_itemorder, NULL) -- PHP_FE(yaz_es_result, NULL) -- PHP_FE(yaz_scan, NULL) -- PHP_FE(yaz_scan_result, second_argument_force_ref) -- PHP_FE(yaz_present, NULL) -- PHP_FE(yaz_ccl_conf, NULL) -- PHP_FE(yaz_ccl_parse, third_argument_force_ref) -+ PHP_FE(yaz_connect, arginfo_yaz_connect) -+ PHP_FE(yaz_close, arginfo_yaz_close) -+ PHP_FE(yaz_search, arginfo_yaz_search) -+ PHP_FE(yaz_wait, arginfo_yaz_wait) -+ PHP_FE(yaz_errno, arginfo_yaz_errno) -+ PHP_FE(yaz_error, arginfo_yaz_error) -+ PHP_FE(yaz_addinfo, arginfo_yaz_addinfo) -+ PHP_FE(yaz_hits, arginfo_yaz_hits) -+ PHP_FE(yaz_record, arginfo_yaz_record) -+ PHP_FE(yaz_syntax, arginfo_yaz_syntax) -+ PHP_FE(yaz_element, arginfo_yaz_element) -+ PHP_FE(yaz_range, arginfo_yaz_range) -+ PHP_FE(yaz_itemorder, arginfo_yaz_itemorder) -+ PHP_FE(yaz_es_result, arginfo_yaz_es_result) -+ PHP_FE(yaz_scan, arginfo_yaz_scan) -+ PHP_FE(yaz_scan_result, arginfo_yaz_scan_result) -+ PHP_FE(yaz_present, arginfo_yaz_present) -+ PHP_FE(yaz_ccl_conf, arginfo_yaz_ccl_conf) -+ PHP_FE(yaz_ccl_parse, arginfo_yaz_ccl_parse) - #if YAZ_VERSIONL >= 0x050100 -- PHP_FE(yaz_cql_parse, third_argument_force_ref) -- PHP_FE(yaz_cql_conf, NULL) --#endif -- PHP_FE(yaz_database, NULL) -- PHP_FE(yaz_sort, NULL) -- PHP_FE(yaz_schema, NULL) -- PHP_FE(yaz_set_option, NULL) -- PHP_FE(yaz_get_option, NULL) -- PHP_FE(yaz_es, NULL) -+ PHP_FE(yaz_cql_parse, arginfo_yaz_cql_parse) -+ PHP_FE(yaz_cql_conf, arginfo_yaz_cql_conf) -+#endif -+ PHP_FE(yaz_database, arginfo_databases) -+ PHP_FE(yaz_sort, arginfo_yaz_sort) -+ PHP_FE(yaz_schema, arginfo_yaz_schema) -+ PHP_FE(yaz_set_option, arginfo_yaz_set_option) -+ PHP_FE(yaz_get_option, arginfo_yaz_get_option) -+ PHP_FE(yaz_es, arginfo_yaz_es) -+#ifdef PHP_FE_END -+ PHP_FE_END -+#else - {NULL, NULL, NULL} -+#endif - }; - - static void get_assoc(INTERNAL_FUNCTION_PARAMETERS, zval *id, Yaz_Association *assocp) diff --git a/dev-php/pecl-yaz/files/1.2.3/0002-arginfo-fixes.patch b/dev-php/pecl-yaz/files/1.2.3/0002-arginfo-fixes.patch deleted file mode 100644 index 53cde0a92769..000000000000 --- a/dev-php/pecl-yaz/files/1.2.3/0002-arginfo-fixes.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 323962299bae3b2085dde44790785a39878f5f9a Mon Sep 17 00:00:00 2001 -From: Adam Dickmeiss -Date: Thu, 24 Sep 2020 19:45:58 +0200 -Subject: [PATCH] Fixes for arg info - ---- - php_yaz.c | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -diff --git a/php_yaz.c b/php_yaz.c -index 64b5079..de9693d 100644 ---- a/php_yaz.c -+++ b/php_yaz.c -@@ -176,7 +176,6 @@ ZEND_END_ARG_INFO(); - ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_hits, 0, 0, 1) - ZEND_ARG_INFO(0, id) - ZEND_ARG_INFO(1, searchresult) -- ZEND_ARG_INFO(0, query) - ZEND_END_ARG_INFO(); - - ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_record, 0, 0, 3) -@@ -244,7 +243,7 @@ ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_scan, 0, 0, 3) - ZEND_ARG_INFO(0, flags) - ZEND_END_ARG_INFO(); - --ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_scan_result, 0, 0, 2) -+ZEND_BEGIN_ARG_INFO_EX(arginfo_yaz_scan_result, 0, 0, 1) - ZEND_ARG_INFO(0, id) - ZEND_ARG_INFO(1, options) - ZEND_END_ARG_INFO(); -@@ -264,7 +263,7 @@ ZEND_END_ARG_INFO(); - - ZEND_BEGIN_ARG_INFO_EX(arginfo_databases, 0, 0, 2) - ZEND_ARG_INFO(0, id) -- ZEND_ARG_INFO(0, package) -+ ZEND_ARG_INFO(0, databases) - ZEND_END_ARG_INFO(); - - -- cgit v1.2.3