View | Details | Raw Unified | Return to bug 218493 | Differences between
and this patch

Collapse All | Expand All

(-)b/www/phalcon/Makefile (-3 / +2 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	phalcon
4
PORTNAME=	phalcon
5
PORTVERSION=	3.1.1
5
PORTVERSION=	3.1.2
6
DISTVERSIONPREFIX=	v
6
DISTVERSIONPREFIX=	v
7
CATEGORIES=	www
7
CATEGORIES=	www
8
8
Lines 13-19 LICENSE= BSD3CLAUSE Link Here
13
13
14
USES=		php:ext
14
USES=		php:ext
15
USE_PHP=	hash:build json:build pdo:build
15
USE_PHP=	hash:build json:build pdo:build
16
IGNORE_WITH_PHP=71
17
16
18
ONLY_FOR_ARCHS=	amd64 armv6 i386
17
ONLY_FOR_ARCHS=	amd64 armv6 i386
19
18
Lines 29-35 CONFIGURE_ARGS= --enable-phalcon Link Here
29
PBITS=		${ARCH:S/amd64/64/:S/armv6/32/:S/i386/32/:S/x86_64/64/}
28
PBITS=		${ARCH:S/amd64/64/:S/armv6/32/:S/i386/32/:S/x86_64/64/}
30
WRKSRC_SUBDIR=	build/php${PHP_VER:C/.$//}/${PBITS}bits
29
WRKSRC_SUBDIR=	build/php${PHP_VER:C/.$//}/${PBITS}bits
31
30
32
.if ${PHP_VER} == 70 && ${PBITS} == 32
31
.if ${PHP_VER:C/.$//} == 7 && ${PBITS} == 32
33
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-phalcon.zep.c
32
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-phalcon.zep.c
34
.endif
33
.endif
35
34
(-)b/www/phalcon/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1490587322
1
TIMESTAMP = 1491663656
2
SHA256 (phalcon-cphalcon-v3.1.1_GH0.tar.gz) = 430359e0103ac926861976815d5f1d1373c6b1d7317e128359409aafd4285f84
2
SHA256 (phalcon-cphalcon-v3.1.2_GH0.tar.gz) = da619cab5979b3592b5e880a5e286e8d59841e911000be944fcddb030a7af587
3
SIZE (phalcon-cphalcon-v3.1.1_GH0.tar.gz) = 6467096
3
SIZE (phalcon-cphalcon-v3.1.2_GH0.tar.gz) = 6436291
(-)b/www/phalcon/files/extra-patch-phalcon.zep.c (-4 / +24 lines)
Lines 1-6 Link Here
1
--- phalcon.zep.c.orig	2016-11-26 21:03:16 UTC
1
--- phalcon.zep.c.orig	2017-04-05 21:26:32 UTC
2
+++ phalcon.zep.c
2
+++ phalcon.zep.c
3
@@ -2114,8 +2114,8 @@ static int ZEPHIR_FASTCALL zephir_memory
3
@@ -2117,8 +2117,8 @@ static int ZEPHIR_FASTCALL zephir_memory
4
 #define ZEPHIR_MM_RESTORE() zephir_memory_restore_stack(NULL)
4
 #define ZEPHIR_MM_RESTORE() zephir_memory_restore_stack(NULL)
5
 
5
 
6
 #else
6
 #else
Lines 11-17 Link Here
11
 
11
 
12
 #define ZEPHIR_MM_GROW() zephir_memory_grow_stack()
12
 #define ZEPHIR_MM_GROW() zephir_memory_grow_stack()
13
 #define ZEPHIR_MM_RESTORE() zephir_memory_restore_stack()
13
 #define ZEPHIR_MM_RESTORE() zephir_memory_restore_stack()
14
@@ -4212,7 +4212,7 @@ static void ZEPHIR_FASTCALL zephir_memor
14
@@ -2131,7 +2131,7 @@ static int ZEPHIR_FASTCALL zephir_memory
15
 static void ZEPHIR_FASTCALL zephir_memory_observe(zval *var);
16
 static void ZEPHIR_FASTCALL zephir_memory_alloc(zval *var);
17
 
18
-static int ZEPHIR_FASTCALL zephir_clean_restore_stack();
19
+static int zephir_clean_restore_stack();
20
 
21
 #define zephir_safe_zval_ptr_dtor(pzval)
22
 
23
@@ -4240,7 +4240,7 @@ static void ZEPHIR_FASTCALL zephir_memor
15
 
24
 
16
 #else
25
 #else
17
 
26
 
Lines 20-26 Link Here
20
 {
29
 {
21
 	zend_zephir_globals_def *g = ZEPHIR_VGLOBAL;
30
 	zend_zephir_globals_def *g = ZEPHIR_VGLOBAL;
22
 	if (g->start_memory == NULL) {
31
 	if (g->start_memory == NULL) {
23
@@ -4221,7 +4221,7 @@ static void ZEPHIR_FASTCALL zephir_memor
32
@@ -4249,7 +4249,7 @@ static void ZEPHIR_FASTCALL zephir_memor
24
 	zephir_memory_grow_stack_common(g);
33
 	zephir_memory_grow_stack_common(g);
25
 }
34
 }
26
 
35
 
Lines 29-31 Link Here
29
 {
38
 {
30
 	zephir_memory_restore_stack_common(ZEPHIR_VGLOBAL);
39
 	zephir_memory_restore_stack_common(ZEPHIR_VGLOBAL);
31
 	return SUCCESS;
40
 	return SUCCESS;
41
@@ -4496,8 +4496,8 @@ static void ZEPHIR_FASTCALL zephir_memor
42
 	ZVAL_NULL(var);
43
 }
44
 
45
-static int ZEPHIR_FASTCALL zephir_clean_restore_stack() {
46
-
47
+static int zephir_clean_restore_stack()
48
+{
49
 	zend_zephir_globals_def *zephir_globals_ptr = ZEPHIR_VGLOBAL;
50
 
51
 	while (zephir_globals_ptr->active_memory != NULL) {

Return to bug 218493