Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-i18n/skkfep/files: skkfep-0.87-gentoo.patch
Date: Sat, 01 Nov 2008 02:46:57
Message-Id: E1Kw6Vq-0001al-NU@stork.gentoo.org
1 matsuu 08/11/01 02:46:54
2
3 Added: skkfep-0.87-gentoo.patch
4 Log:
5 CFLAGS and CC support, bug #240050 and #243598. Fixed QA issue and dependency. Added ~amd64.
6 (Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)
7
8 Revision Changes Path
9 1.1 app-i18n/skkfep/files/skkfep-0.87-gentoo.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/skkfep/files/skkfep-0.87-gentoo.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/skkfep/files/skkfep-0.87-gentoo.patch?rev=1.1&content-type=text/plain
13
14 Index: skkfep-0.87-gentoo.patch
15 ===================================================================
16 diff -Naur skkfep-0.87.orig/config.h skkfep-0.87/config.h
17 --- skkfep-0.87.orig/config.h 2003-09-03 08:50:18.000000000 +0900
18 +++ skkfep-0.87/config.h 2008-11-01 09:53:22.000000000 +0900
19 @@ -24,8 +24,8 @@
20 /* SKK server */
21
22 #define USER_DIC_NAME ".skk-jisyo"
23 -/* #define SYSTEM_DIC_NAME "/usr/local/emacs/etc/SKK-JISYO.L" */
24 +#define SYSTEM_DIC_NAME "/usr/share/skk/SKK-JISYO.L"
25
26 #define NATIVECODE euc /* EUC Kanji code */
27
28 -#define SKK_SERVER_HOST "ei5nazha" /* SKK server host */
29 +#define SKK_SERVER_HOST "localhost" /* SKK server host */
30 diff -Naur skkfep-0.87.orig/connserv.c skkfep-0.87/connserv.c
31 --- skkfep-0.87.orig/connserv.c 2003-09-03 08:49:30.000000000 +0900
32 +++ skkfep-0.87/connserv.c 2008-11-01 09:59:19.000000000 +0900
33 @@ -5,6 +5,7 @@
34 */
35 #include "config.h"
36 #include <stdio.h>
37 +#include <string.h>
38 #include <sys/types.h>
39 #include "skklib.h"
40
41 diff -Naur skkfep-0.87.orig/connsh.c skkfep-0.87/connsh.c
42 --- skkfep-0.87.orig/connsh.c 2003-09-03 08:49:30.000000000 +0900
43 +++ skkfep-0.87/connsh.c 2008-11-01 10:03:01.000000000 +0900
44 @@ -1,5 +1,8 @@
45 #include "config.h"
46 #include <stdio.h>
47 +#include <stdlib.h>
48 +#include <string.h>
49 +#include <unistd.h>
50 #include <sys/types.h>
51 #include <sys/file.h>
52 #include <fcntl.h>
53 diff -Naur skkfep-0.87.orig/fep.c skkfep-0.87/fep.c
54 --- skkfep-0.87.orig/fep.c 2003-09-03 08:49:31.000000000 +0900
55 +++ skkfep-0.87/fep.c 2008-11-01 09:55:15.000000000 +0900
56 @@ -1,6 +1,7 @@
57 #include "config.h"
58 #include "fep.h"
59 #include <stdlib.h>
60 +#include <string.h>
61 #include <sys/types.h>
62 #include <sys/time.h>
63 #include "kanjicode.h"
64 diff -Naur skkfep-0.87.orig/jc.c skkfep-0.87/jc.c
65 --- skkfep-0.87.orig/jc.c 2003-09-03 08:49:31.000000000 +0900
66 +++ skkfep-0.87/jc.c 2008-11-01 09:54:57.000000000 +0900
67 @@ -33,6 +33,8 @@
68 */
69
70 #include <stdio.h>
71 +#include <stdlib.h>
72 +#include <string.h>
73 #include <ctype.h>
74
75 #include "config.h"
76 diff -Naur skkfep-0.87.orig/kkconv.c skkfep-0.87/kkconv.c
77 --- skkfep-0.87.orig/kkconv.c 2003-09-03 08:49:31.000000000 +0900
78 +++ skkfep-0.87/kkconv.c 2008-11-01 09:58:26.000000000 +0900
79 @@ -1,6 +1,7 @@
80 #include "config.h"
81 #include "fep.h"
82 #include "functions.h"
83 +#include <string.h>
84 #include <ctype.h>
85
86 #ifdef USE_SERVER
87 diff -Naur skkfep-0.87.orig/protoMakefile skkfep-0.87/protoMakefile
88 --- skkfep-0.87.orig/protoMakefile 2003-09-03 08:49:31.000000000 +0900
89 +++ skkfep-0.87/protoMakefile 2008-11-01 09:51:59.000000000 +0900
90 @@ -1,5 +1,5 @@
91 CFLAGS=$(SYSINCLUDE) $(SYSDEFINE) $(DEFINE) $(OPTIMIZE)
92 -LIBS =$(SYSLIBS) $(EXTRALIBS) -ltermcap
93 +LIBS =$(SYSLIBS) $(EXTRALIBS) -lncurses
94
95 OBJS=fep.o connsh.o readwrite.o terms.o stty.o keybind.o romkan.o etc.o\
96 kkconv.o keymap.o version.o
97 diff -Naur skkfep-0.87.orig/readwrite.c skkfep-0.87/readwrite.c
98 --- skkfep-0.87.orig/readwrite.c 2003-09-03 08:49:31.000000000 +0900
99 +++ skkfep-0.87/readwrite.c 2008-11-01 09:56:19.000000000 +0900
100 @@ -1,5 +1,6 @@
101 #include "config.h"
102 #include "fep.h"
103 +#include <string.h>
104 #include <ctype.h>
105 #include "kanjicode.h"
106 #include "ctrlcode.h"
107 diff -Naur skkfep-0.87.orig/romkan-org.c skkfep-0.87/romkan-org.c
108 --- skkfep-0.87.orig/romkan-org.c 2003-09-03 08:49:32.000000000 +0900
109 +++ skkfep-0.87/romkan-org.c 2008-11-01 09:58:10.000000000 +0900
110 @@ -1,5 +1,6 @@
111 #include "config.h"
112 #include "fep.h"
113 +#include <string.h>
114 #include <ctype.h>
115 #include "functions.h"
116
117 diff -Naur skkfep-0.87.orig/skklib.c skkfep-0.87/skklib.c
118 --- skkfep-0.87.orig/skklib.c 2003-09-03 08:49:32.000000000 +0900
119 +++ skkfep-0.87/skklib.c 2008-11-01 09:58:48.000000000 +0900
120 @@ -6,6 +6,7 @@
121
122 #include "config.h"
123 #include <stdio.h>
124 +#include <string.h>
125 #include <sys/types.h>
126 #include <sys/stat.h>
127 #include "skklib.h"
128 diff -Naur skkfep-0.87.orig/stty.c skkfep-0.87/stty.c
129 --- skkfep-0.87.orig/stty.c 2003-09-03 08:49:32.000000000 +0900
130 +++ skkfep-0.87/stty.c 2008-11-01 09:57:30.000000000 +0900
131 @@ -1,5 +1,6 @@
132 #include "config.h"
133 #include <stdio.h>
134 +#include <stdlib.h>
135 #include <signal.h>
136 #include <fcntl.h>
137 #include "fep.h"
138 diff -Naur skkfep-0.87.orig/terms.c skkfep-0.87/terms.c
139 --- skkfep-0.87.orig/terms.c 2003-09-03 08:49:32.000000000 +0900
140 +++ skkfep-0.87/terms.c 2008-11-01 09:56:59.000000000 +0900
141 @@ -1,4 +1,5 @@
142 #include "config.h"
143 +#include <string.h>
144 #include "fep.h"
145
146 /*#define SHOW_ESCSEQ /* show escape sequences for debugging */