Bug 113755

Summary: editors/tamago does not work with FreeWnn-server on 64-bit emacs.
Product: Ports & Packages Reporter: Nobuhiro Ban <ban.nobuhiro>
Component: Individual Port(s)Assignee: Andrey Slusar <anray>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Nobuhiro Ban 2007-06-16 17:10:02 UTC
tamago does not work with FreeWnn-server on 64bit-emacs.

When I try converting hiragana to kanji by tamago (using FreeWnn
jserver), I get ``cannot connect to the server'' error (in Japanese).

It seems that some code assume comm-unpack-u32 returns -1 when read
FF FF FF FF. But this procedure return 4294967295 (2^32 - 1) on
64bit-emacs.

  64bit-emacs
  (+ (lsh 255 24) (lsh 255 16) (lsh 255 8) 255)
  => 4294967295

  32bit-emacs
  (+ (lsh 255 24) (lsh 255 16) (lsh 255 8) 255)
  => -1

Fix: try this patch:
How-To-Repeat: always with 64-bit emacs and FreeWnn.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-06-16 23:47:33 UTC
Responsible Changed
From-To: freebsd-ports-bugs->anray

anray@ wants to have elisp PRs
Comment 2 dfilter service freebsd_committer freebsd_triage 2007-06-22 19:43:52 UTC
anray       2007-06-22 18:43:45 UTC

  FreeBSD ports repository

  Modified files:
    editors/tamago       Makefile 
  Added files:
    editors/tamago/files patch-wnnrpc.el 
  Log:
  Fix works on FreeWnn-server and 64bit-emacs.
  
  PR:             ports/113755
  Submitted by:   Nobuhiro Ban <ban.nobuhiro@gmail.com>
  
  Revision  Changes    Path
  1.32      +1 -0      ports/editors/tamago/Makefile
  1.1       +21 -0     ports/editors/tamago/files/patch-wnnrpc.el (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Andrey Slusar freebsd_committer freebsd_triage 2007-06-22 19:44:03 UTC
State Changed
From-To: open->closed

Committed. Thanks!