From nobody@FreeBSD.org  Wed Jun  6 06:34:54 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 879541065672
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  6 Jun 2012 06:34:54 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 7322D8FC19
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  6 Jun 2012 06:34:54 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q566Yst4099109
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 6 Jun 2012 06:34:54 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q566YsHP099108;
	Wed, 6 Jun 2012 06:34:54 GMT
	(envelope-from nobody)
Message-Id: <201206060634.q566YsHP099108@red.freebsd.org>
Date: Wed, 6 Jun 2012 06:34:54 GMT
From: Valery Komarov <komarov@valerka.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [UPDATE] archivers/pecl-lzf
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         168741
>Category:       ports
>Synopsis:       [UPDATE] archivers/pecl-lzf
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 06 06:40:10 UTC 2012
>Closed-Date:    Sat Jun 09 14:49:14 UTC 2012
>Last-Modified:  Sat Jun  9 14:50:15 UTC 2012
>Originator:     Valery Komarov
>Release:        FreeBSD 9-STABLE amd64
>Organization:
>Environment:
>Description:
Fix build with PHP 4.5
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN /usr/ports/archivers/pecl-lzf/Makefile pecl-lzf/Makefile
--- /usr/ports/archivers/pecl-lzf/Makefile	2012-05-28 12:50:44.496503817 +0400
+++ pecl-lzf/Makefile	2012-06-06 10:26:08.697503002 +0400
@@ -7,6 +7,7 @@
 
 PORTNAME=	lzf
 PORTVERSION=	1.5.2
+PORTREVISION=   2
 CATEGORIES=	archivers pear
 MASTER_SITES=	http://pecl.php.net/get/
 PKGNAMEPREFIX=	pecl-
@@ -18,8 +19,6 @@
 
 USE_PHP=	yes
 USE_PHPEXT=	yes
-DEFAULT_PHP_VER=53
-IGNORE_WITH_PHP=5
 
 CONFIGURE_ARGS=	--enable-lzf
 WRKSRC=		${WRKDIR}/${DISTNAME:U}
diff -ruN /usr/ports/archivers/pecl-lzf/files/patch-lzf.c pecl-lzf/files/patch-lzf.c
--- /usr/ports/archivers/pecl-lzf/files/patch-lzf.c	1970-01-01 03:00:00.000000000 +0300
+++ pecl-lzf/files/patch-lzf.c	2012-06-06 10:11:51.405502762 +0400
@@ -0,0 +1,11 @@
+--- ./lzf.c.orig	2009-03-02 17:53:17.000000000 +0300
++++ ./lzf.c	2012-06-06 10:11:48.202502799 +0400
+@@ -37,7 +37,7 @@
+ *
+ * Every user visible function must have an entry in lzf_functions[].
+ */
+-function_entry lzf_functions[] = {
++zend_function_entry lzf_functions[] = {
+ 	PHP_FE(lzf_compress,		NULL)
+ 	PHP_FE(lzf_decompress,		NULL)
+ 	PHP_FE(lzf_optimized_for,	NULL)


>Release-Note:
>Audit-Trail:
Class-Changed-From-To: update->change-request 
Class-Changed-By: rm 
Class-Changed-When: Wed Jun 6 10:58:15 UTC 2012 
Class-Changed-Why:  
Over to maintainer. 


Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: rm 
Responsible-Changed-When: Wed Jun 6 10:58:15 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=168741 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Jun 9 14:49:12 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=168741 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/168741: commit references a PR
Date: Sat,  9 Jun 2012 14:49:10 +0000 (UTC)

 miwi        2012-06-09 14:48:58 UTC
 
   FreeBSD ports repository
 
   Modified files:
     archivers/pecl-lzf   Makefile 
   Added files:
     archivers/pecl-lzf/files patch-lzf.c 
   Log:
   - Fix build for php54
   
   PR:             168741
   Submitted by:   Valery Komarov <komarov@valerka.net>
   
   Revision  Changes    Path
   1.10      +1 -2      ports/archivers/pecl-lzf/Makefile
   1.1       +11 -0     ports/archivers/pecl-lzf/files/patch-lzf.c (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
