diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2015-09-27 13:55:29 -0400 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2015-09-27 13:55:46 -0400 |
commit | 186c64905ed76da096f467c01ffc3c349cc6e415 (patch) | |
tree | c3d9c2097b1e94976125a081950479110c36427f /dev-php | |
parent | sci-mathematics/agda: fix .agdai file generation on install, bug #559326 (diff) | |
download | gentoo-186c64905ed76da096f467c01ffc3c349cc6e415.tar.gz gentoo-186c64905ed76da096f467c01ffc3c349cc6e415.tar.bz2 gentoo-186c64905ed76da096f467c01ffc3c349cc6e415.zip |
dev-php/igbinary: remove unused files/zts-fix.patch.
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-php')
-rw-r--r-- | dev-php/igbinary/files/zts-fix.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/dev-php/igbinary/files/zts-fix.patch b/dev-php/igbinary/files/zts-fix.patch deleted file mode 100644 index 3de9b49f441e..000000000000 --- a/dev-php/igbinary/files/zts-fix.patch +++ /dev/null @@ -1,44 +0,0 @@ ---- a/apc_serializer.h -+++ b/apc_serializer.h -@@ -32,29 +32,37 @@ - typedef int (*apc_serialize_t)(APC_SERIALIZER_ARGS); - typedef int (*apc_unserialize_t)(APC_UNSERIALIZER_ARGS); - --typedef int (*apc_register_serializer_t)(const char* name, -- apc_serialize_t serialize, -+typedef int (*apc_register_serializer_t)(const char* name, -+ apc_serialize_t serialize, - apc_unserialize_t unserialize, - void *config TSRMLS_DC); - - /* - * ABI version for constant hooks. Increment this any time you make any changes - * to any function in this file. - */ - #define APC_SERIALIZER_ABI "0" - #define APC_SERIALIZER_CONSTANT "\000apc_register_serializer-" APC_SERIALIZER_ABI - --static int apc_register_serializer(const char* name, -+#if !defined(APC_UNUSED) -+# if defined(__GNUC__) -+# define APC_UNUSED __attribute__((unused)) -+# else -+# define APC_UNUSED -+# endif -+#endif -+ -+static APC_UNUSED int apc_register_serializer(const char* name, - apc_serialize_t serialize, - apc_unserialize_t unserialize, - void *config TSRMLS_DC) - { - zval *apc_magic_constant = NULL; - (void)config; - - ALLOC_INIT_ZVAL(apc_magic_constant); - -- if (zend_get_constant(APC_SERIALIZER_CONSTANT, sizeof(APC_SERIALIZER_CONSTANT)-1, apc_magic_constant)) { -+ if (zend_get_constant(APC_SERIALIZER_CONSTANT, sizeof(APC_SERIALIZER_CONSTANT)-1, apc_magic_constant TSRMLS_CC)) { - if(apc_magic_constant) { - apc_register_serializer_t register_func = (apc_register_serializer_t)(Z_LVAL_P(apc_magic_constant)); - if(register_func) { |