aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/howm
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2013-05-21 19:35:54 +0800
committerkuriyama <kuriyama@FreeBSD.org>2013-05-21 19:35:54 +0800
commitb3a876faabb120f69383e0e0d53acca83865d8a3 (patch)
treefd92fa3b1489b0c871ea7fbab39ce9fcd376570a /deskutils/howm
parentcf58f257bf39e02697610c3f8381d0c026f2275e (diff)
downloadfreebsd-ports-gnome-b3a876faabb120f69383e0e0d53acca83865d8a3.tar.gz
freebsd-ports-gnome-b3a876faabb120f69383e0e0d53acca83865d8a3.tar.zst
freebsd-ports-gnome-b3a876faabb120f69383e0e0d53acca83865d8a3.zip
Add a patch to work with emacs-24.3.
Obtained from: http://howm.sourceforge.jp/a/howm-test130318-emacs24.3.patch
Diffstat (limited to 'deskutils/howm')
-rw-r--r--deskutils/howm/Makefile2
-rw-r--r--deskutils/howm/files/patch-gfunc.el21
2 files changed, 22 insertions, 1 deletions
diff --git a/deskutils/howm/Makefile b/deskutils/howm/Makefile
index d9e49c12c126..5e05a090c688 100644
--- a/deskutils/howm/Makefile
+++ b/deskutils/howm/Makefile
@@ -2,7 +2,7 @@
PORTNAME= howm
PORTVERSION= 1.4.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= deskutils
MASTER_SITES= http://howm.sourceforge.jp/a/
diff --git a/deskutils/howm/files/patch-gfunc.el b/deskutils/howm/files/patch-gfunc.el
new file mode 100644
index 000000000000..d59881c6e595
--- /dev/null
+++ b/deskutils/howm/files/patch-gfunc.el
@@ -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)
+