aboutsummaryrefslogtreecommitdiff
path: root/deskutils/howm
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2013-05-21 11:35:54 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2013-05-21 11:35:54 +0000
commit9ff40be092867b882b85e6c9ba65912ac6aad020 (patch)
treefd92fa3b1489b0c871ea7fbab39ce9fcd376570a /deskutils/howm
parent1889c7cb03d37f9ffdc0ba63c3dc059b65029a51 (diff)
downloadports-9ff40be092867b882b85e6c9ba65912ac6aad020.tar.gz
ports-9ff40be092867b882b85e6c9ba65912ac6aad020.zip
Notes
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)
+