From: | "Ulrich Mueller (ulm)" <ulm@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-emacs/jde/files: jde-2.3.5.1-fix-efc.patch |
Date: | Mon, 02 Mar 2009 23:03:40 |
Message-Id: | E1LeH94-000105-BS@stork.gentoo.org |
1 | ulm 09/03/02 23:01:58 |
2 | |
3 | Added: jde-2.3.5.1-fix-efc.patch |
4 | Log: |
5 | Fix byte compilation with current Emacs. Clean up src_install() function. |
6 | (Portage version: 2.2_rc23/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-emacs/jde/files/jde-2.3.5.1-fix-efc.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/jde/files/jde-2.3.5.1-fix-efc.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emacs/jde/files/jde-2.3.5.1-fix-efc.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: jde-2.3.5.1-fix-efc.patch |
15 | =================================================================== |
16 | Fix byte compilation of efc.el, from upstream SVN repository. |
17 | http://jdee.svn.sourceforge.net/viewvc/jdee/branches/2.3.6/jde/lisp/efc.el?r1=37&r2=43 |
18 | |
19 | --- jde/lisp/efc.el |
20 | +++ jde/lisp/efc.el |
21 | @@ -648,7 +648,7 @@ |
22 | (if (efc-coll-type-compatible-p this item) |
23 | (oset this items (append (oref this items) (list item))) |
24 | (error "Tried to add an item of type %s to a list of items of type %s" |
25 | - (typep item) (oref this elem-type)))) |
26 | + (type-of item) (oref this elem-type)))) |
27 | |
28 | (defmethod efc-coll-iterator ((this efc-list)) |
29 | "Return an iterator for this list." |
30 | @@ -760,14 +760,14 @@ |
31 | (defmethod initialize-instance ((this efc-hash-table) &rest fields) |
32 | "Hash table constructor." |
33 | (call-next-method) |
34 | - (oset table (make-hash-table))) |
35 | + (oset this table (make-hash-table))) |
36 | |
37 | (defmethod efc-coll-put ((this efc-hash-table) key value) |
38 | "Put an item into the table." |
39 | (if (efc-coll-type-compatible-p this value) |
40 | (puthash key value (oref this table)) |
41 | (error "Tried to add an item of type %s to a hash table of items of type %s" |
42 | - (typep value) (oref this elem-type)))) |
43 | + (type-of value) (oref this elem-type)))) |
44 | |
45 | (defmethod efc-coll-get ((this efc-hash-table) key) |
46 | "Get an item from the table." |