From 9305a3bc21ba110cc521b880cdb63ec5c7ee22de Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 27 Nov 2017 09:37:24 +0100 Subject: Update to 2.0.0 add workaround for missing symlinks in v8-devel rhbz#1517657 --- 53533cd4dd972087da705550eeb3e41485d9c5be.patch | 54 -------------------------- 1 file changed, 54 deletions(-) delete mode 100644 53533cd4dd972087da705550eeb3e41485d9c5be.patch (limited to '53533cd4dd972087da705550eeb3e41485d9c5be.patch') diff --git a/53533cd4dd972087da705550eeb3e41485d9c5be.patch b/53533cd4dd972087da705550eeb3e41485d9c5be.patch deleted file mode 100644 index cb83258..0000000 --- a/53533cd4dd972087da705550eeb3e41485d9c5be.patch +++ /dev/null @@ -1,54 +0,0 @@ -From 53533cd4dd972087da705550eeb3e41485d9c5be Mon Sep 17 00:00:00 2001 -From: Jan-E -Date: Tue, 13 Jun 2017 18:14:12 +0200 -Subject: [PATCH] remove ZEND_ACC_CLONE - ---- - v8js_class.cc | 2 +- - v8js_object_export.cc | 6 +++--- - 2 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/v8js_class.cc b/v8js_class.cc -index 4c27783..c424f32 100644 ---- a/v8js_class.cc -+++ b/v8js_class.cc -@@ -537,7 +537,7 @@ static PHP_METHOD(V8Js, __construct) - continue; - } - -- if ((method_ptr->common.fn_flags & (ZEND_ACC_CTOR|ZEND_ACC_DTOR|ZEND_ACC_CLONE)) != 0) { -+ if ((method_ptr->common.fn_flags & (ZEND_ACC_CTOR|ZEND_ACC_DTOR)) != 0) { - /* no __construct, __destruct(), or __clone() functions */ - continue; - } -diff --git a/v8js_object_export.cc b/v8js_object_export.cc -index 254e0ed..d733ae2 100644 ---- a/v8js_object_export.cc -+++ b/v8js_object_export.cc -@@ -336,7 +336,7 @@ static void v8js_named_property_enumerator(const v8::PropertyCallbackInfocommon.fn_flags & (ZEND_ACC_CTOR|ZEND_ACC_DTOR|ZEND_ACC_CLONE)) != 0) { -+ if ((method_ptr->common.fn_flags & (ZEND_ACC_CTOR|ZEND_ACC_DTOR)) != 0) { - /* no __construct, __destruct(), or __clone() functions */ - continue; - } -@@ -539,7 +539,7 @@ static void v8js_fake_call_impl(const v8::FunctionCallbackInfo& info) - - if (method_ptr == NULL || - (method_ptr->common.fn_flags & ZEND_ACC_PUBLIC) == 0 || -- (method_ptr->common.fn_flags & (ZEND_ACC_CTOR|ZEND_ACC_DTOR|ZEND_ACC_CLONE)) != 0) { -+ (method_ptr->common.fn_flags & (ZEND_ACC_CTOR|ZEND_ACC_DTOR)) != 0) { - error_len = spprintf(&error, 0, - "%s::__call to %s method %s", ce->name, - (method_ptr == NULL) ? "undefined" : "non-public", method_name); -@@ -619,7 +619,7 @@ v8::Local v8js_named_property_callback(v8::Local property - (method_ptr = reinterpret_cast - (zend_hash_find_ptr(&ce->function_table, method_name))) && - ((method_ptr->common.fn_flags & ZEND_ACC_PUBLIC) != 0) && /* Allow only public methods */ -- ((method_ptr->common.fn_flags & (ZEND_ACC_CTOR|ZEND_ACC_DTOR|ZEND_ACC_CLONE)) == 0) /* no __construct, __destruct(), or __clone() functions */ -+ ((method_ptr->common.fn_flags & (ZEND_ACC_CTOR|ZEND_ACC_DTOR)) == 0) /* no __construct, __destruct(), or __clone() functions */ - ) || (method_ptr=NULL, is_magic_call) - ) { - if (callback_type == V8JS_PROP_GETTER) { -- cgit