freebsd-ports/japanese/FreeWnn-lib/files/patch-Wnn-jserver-de_header.h
Hiroki Sato 4b38031b7f - Improve buffer management. This change should fix issues on amd64.
- Fix daemonizing part.  It now returns the exit status correctly.
- Fix *_{pre,post}cmd handling in the rc.d scripts.  Plus,
  wnntouch is now invoked just before running the server process.
- Use ${*_WNNMANDIR} in Makefile to use the common patchset
  in both FreeWnn-server and -lib.
- Integrate libtool22 change and regenerate patch files.
2010-01-02 14:47:20 +00:00

28 lines
836 B
C

Index: Wnn/jserver/de_header.h
===================================================================
RCS file: /home/cvs/private/hrs/freewnn/Wnn/jserver/de_header.h,v
retrieving revision 1.1.1.1
retrieving revision 1.3
diff -u -p -r1.1.1.1 -r1.3
--- Wnn/jserver/de_header.h 20 Dec 2008 07:13:30 -0000 1.1.1.1
+++ Wnn/jserver/de_header.h 2 Jan 2009 11:46:51 -0000 1.3
@@ -52,6 +52,8 @@
# endif /* KOREAN */
#endif /* CHINESE */
+#include <netdb.h>
+
#include "jslib.h"
#include "commonhd.h"
#include "jdata.h"
@@ -205,6 +207,10 @@ GLOBAL int option_flag GLOBAL_VAL(0);
GLOBAL char jserver_dir[MAXPATHLEN];
GLOBAL char jserverrcfile[MAXPATHLEN];
+
+#define MAXLISTENADDR 256
+GLOBAL char listenaddr[MAXLISTENADDR][NI_MAXHOST];
+
GLOBAL char *hinsi_file_name GLOBAL_VAL(NULL);
GLOBAL char lang_dir[MAXPATHLEN];