1 |
commit: 186c64905ed76da096f467c01ffc3c349cc6e415 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 27 17:55:29 2015 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 27 17:55:46 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=186c6490 |
7 |
|
8 |
dev-php/igbinary: remove unused files/zts-fix.patch. |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
|
12 |
dev-php/igbinary/files/zts-fix.patch | 44 ------------------------------------ |
13 |
1 file changed, 44 deletions(-) |
14 |
|
15 |
diff --git a/dev-php/igbinary/files/zts-fix.patch b/dev-php/igbinary/files/zts-fix.patch |
16 |
deleted file mode 100644 |
17 |
index 3de9b49..0000000 |
18 |
--- a/dev-php/igbinary/files/zts-fix.patch |
19 |
+++ /dev/null |
20 |
@@ -1,44 +0,0 @@ |
21 |
---- a/apc_serializer.h |
22 |
-+++ b/apc_serializer.h |
23 |
-@@ -32,29 +32,37 @@ |
24 |
- typedef int (*apc_serialize_t)(APC_SERIALIZER_ARGS); |
25 |
- typedef int (*apc_unserialize_t)(APC_UNSERIALIZER_ARGS); |
26 |
- |
27 |
--typedef int (*apc_register_serializer_t)(const char* name, |
28 |
-- apc_serialize_t serialize, |
29 |
-+typedef int (*apc_register_serializer_t)(const char* name, |
30 |
-+ apc_serialize_t serialize, |
31 |
- apc_unserialize_t unserialize, |
32 |
- void *config TSRMLS_DC); |
33 |
- |
34 |
- /* |
35 |
- * ABI version for constant hooks. Increment this any time you make any changes |
36 |
- * to any function in this file. |
37 |
- */ |
38 |
- #define APC_SERIALIZER_ABI "0" |
39 |
- #define APC_SERIALIZER_CONSTANT "\000apc_register_serializer-" APC_SERIALIZER_ABI |
40 |
- |
41 |
--static int apc_register_serializer(const char* name, |
42 |
-+#if !defined(APC_UNUSED) |
43 |
-+# if defined(__GNUC__) |
44 |
-+# define APC_UNUSED __attribute__((unused)) |
45 |
-+# else |
46 |
-+# define APC_UNUSED |
47 |
-+# endif |
48 |
-+#endif |
49 |
-+ |
50 |
-+static APC_UNUSED int apc_register_serializer(const char* name, |
51 |
- apc_serialize_t serialize, |
52 |
- apc_unserialize_t unserialize, |
53 |
- void *config TSRMLS_DC) |
54 |
- { |
55 |
- zval *apc_magic_constant = NULL; |
56 |
- (void)config; |
57 |
- |
58 |
- ALLOC_INIT_ZVAL(apc_magic_constant); |
59 |
- |
60 |
-- if (zend_get_constant(APC_SERIALIZER_CONSTANT, sizeof(APC_SERIALIZER_CONSTANT)-1, apc_magic_constant)) { |
61 |
-+ if (zend_get_constant(APC_SERIALIZER_CONSTANT, sizeof(APC_SERIALIZER_CONSTANT)-1, apc_magic_constant TSRMLS_CC)) { |
62 |
- if(apc_magic_constant) { |
63 |
- apc_register_serializer_t register_func = (apc_register_serializer_t)(Z_LVAL_P(apc_magic_constant)); |
64 |
- if(register_func) { |