Patch for ecb-2.40 on version of CEDET included w/ Emacs 23.3b

Darren Bane <[email protected]> Thu, 15 Dec 2011 21:58:25 +0000
Newsgroups gmane.emacs.code-browser
Message-ID <CAFSwAQ5T=KxXhY-QiDSdrO5CN6TzFjote5hyh9F2+McN3Nv5DA@mail.gmail.com>
Hi,

I just noticed that the latest version of Emacs in my package manager
(Homebrew on Mac OS X Lion) has CEDET 1.0 bundled with it. However,
the Emacs maintainers slightly changed the directory structure from
upstream. The attached patch against ecb-2.40 fixes it, so that you no
longer have to install the CEDET dependency separately.

Thanks for the useful software!

Thanks.
-- 
Darren Bane

------------------------------------------------------------------------------
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity 
while improving strategic productivity.  Learn More! 
http://www.accelacomm.com/jaw/sdnl/114/51507609/

_______________________________________________
Ecb-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecb-list
patch-darrenbane.diff (application/octet-stream, 1.4 KB)
diff -ubBw -r ecb-2.40.orig/ecb-analyse.el ecb-2.40/ecb-analyse.el
--- ecb-2.40.orig/ecb-analyse.el	2009-05-16 14:33:05.000000000 +0100
+++ ecb-2.40/ecb-analyse.el	2011-12-15 21:37:59.000000000 +0000
@@ -31,7 +31,7 @@
 
 ;;; Code:
 
-(require 'semantic-analyze)
+(require 'semantic/analyze)
 (require 'ecb-layout)
 (require 'ecb-common-browser)
 (require 'ecb-method-browser)
diff -ubBw -r ecb-2.40.orig/ecb-cedet-wrapper.el ecb-2.40/ecb-cedet-wrapper.el
--- ecb-2.40.orig/ecb-cedet-wrapper.el	2009-05-16 14:33:05.000000000 +0100
+++ ecb-2.40/ecb-cedet-wrapper.el	2011-12-15 21:35:02.000000000 +0000
@@ -37,11 +37,11 @@
 
 
 (require 'semantic)
-(require 'semantic-ctxt)
-(require 'semantic-analyze)
-(require 'semanticdb)
-(require 'semanticdb-find)
-(require 'semanticdb-mode)
+(require 'semantic/ctxt)
+(require 'semantic/analyze)
+(require 'semantic/db)
+(require 'semantic/db-find)
+(require 'semantic/db-mode)
 
 (defconst ecb-semantic-2-loaded (string-match "^2" semantic-version))
 
diff -ubBw -r ecb-2.40.orig/ecb-method-browser.el ecb-2.40/ecb-method-browser.el
--- ecb-2.40.orig/ecb-method-browser.el	2009-05-16 14:33:05.000000000 +0100
+++ ecb-2.40/ecb-method-browser.el	2011-12-15 21:43:38.000000000 +0000
@@ -41,7 +41,7 @@
 
 (require 'ecb-cedet-wrapper)
 ;; This loads the semantic-setups for the major-modes.
-(require 'semantic-load)
+(require 'loaddefs)
 
 ;; various loads
 (require 'assoc)