Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 May 2015 13:35:51 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r386545 - in head/graphics/php5-ffmpeg: . files
Message-ID:  <201505161335.t4GDZpb4076320@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat May 16 13:35:50 2015
New Revision: 386545
URL: https://svnweb.freebsd.org/changeset/ports/386545

Log:
  - Use DISTVERSIONPREFIX instead of DISTNAME
  - Remove leading definite article from COMMENT
  - Regenerate patch file with makepatch:

Modified:
  head/graphics/php5-ffmpeg/Makefile
  head/graphics/php5-ffmpeg/files/patch-ffmpeg_movie.c

Modified: head/graphics/php5-ffmpeg/Makefile
==============================================================================
--- head/graphics/php5-ffmpeg/Makefile	Sat May 16 13:35:46 2015	(r386544)
+++ head/graphics/php5-ffmpeg/Makefile	Sat May 16 13:35:50 2015	(r386545)
@@ -3,13 +3,13 @@
 
 PORTNAME=	ffmpeg
 PORTVERSION=	0.6.0.20120114
+DISTVERSIONPREFIX=	php-
 CATEGORIES=	graphics
 MASTER_SITES=	LOCAL/sunpoet
 PKGNAMEPREFIX=	php5-
-DISTNAME=	${PORTNAME}-php-${PORTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
-COMMENT=	The ffmpeg shared extension for php
+COMMENT=	FFmpeg shared extension for php
 
 LICENSE=	GPLv2
 

Modified: head/graphics/php5-ffmpeg/files/patch-ffmpeg_movie.c
==============================================================================
--- head/graphics/php5-ffmpeg/files/patch-ffmpeg_movie.c	Sat May 16 13:35:46 2015	(r386544)
+++ head/graphics/php5-ffmpeg/files/patch-ffmpeg_movie.c	Sat May 16 13:35:50 2015	(r386545)
@@ -1,6 +1,6 @@
---- ffmpeg_movie.c.orig	2014-07-24 01:57:31.000000000 +0800
-+++ ffmpeg_movie.c	2014-07-24 02:05:36.823897263 +0800
-@@ -315,7 +315,7 @@
+--- ffmpeg_movie.c.orig	2014-07-23 17:57:31 UTC
++++ ffmpeg_movie.c
+@@ -315,7 +315,7 @@ FFMPEG_PHP_CONSTRUCTOR(ffmpeg_movie, __c
      } 
  
      if (persistent) {
@@ -9,7 +9,7 @@
          /* resolve the fully-qualified path name to use as the hash key */
          fullpath = expand_filepath(filename, NULL TSRMLS_CC);
  
-@@ -350,7 +350,7 @@
+@@ -350,7 +350,7 @@ FFMPEG_PHP_CONSTRUCTOR(ffmpeg_movie, __c
              }
              
          } else { /* no existing persistant movie, create one */
@@ -18,7 +18,7 @@
              ffmovie_ctx = _php_alloc_ffmovie_ctx(1);
  
              if (_php_open_movie_file(ffmovie_ctx, filename)) {
-@@ -364,7 +364,7 @@
+@@ -364,7 +364,7 @@ FFMPEG_PHP_CONSTRUCTOR(ffmpeg_movie, __c
              new_le.ptr = ffmovie_ctx;
  
              if (FAILURE == zend_hash_update(&EG(persistent_list), hashkey, 
@@ -27,7 +27,7 @@
                          NULL)) {
                  php_error_docref(NULL TSRMLS_CC, E_WARNING, 
                          "Failed to register persistent resource");
-@@ -508,7 +508,7 @@
+@@ -508,7 +508,7 @@ static AVCodecContext* _php_get_decoder_
                      codec_id));
  
          if (!decoder) {
@@ -36,7 +36,7 @@
                      _php_get_filename(ffmovie_ctx));
              return NULL;
          }
-@@ -964,12 +964,14 @@
+@@ -964,12 +964,14 @@ static const char* _php_get_codec_name(f
      /* Copied from libavcodec/utils.c::avcodec_string */
      if (p) {
          codec_name = p->name;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505161335.t4GDZpb4076320>