ports/170360: [PATCH] editors/tamago: stop calling make-local-hook
Yasuhiro KIMURA
yasu at utahime.org
Fri Aug 3 21:20:09 UTC 2012
>Number: 170360
>Category: ports
>Synopsis: [PATCH] editors/tamago: stop calling make-local-hook
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Aug 03 21:20:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Yasuhiro KIMURA
>Release: FreeBSD 9.0-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD eastasia.home.utahime.org 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Wed Jun 13 07:27:30 JST 2012 root at eastasia.home.utahime.org:/usr/obj/usr0/freebsd/src/releng_9_0/src/sys/EASTASIA i386
>Description:
Stop calling make-local-hook because it is obsolete since 21.1
and removed at 24.1.
>How-To-Repeat:
>Fix:
--- patch-tamago begins here ---
Index: Makefile
===================================================================
RCS file: /usr0/freebsd/cvsroot/ports/editors/tamago/Makefile,v
retrieving revision 1.49
diff -u -r1.49 Makefile
--- Makefile 3 Aug 2012 06:05:08 -0000 1.49
+++ Makefile 3 Aug 2012 20:49:29 -0000
@@ -7,7 +7,7 @@
PORTNAME= tamago
PORTVERSION= 4.0.6.0.20041122.18
-PORTREVISION= 7
+PORTREVISION= 8
CATEGORIES= editors elisp
MASTER_SITES= ${MASTER_SITE_DEBIAN}
MASTER_SITE_SUBDIR= pool/main/e/egg
Index: files/post-patch-egg.el
===================================================================
RCS file: files/post-patch-egg.el
diff -N files/post-patch-egg.el
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/post-patch-egg.el 3 Aug 2012 20:42:11 -0000
@@ -0,0 +1,14 @@
+--- egg.el.orig 2012-08-04 05:36:35.000000000 +0900
++++ egg.el 2012-08-04 05:39:54.000000000 +0900
+@@ -169,7 +169,10 @@
+ (setq egg-modeless-mode t))
+ (setq inactivate-current-input-method-function 'egg-mode)
+ (setq describe-current-input-method-function 'egg-help)
+- (make-local-hook 'input-method-activate-hook)
++;; Stop calling make-local-hook because
++;; - make-local-hook is obsolete since 21.1 and removed at 24.1
++;; - following add-hook call does the job.
++;; (make-local-hook 'input-method-activate-hook)
+ (add-hook 'input-method-activate-hook 'its-set-mode-line-title nil t)
+ (if (eq (selected-window) (minibuffer-window))
+ (add-hook 'minibuffer-exit-hook 'egg-exit-from-minibuffer))
Index: files/post-patch-menudiag.el
===================================================================
RCS file: files/post-patch-menudiag.el
diff -N files/post-patch-menudiag.el
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/post-patch-menudiag.el 3 Aug 2012 20:42:45 -0000
@@ -0,0 +1,14 @@
+--- menudiag.el.orig 2001-01-28 03:53:13.000000000 +0900
++++ menudiag.el 2012-08-04 05:41:14.000000000 +0900
+@@ -503,7 +503,10 @@
+ (make-local-variable 'inhibit-read-only)
+ (setq buffer-read-only t
+ inhibit-read-only nil)
+- (make-local-hook 'post-command-hook)
++;; Stop calling make-local-hook because
++;; - make-local-hook is obsolete since 21.1 and removed at 24.1
++;; - following add-hook call does the job.
++;; (make-local-hook 'post-command-hook)
+ (add-hook 'post-command-hook 'menudiag-selection-align-to-item nil t)
+ (use-local-map menudiag-selection-map)
+ (setq mode-name "Menudiag Selection")
--- patch-tamago ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list