summaryrefslogtreecommitdiff
path: root/japanese/jed
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-10-04 16:29:51 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-10-04 16:29:51 +0000
commit6f9b90996b7ad96ad37b3fce5ddbd63babf20874 (patch)
treec916af831f2654fe3606afaf1811893e35d46531 /japanese/jed
parentChange maintainer's e-mail address. (diff)
Add a patch for lib/abbrev.sl to fix abbrev_mode.
Obtained from: s-lang@juice.or.jp mailing list
Notes
Notes: svn path=/head/; revision=33413
Diffstat (limited to 'japanese/jed')
-rw-r--r--japanese/jed/Makefile1
-rw-r--r--japanese/jed/files/patch-ag22
2 files changed, 23 insertions, 0 deletions
diff --git a/japanese/jed/Makefile b/japanese/jed/Makefile
index 8ac9e58805e7..a3882a5845a4 100644
--- a/japanese/jed/Makefile
+++ b/japanese/jed/Makefile
@@ -7,6 +7,7 @@
PORTNAME= jed
PORTVERSION= ${VERSION}.j${JP_VERSION}
+PORTREVISION= 1
CATEGORIES= japanese editors
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://kondara.sdri.co.jp/~kikutani/slang/
diff --git a/japanese/jed/files/patch-ag b/japanese/jed/files/patch-ag
new file mode 100644
index 000000000000..f5f5b29b6dd2
--- /dev/null
+++ b/japanese/jed/files/patch-ag
@@ -0,0 +1,22 @@
+--- lib/abbrev.sl 2000/10/01 17:41:08 1.1
++++ lib/abbrev.sl 2000/10/01 17:41:46
+@@ -32,16 +32,16 @@
+ define set_abbrev_mode (val)
+ {
+ getbuf_info ();
+- if (val) () | 0x800; else () & ~(0x800);
++ if (val) () | 0x1000; else () & ~(0x1000);
+ setbuf_info(());
+ }
+
+ define abbrev_mode ()
+ {
+- variable flags = getbuf_info() xor 0x800;
++ variable flags = getbuf_info() xor 0x1000;
+ variable msg = "Abbrev mode OFF";
+ setbuf_info(flags);
+- if (flags & 0x800) msg = "Abbrev mode ON";
++ if (flags & 0x1000) msg = "Abbrev mode ON";
+ message (msg);
+ }
+