Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 2013 11:35:54 +0000 (UTC)
From:      Jun Kuriyama <kuriyama@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r318678 - in head/deskutils/howm: . files
Message-ID:  <201305211135.r4LBZspI057552@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kuriyama
Date: Tue May 21 11:35:54 2013
New Revision: 318678
URL: http://svnweb.freebsd.org/changeset/ports/318678

Log:
  Add a patch to work with emacs-24.3.
  
  Obtained from:	http://howm.sourceforge.jp/a/howm-test130318-emacs24.3.patch

Added:
  head/deskutils/howm/files/patch-gfunc.el   (contents, props changed)
Modified:
  head/deskutils/howm/Makefile

Modified: head/deskutils/howm/Makefile
==============================================================================
--- head/deskutils/howm/Makefile	Tue May 21 11:35:49 2013	(r318677)
+++ head/deskutils/howm/Makefile	Tue May 21 11:35:54 2013	(r318678)
@@ -2,7 +2,7 @@
 
 PORTNAME=	howm
 PORTVERSION=	1.4.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	deskutils
 MASTER_SITES=	http://howm.sourceforge.jp/a/
 

Added: head/deskutils/howm/files/patch-gfunc.el
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/howm/files/patch-gfunc.el	Tue May 21 11:35:54 2013	(r318678)
@@ -0,0 +1,21 @@
+--- gfunc.el.orig	2013-05-21 18:33:44.886328696 +0900
++++ gfunc.el	2013-05-21 18:35:12.044799983 +0900
+@@ -109,14 +109,12 @@
+ BODY is typically a set of `gfunc-def', and DISPATCHERS-VAR is used
+ as their dispatchers.
+ This macro cannot be nested."
++  ;; Be careful to etc/NEWS in Emacs 24.3 or
++  ;; http://www.masteringemacs.org/articles/2013/03/11/whats-new-emacs-24-3/
++  ;; "Emacs tries to macroexpand interpreted (non-compiled) files during load."
++  (setq *gfunc-dispatchers-var* dispatchers-var)
+   `(eval-and-compile
+-     ;; I want to use let instead of setq.
+-     ;; But, let doesn't work when this file is byte-compiled.
+-     ;; I don't understand the problem around macro and byte-compilation.
+-     (setq *gfunc-dispatchers-var* (quote ,dispatchers-var))
+      ,@body))
+-;;      (let ((*gfunc-dispatchers-var* (quote ,dispatchers-var)))
+-;;        ,@body)))
+ 
+ (provide 'gfunc)
+ 



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