Index: Makefile =================================================================== --- Makefile (revision 402450) +++ Makefile (working copy) @@ -18,7 +18,6 @@ USES= tar:tgz USE_PHP= yes USE_PHPEXT= yes -IGNORE_WITH_PHP=5 56 OPTIONS_DEFINE= DOCS EXAMPLES Index: files/patch-php_drizzle.c =================================================================== --- files/patch-php_drizzle.c (nonexistent) +++ files/patch-php_drizzle.c (working copy) @@ -0,0 +1,72 @@ +--- php_drizzle.c.orig 1970-01-01 17:13:08.000000000 +0800 ++++ php_drizzle.c 2015-11-30 22:02:21.309689000 +0800 +@@ -1314,9 +1314,13 @@ + } + + zend_object_std_init(&(obj->std), class_type TSRMLS_CC); ++#if PHP_VERSION_ID < 50399 + zend_hash_copy(obj->std.properties, &(class_type->default_properties), + (copy_ctor_func_t)zval_add_ref, (void *)(&tmp), + sizeof(zval *)); ++#else ++ object_properties_init((zend_object*) &(obj->std), class_type); ++#endif + + value.handle= zend_objects_store_put(obj, + (zend_objects_store_dtor_t)zend_objects_destroy_object, +@@ -1582,9 +1586,13 @@ + } + + zend_object_std_init(&(obj->std), class_type TSRMLS_CC); ++#if PHP_VERSION_ID < 50399 + zend_hash_copy(obj->std.properties, &(class_type->default_properties), + (copy_ctor_func_t)zval_add_ref, (void *)(&tmp), + sizeof(zval *)); ++#else ++ object_properties_init((zend_object*) &(obj->std), class_type); ++#endif + + obj->value.handle= zend_objects_store_put(obj, + (zend_objects_store_dtor_t)zend_objects_destroy_object, +@@ -2505,9 +2513,13 @@ + } + + zend_object_std_init(&(obj->std), class_type TSRMLS_CC); ++#if PHP_VERSION_ID < 50399 + zend_hash_copy(obj->std.properties, &(class_type->default_properties), + (copy_ctor_func_t)zval_add_ref, (void *)(&tmp), + sizeof(zval *)); ++#else ++ object_properties_init((zend_object*) &(obj->std), class_type); ++#endif + + obj->value.handle= zend_objects_store_put(obj, + (zend_objects_store_dtor_t)zend_objects_destroy_object, +@@ -3017,9 +3029,13 @@ + } + + zend_object_std_init(&(result->std), class_type TSRMLS_CC); ++#if PHP_VERSION_ID < 50399 + zend_hash_copy(result->std.properties, &(class_type->default_properties), + (copy_ctor_func_t)zval_add_ref, (void *)(&tmp), + sizeof(zval *)); ++#else ++ object_properties_init((zend_object*) &(result->std), class_type); ++#endif + + value.handle= zend_objects_store_put(result, + (zend_objects_store_dtor_t)zend_objects_destroy_object, +@@ -3382,9 +3398,13 @@ + } + + zend_object_std_init(&(obj->std), class_type TSRMLS_CC); ++#if PHP_VERSION_ID < 50399 + zend_hash_copy(obj->std.properties, &(class_type->default_properties), + (copy_ctor_func_t)zval_add_ref, (void *)(&tmp), + sizeof(zval *)); ++#else ++ object_properties_init((zend_object*) &(obj->std), class_type); ++#endif + + value.handle= zend_objects_store_put(obj, + (zend_objects_store_dtor_t)zend_objects_destroy_object, Property changes on: files/patch-php_drizzle.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property