ports/168002: pecl-http : can't build due to API change

Andrew Kochetkov kochetkov.andrew at gmail.com
Thu May 17 08:10:02 UTC 2012


>Number:         168002
>Category:       ports
>Synopsis:       pecl-http : can't build due to API change
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 17 08:10:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Kochetkov
>Release:        8.2-RELEASE
>Organization:
Quickpay
>Environment:
>Description:
can't build pecl-http 1.7.1 from ports:

/var/ports/basejail/usr/ports/www/pecl-http/work/pecl_http-1.7.1/http_message_object.c: In function '_http_message_object_new_ex':
/var/ports/basejail/usr/ports/www/pecl-http/work/pecl_http-1.7.1/http_message_object.c:517: error: 'zend_class_entry' has no member named 'default_properties'
/var/ports/basejail/usr/ports/www/pecl-http/work/pecl_http-1.7.1/http_message_object.c:518: error: 'zend_class_entry' has no member named 'default_properties'

but 1.7.4 works with php5.4
>How-To-Repeat:
try to build pecl-http with php 5.4 installed
>Fix:
change version to 1.7.4 (patch is appached)

Patch attached with submission follows:

diff -nru pecl-http.orig/Makefile pecl-http/Makefile
--- pecl-http.orig/Makefile	2011-06-25 12:52:38.000000000 +0400
+++ pecl-http/Makefile	2012-05-17 11:58:08.000000000 +0400
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	http
-PORTVERSION=	1.7.1
+PORTVERSION=	1.7.4
 CATEGORIES=	www
 MASTER_SITES=	http://pecl.php.net/get/
 PKGNAMEPREFIX=	pecl-
diff -nru pecl-http.orig/distinfo pecl-http/distinfo
--- pecl-http.orig/distinfo	2011-06-25 12:52:38.000000000 +0400
+++ pecl-http/distinfo	2012-05-17 12:02:11.000000000 +0400
@@ -1,2 +1,2 @@
-SHA256 (pecl_http-1.7.1.tgz) = e6f6ee2e1d724486fbc6e9c8f54fe1751309422c704e6f727af342ee499458f2
-SIZE (pecl_http-1.7.1.tgz) = 174098
+SHA256 (pecl_http-1.7.4.tgz) = 9006122f45a96754a417fd5afb00a7b6ad1aa125dd2158e56ca1b2d334421e03
+SIZE (pecl_http-1.7.4.tgz) = 174503


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list