Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  4 Aug 2012 06:04:08 +0900 (JST)
From:      Yasuhiro KIMURA <yasu@utahime.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/170360: [PATCH] editors/tamago: stop calling make-local-hook
Message-ID:  <20120803210408.C839C2EA68@eastasia.home.utahime.org>
Resent-Message-ID: <201208032120.q73LK8Sh063733@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120803210408.C839C2EA68>