diff options
author | ale <ale@FreeBSD.org> | 2006-03-20 01:46:58 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2006-03-20 01:46:58 +0800 |
commit | 33a3404f492bd6f0f7528b4e5bc3f63527293a4c (patch) | |
tree | 3043d40f3e1d080727b7fb01ae9d6fa7363c1ebb /www | |
parent | be82dfdda67e5dc6b2ac89a302b3c31b6c5e42d1 (diff) | |
download | freebsd-ports-graphics-33a3404f492bd6f0f7528b4e5bc3f63527293a4c.tar.gz freebsd-ports-graphics-33a3404f492bd6f0f7528b4e5bc3f63527293a4c.tar.zst freebsd-ports-graphics-33a3404f492bd6f0f7528b4e5bc3f63527293a4c.zip |
Compile fix for gcc 2.95.
Diffstat (limited to 'www')
-rw-r--r-- | www/eaccelerator/files/patch-ea_restore.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/www/eaccelerator/files/patch-ea_restore.c b/www/eaccelerator/files/patch-ea_restore.c new file mode 100644 index 00000000000..56565fb3b3e --- /dev/null +++ b/www/eaccelerator/files/patch-ea_restore.c @@ -0,0 +1,17 @@ +--- ea_restore.c.orig Sun Mar 19 18:42:48 2006 ++++ ea_restore.c Sun Mar 19 18:45:26 2006 +@@ -718,12 +718,13 @@ + void restore_class_parent(char *parent, int len, + zend_class_entry * to TSRMLS_DC) + { +- DBG(ea_debug_printf, (EA_DEBUG, "restore_class_parent: restoring parent class %s of class %s\n", (char *) parent, to->name)); + #ifdef ZEND_ENGINE_2 + zend_class_entry** parent_ptr = NULL; ++ DBG(ea_debug_printf, (EA_DEBUG, "restore_class_parent: restoring parent class %s of class %s\n", (char *) parent, to->name)); + if (zend_lookup_class(parent, len, &parent_ptr TSRMLS_CC) != SUCCESS) + #else + char *name_lc = estrndup(parent, len); ++ DBG(ea_debug_printf, (EA_DEBUG, "restore_class_parent: restoring parent class %s of class %s\n", (char *) parent, to->name)); + zend_str_tolower(name_lc, len); + if (zend_hash_find(CG(class_table), (void *) name_lc, len + 1, (void **) &to->parent) != SUCCESS) + #endif |