# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # pecl-vld # pecl-vld/Makefile # pecl-vld/distinfo # pecl-vld/pkg-descr # pecl-vld/files # pecl-vld/files/patch-srm_oparray.c # echo c - pecl-vld mkdir -p pecl-vld > /dev/null 2>&1 echo x - pecl-vld/Makefile sed 's/^X//' >pecl-vld/Makefile << 'END-of-pecl-vld/Makefile' X# New ports collection makefile for: pecl-vld X# Date created: 2007/03/02 X# Whom: chinsan X# X# $FreeBSD$ X# X XPORTNAME= vld XPORTVERSION= 0.8.0 XCATEGORIES= devel pear XMASTER_SITES= http://pecl.php.net/get/ XPKGNAMEPREFIX= pecl- XEXTRACT_SUFX= .tgz XDIST_SUBDIR= PECL X XMAINTAINER= chinsan@FreeBSD.org XCOMMENT= Dump the internal representation of PHP scripts X XUSE_PHP= yes XUSE_PHPEXT= yes X XCONFIGURE_ARGS= --enable-vld X X.include END-of-pecl-vld/Makefile echo x - pecl-vld/distinfo sed 's/^X//' >pecl-vld/distinfo << 'END-of-pecl-vld/distinfo' XMD5 (PECL/vld-0.8.0.tgz) = 00351344ed03a6eea6219e1db25aa660 XSHA256 (PECL/vld-0.8.0.tgz) = 0bf913e6cfd676de47704b22574711783909cef2318776db006f991f2246593a XSIZE (PECL/vld-0.8.0.tgz) = 8796 END-of-pecl-vld/distinfo echo x - pecl-vld/pkg-descr sed 's/^X//' >pecl-vld/pkg-descr << 'END-of-pecl-vld/pkg-descr' XThe Vulcan Logic Disassembler hooks into the Zend Engine and Xdumps all the opcodes (execution units) of a script. X XWWW: http://pecl.php.net/package/vld/ END-of-pecl-vld/pkg-descr echo c - pecl-vld/files mkdir -p pecl-vld/files > /dev/null 2>&1 echo x - pecl-vld/files/patch-srm_oparray.c sed 's/^X//' >pecl-vld/files/patch-srm_oparray.c << 'END-of-pecl-vld/files/patch-srm_oparray.c' X--- srm_oparray.c.orig Mon Mar 5 00:55:20 2007 X+++ srm_oparray.c Mon Mar 5 00:55:20 2007 X@@ -350,7 +350,8 @@ X op->op2.u.opline_num = (zend_uint)((zend_op*)base_address + op->op2.u.opline_num); X op->op2.op_type = VLD_IS_OPLINE; X break; X- X+/* use ZEND_JMP_NO_CTOR only when it is available (php < 5.1) */ X+#ifdef ZEND_JMP_NO_CTOR X case ZEND_JMP_NO_CTOR: X flags = OP2_USED; X if (op->op1.op_type != IS_UNUSED) { X@@ -361,6 +362,7 @@ X #endif X op->op2.op_type = VLD_IS_OPLINE; X break; X+#endif X X #ifdef ZEND_ENGINE_2 X case ZEND_FETCH_CLASS: END-of-pecl-vld/files/patch-srm_oparray.c exit