From owner-svn-ports-all@FreeBSD.ORG Sun Sep 2 05:15:17 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E2DF1106566B; Sun, 2 Sep 2012 05:15:16 +0000 (UTC) (envelope-from acm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id A970C8FC0A; Sun, 2 Sep 2012 05:15:16 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q825FGs4043451; Sun, 2 Sep 2012 05:15:16 GMT (envelope-from acm@svn.freebsd.org) Received: (from acm@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q825FGK4043447; Sun, 2 Sep 2012 05:15:16 GMT (envelope-from acm@svn.freebsd.org) Message-Id: <201209020515.q825FGK4043447@svn.freebsd.org> From: Jose Alonso Cardenas Marquez Date: Sun, 2 Sep 2012 05:15:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r303530 - in head/graphics/php5-ffmpeg: . files X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2012 05:15:17 -0000 Author: acm Date: Sun Sep 2 05:15:16 2012 New Revision: 303530 URL: http://svn.freebsd.org/changeset/ports/303530 Log: - Fix build on PHP 5.4.x PR: 169370 Submitted by: Alexander Moskalenko Added: head/graphics/php5-ffmpeg/files/patch-ffmpeg_movie.c (contents, props changed) Modified: head/graphics/php5-ffmpeg/Makefile Modified: head/graphics/php5-ffmpeg/Makefile ============================================================================== --- head/graphics/php5-ffmpeg/Makefile Sun Sep 2 05:07:01 2012 (r303529) +++ head/graphics/php5-ffmpeg/Makefile Sun Sep 2 05:15:16 2012 (r303530) @@ -7,7 +7,7 @@ PORTNAME= ffmpeg PORTVERSION= 0.6.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}-php/${PORTNAME}-php/${PORTVERSION} PKGNAMEPREFIX= php5- @@ -25,8 +25,7 @@ USE_BZIP2= yes USE_PHP= yes USE_PHPIZE= yes USE_PHPEXT= yes -DEFAULT_PHP_VER=53 -IGNORE_WITH_PHP=5 +DEFAULT_PHP_VER=54 CONFIGURE_ARGS+= --with-ffmpeg=${LOCALBASE}/include Added: head/graphics/php5-ffmpeg/files/patch-ffmpeg_movie.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/php5-ffmpeg/files/patch-ffmpeg_movie.c Sun Sep 2 05:15:16 2012 (r303530) @@ -0,0 +1,38 @@ +--- ffmpeg_movie.c.orig 2012-09-01 22:21:08.000000000 -0500 ++++ ffmpeg_movie.c 2012-09-01 22:25:06.000000000 -0500 +@@ -308,7 +308,7 @@ + } + + if (persistent) { +- list_entry *le; ++ zend_rsrc_list_entry *le; + /* resolve the fully-qualified path name to use as the hash key */ + fullpath = expand_filepath(filename, NULL TSRMLS_CC); + +@@ -343,7 +343,7 @@ + } + + } else { /* no existing persistant movie, create one */ +- list_entry new_le; ++ zend_rsrc_list_entry new_le; + ffmovie_ctx = _php_alloc_ffmovie_ctx(1); + + if (_php_open_movie_file(ffmovie_ctx, filename)) { +@@ -357,7 +357,7 @@ + new_le.ptr = ffmovie_ctx; + + if (FAILURE == zend_hash_update(&EG(persistent_list), hashkey, +- hashkey_length+1, (void *)&new_le, sizeof(list_entry), ++ hashkey_length+1, (void *)&new_le, sizeof(zend_rsrc_list_entry), + NULL)) { + php_error_docref(NULL TSRMLS_CC, E_WARNING, + "Failed to register persistent resource"); +@@ -501,7 +501,7 @@ + codec_id)); + + if (!decoder) { +- zend_error(E_ERROR, "Could not find decoder for %s", ++ zend_error(E_WARNING, "Could not find decoder for %s", + _php_get_filename(ffmovie_ctx)); + return NULL; + }