Bug 168583 - devel/php-xdebug update to 2.2.0
Summary: devel/php-xdebug update to 2.2.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sylvio Cesar Teixeira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-02 17:50 UTC by Oleg Ginzburg
Modified: 2012-07-02 21:00 UTC (History)
0 users

See Also:


Attachments
file.diff (807 bytes, patch)
2012-06-02 17:50 UTC, Oleg Ginzburg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Ginzburg 2012-06-02 17:50:13 UTC
php-xdebug 2.2.0 update

<Changes>
Added features

Support for PHP 5.4.
Added ANSI colour output for the shell. (Including patches by Michael Maclean)
Added var_dump() overloading on the command line (bug #457).
Added better support for closures in stack and function traces.
Added the size of arrays to the overloaded variable output, so that you know how many elements there are.
Added support for X-HTTP-FORWARDED-FOR before falling back to REMOTE_ADDR (bug #660). (Patch by Hannes Magnusson)
Added the method call type to xdebug_get_function_stack() (bug #695).
Added extra information to error printouts to tell that the error suppression operator has been ignored due to xdebug.scream.
Added a error-specific CSS class to stack traces.
</Changes>

Fix: Patch attached with submission follows:
Comment 1 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2012-06-02 23:47:24 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sylvio

I'll take it.
Comment 2 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2012-06-05 22:17:32 UTC
State Changed
From-To: open->feedback

Ask for maintainer approval.
Comment 3 Bill Moran 2012-07-02 00:57:48 UTC
I have a slightly different diff for this.  It switches the
default to PHP 5.4, and allows it to build with 5.4 at all.
I've also tested against 5.3 with success:

diff -ruN php-xdebug.orig/Makefile php-xdebug/Makefile
--- php-xdebug.orig/Makefile	2012-05-22 19:37:43.000000000 -0400
+++ php-xdebug/Makefile	2012-06-26 21:44:10.000000000 -0400
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	xdebug
-PORTVERSION=	2.1.3
+PORTVERSION=	2.2.0
 PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://www.xdebug.org/files/
@@ -21,8 +21,7 @@
 USE_PHPEXT=	yes
 USE_PHPIZE=	yes
 SUB_FILES=	pkg-message
-DEFAULT_PHP_VER=	53
-IGNORE_WITH_PHP=	5
+DEFAULT_PHP_VER=	5
 
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
diff -ruN php-xdebug.orig/distinfo php-xdebug/distinfo
--- php-xdebug.orig/distinfo	2012-02-12 09:45:34.000000000 -0500
+++ php-xdebug/distinfo	2012-06-26 21:28:11.000000000 -0400
@@ -1,2 +1,2 @@
-SHA256 (xdebug-2.1.3.tgz) = 1b256ccf7bbac346c8cc13490ced5dd527206f201fa51be556b4d51cdabbad33
-SIZE (xdebug-2.1.3.tgz) = 307557
+SHA256 (xdebug-2.2.0.tgz) = 91e426fb3e8ea2b49a1d129b0e56cf357891ea4ef7a95d9a45350d8143f593bc
+SIZE (xdebug-2.2.0.tgz) = 247690


-- 
Bill Moran <wmoran@collaborativefusion.com>
Comment 4 dfilter service freebsd_committer freebsd_triage 2012-07-02 20:51:33 UTC
wxs         2012-07-02 19:51:24 UTC

  FreeBSD ports repository

  Modified files:
    devel/php-xdebug     Makefile distinfo 
  Log:
  Update to 2.2.0 and work on php54.
  
  PR:             ports/168583
  Submitted by:   Oleg Ginzburg <olevole@olevole.ru>
  Approved by:    Bill Moran <wmoran@collaborativefusion.com> (maintainer)
  
  Revision  Changes    Path
  1.26      +2 -4      ports/devel/php-xdebug/Makefile
  1.19      +2 -2      ports/devel/php-xdebug/distinfo
_______________________________________________
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"
Comment 5 Wesley Shields freebsd_committer freebsd_triage 2012-07-02 20:51:36 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!