summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/jde/files/jde-2.3.5.1-fix-efc.patch')
-rw-r--r--app-emacs/jde/files/jde-2.3.5.1-fix-efc.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/app-emacs/jde/files/jde-2.3.5.1-fix-efc.patch b/app-emacs/jde/files/jde-2.3.5.1-fix-efc.patch
deleted file mode 100644
index 496c6bfef7a5..000000000000
--- a/app-emacs/jde/files/jde-2.3.5.1-fix-efc.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Fix byte compilation of efc.el, from upstream SVN repository.
-http://jdee.svn.sourceforge.net/viewvc/jdee/branches/2.3.6/jde/lisp/efc.el?r1=37&r2=43
-
---- jde/lisp/efc.el
-+++ jde/lisp/efc.el
-@@ -648,7 +648,7 @@
- (if (efc-coll-type-compatible-p this item)
- (oset this items (append (oref this items) (list item)))
- (error "Tried to add an item of type %s to a list of items of type %s"
-- (typep item) (oref this elem-type))))
-+ (type-of item) (oref this elem-type))))
-
- (defmethod efc-coll-iterator ((this efc-list))
- "Return an iterator for this list."
-@@ -760,14 +760,14 @@
- (defmethod initialize-instance ((this efc-hash-table) &rest fields)
- "Hash table constructor."
- (call-next-method)
-- (oset table (make-hash-table)))
-+ (oset this table (make-hash-table)))
-
- (defmethod efc-coll-put ((this efc-hash-table) key value)
- "Put an item into the table."
- (if (efc-coll-type-compatible-p this value)
- (puthash key value (oref this table))
- (error "Tried to add an item of type %s to a hash table of items of type %s"
-- (typep value) (oref this elem-type))))
-+ (type-of value) (oref this elem-type))))
-
- (defmethod efc-coll-get ((this efc-hash-table) key)
- "Get an item from the table."