aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/jed
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-10-05 00:29:51 +0800
committerknu <knu@FreeBSD.org>2000-10-05 00:29:51 +0800
commitb96b86db6e77d1df343500da932627be474380e9 (patch)
tree435f46d1338b809205047edd6084dd4230c14639 /japanese/jed
parentf2f1edbc35dcc7e868f72635a2689ec052a4f3e9 (diff)
downloadfreebsd-ports-gnome-b96b86db6e77d1df343500da932627be474380e9.tar.gz
freebsd-ports-gnome-b96b86db6e77d1df343500da932627be474380e9.tar.zst
freebsd-ports-gnome-b96b86db6e77d1df343500da932627be474380e9.zip
Add a patch for lib/abbrev.sl to fix abbrev_mode.
Obtained from: s-lang@juice.or.jp mailing list
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);
+ }
+