Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 132880

Summary: php5 patch for ctags
Product: Gentoo Linux Reporter: Ilya Hegai <vyacheslavovich>
Component: New packagesAssignee: Vim Maintainers <vim>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 142605    
Bug Blocks:    
Attachments: ctags-5.5.4-php5.patch
'const' keyword support added
PHP5 patch freshly from ctags' SVN repository

Description Ilya Hegai 2006-05-10 04:08:28 UTC
patch from Christoph Frick pasted here - http://blog.bitflux.ch/archive/2004/04/15/ctags_for_php.html - allows to work with php5
Comment 1 Ilya Hegai 2006-05-10 04:09:12 UTC
Created attachment 86539 [details, diff]
ctags-5.5.4-php5.patch
Comment 2 Ilya Hegai 2006-05-10 04:11:17 UTC
if it will be accepted and included in ebuild, 'php' USE flag is supposed to be added
Comment 3 Ilya Hegai 2006-05-29 04:53:47 UTC
Created attachment 87794 [details, diff]
'const' keyword support added

I've just added 'const' keyword support
Comment 4 Mike Kelly (RETIRED) gentoo-dev 2007-01-11 15:34:09 UTC
Hi,

I'm not interested in commiting a patch against ctags-5.5.4, as we now have ctags-5.6 in the tree. Would you mind verifying that this patch works as intended against 5.6, or if not, submitting an updated patch? Or confirming if this patch is even needed anymore?
Comment 5 Dirk Tilger 2007-01-25 11:44:17 UTC
Created attachment 108116 [details, diff]
PHP5 patch freshly from ctags' SVN repository

The patch has been freshly obtained from the SVN repository using:

svn diff --notice-ancestry https://ctags.svn.sourceforge.net/svnroot/ctags/tags/Ctags-5_6/php.c https://ctags.svn.sourceforge.net/svnroot/ctags/trunk/php.c > files/ctags-5.6-php5.patch

I've patched it into the 5.6 ebuild and it works as expected for me (I'm seeing PHP5 class methods) both for PHP5 source files and PHP4 source files.
Comment 6 Mike Kelly (RETIRED) gentoo-dev 2007-05-08 23:23:41 UTC
This patch is included in dev-util/ctags-5.6-r1, which should hit your local sometime in the next few hours. Thanks for the report.