View | Details | Raw Unified | Return to bug 224955
Collapse All | Expand All

(-)archivers/php71-phar/Makefile (-1 lines)
Lines 2-8 Link Here
2
2
3
CATEGORIES=	archivers
3
CATEGORIES=	archivers
4
4
5
PORTREVISION=	2
6
MASTERDIR=	${.CURDIR}/../../lang/php71
5
MASTERDIR=	${.CURDIR}/../../lang/php71
7
6
8
PKGNAMESUFFIX=	-phar
7
PKGNAMESUFFIX=	-phar
(-)lang/php71/Makefile (-2 / +1 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	php71
4
PORTNAME=	php71
5
PORTVERSION=	7.1.12
5
PORTVERSION=	7.1.13
6
PORTREVISION?=	2
7
CATEGORIES?=	lang devel www
6
CATEGORIES?=	lang devel www
8
MASTER_SITES=	PHP/distributions
7
MASTER_SITES=	PHP/distributions
9
DISTNAME=	php-${PORTVERSION}
8
DISTNAME=	php-${PORTVERSION}
(-)lang/php71/distinfo (-5 / +3 lines)
Lines 1-5 Link Here
1
TIMESTAMP = 1511442089
1
TIMESTAMP = 1515264588
2
SHA256 (php-7.1.12.tar.xz) = a0118850774571b1f2d4e30b4fe7a4b958ca66f07d07d65ebdc789c54ba6eeb3
2
SHA256 (php-7.1.13.tar.xz) = 1a0b3f2fb61959b57a3ee01793a77ed3f19bde5aa90c43dcacc85ea32f64fc10
3
SIZE (php-7.1.12.tar.xz) = 12194772
3
SIZE (php-7.1.13.tar.xz) = 12194780
4
SHA256 (php-7.1.x-mail-header.patch) = 8f173d89672f7ebfabfcc3c5d7f8dec1c4243aba665db4b4046e67c34d9d4dc7
5
SIZE (php-7.1.x-mail-header.patch) = 4504
(-)www/php71-opcache/Makefile (-1 lines)
Lines 4-10 Link Here
4
4
5
MASTERDIR=	${.CURDIR}/../../lang/php71
5
MASTERDIR=	${.CURDIR}/../../lang/php71
6
6
7
PORTREVISION=	2
8
PKGNAMESUFFIX=	-opcache
7
PKGNAMESUFFIX=	-opcache
9
8
10
USES=	php:zend
9
USES=	php:zend
(-)www/php71-opcache/files/patch-Optimizer_zend__inference.c (-30 lines)
Lines 1-30 Link Here
1
--- Optimizer/zend_inference.c.orig	2017-12-12 12:05:15 UTC
2
+++ Optimizer/zend_inference.c
3
@@ -2928,7 +2928,7 @@ static int zend_update_type_info(const z
4
 			break;
5
 		case ZEND_FE_FETCH_R:
6
 		case ZEND_FE_FETCH_RW:
7
-			tmp = (t2 & MAY_BE_REF);
8
+		    tmp = t2;
9
 			if (t1 & MAY_BE_OBJECT) {
10
 				if (opline->opcode == ZEND_FE_FETCH_RW) {
11
 					tmp |= MAY_BE_REF | MAY_BE_ANY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_ANY | MAY_BE_ARRAY_OF_REF;
12
@@ -2953,7 +2953,7 @@ static int zend_update_type_info(const z
13
 			}
14
 			UPDATE_SSA_TYPE(tmp, ssa_ops[i].op2_def);
15
 			if (ssa_ops[i].result_def >= 0) {
16
-				tmp = 0;
17
+				tmp = (ssa_ops[i].result_use >= 0) ? RES_USE_INFO() : 0;
18
 				if (t1 & MAY_BE_OBJECT) {
19
 					tmp |= MAY_BE_RC1 | MAY_BE_RCN | MAY_BE_ANY | MAY_BE_ARRAY_KEY_ANY | MAY_BE_ARRAY_OF_ANY | MAY_BE_ARRAY_OF_REF;
20
 				}
21
@@ -3079,7 +3079,8 @@ static int zend_update_type_info(const z
22
 					UPDATE_SSA_TYPE(tmp, ssa_ops[i].op1_def);
23
 				} else {
24
 					/* invalid key type */
25
-					UPDATE_SSA_TYPE(t1, ssa_ops[i].op1_def);
26
+					tmp = (tmp & (MAY_BE_RC1|MAY_BE_RCN)) | (t1 & ~(MAY_BE_RC1|MAY_BE_RCN));
27
+					UPDATE_SSA_TYPE(tmp, ssa_ops[i].op1_def);
28
 				}
29
 				COPY_SSA_OBJ_TYPE(ssa_ops[i].op1_use, ssa_ops[i].op1_def);
30
 			}

Return to bug 224955