Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/kinput2/files/, app-i18n/kinput2/
Date: Tue, 18 Jul 2017 15:32:17
Message-Id: 1500391345.bf119982cec646b01f5dcd69e69fb9cdcd342c78.hattya@gentoo
1 commit: bf119982cec646b01f5dcd69e69fb9cdcd342c78
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 18 15:22:25 2017 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 18 15:22:25 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf119982
7
8 app-i18n/kinput2: fix implicit declarations
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.1
11
12 app-i18n/kinput2/files/kinput2-headers.patch | 101 +++++++++++++++++++++++++++
13 app-i18n/kinput2/kinput2-3.1-r1.ebuild | 1 +
14 app-i18n/kinput2/kinput2-3.1-r2.ebuild | 1 +
15 3 files changed, 103 insertions(+)
16
17 diff --git a/app-i18n/kinput2/files/kinput2-headers.patch b/app-i18n/kinput2/files/kinput2-headers.patch
18 new file mode 100644
19 index 00000000000..0075f710e9b
20 --- /dev/null
21 +++ b/app-i18n/kinput2/files/kinput2-headers.patch
22 @@ -0,0 +1,101 @@
23 +--- a/cmd/kinput2.c
24 ++++ b/cmd/kinput2.c
25 +@@ -25,6 +25,7 @@
26 + #endif
27 +
28 + #include <stdio.h>
29 ++#include <stdlib.h>
30 + #include <signal.h>
31 + #include <X11/Intrinsic.h>
32 + #include <X11/StringDefs.h>
33 +--- a/lib/Canna.c
34 ++++ b/lib/Canna.c
35 +@@ -50,6 +50,7 @@
36 + static char *rcsid = "$Id: Canna.c,v 1.55 1999/05/25 08:13:03 ishisone Exp $";
37 + #endif
38 +
39 ++#include <stdlib.h>
40 + #include <X11/IntrinsicP.h>
41 + #include <X11/StringDefs.h>
42 + #include <X11/Xmu/Atoms.h>
43 +--- a/lib/CcWnn.c
44 ++++ b/lib/CcWnn.c
45 +@@ -2754,6 +2754,7 @@
46 + wchar wbuf[1024];
47 + int wlen;
48 + int len;
49 ++ extern int convJWStoCT();
50 +
51 + TRACE(("CcWnn:saveYomiAndKanji()\n"));
52 +
53 +--- a/lib/ConvCtrl.c
54 ++++ b/lib/ConvCtrl.c
55 +@@ -18,6 +18,7 @@
56 + * Author: Makoto Ishisone, Software Research Associates, Inc., Japan
57 + */
58 +
59 ++#include <stdio.h>
60 + #include <X11/IntrinsicP.h>
61 + #include <X11/StringDefs.h>
62 + #include <X11/Xmu/CharSet.h>
63 +--- a/lib/KIProto.c
64 ++++ b/lib/KIProto.c
65 +@@ -18,6 +18,7 @@
66 + * Author: Makoto Ishisone, Software Research Associates, Inc., Japan
67 + */
68 +
69 ++#include <stdio.h>
70 + #include <X11/IntrinsicP.h>
71 + #include <X11/StringDefs.h>
72 + #include <X11/Xatom.h>
73 +--- a/lib/XimpProto.c
74 ++++ b/lib/XimpProto.c
75 +@@ -18,6 +18,7 @@
76 + * Author: Makoto Ishisone, Software Research Associates, Inc., Japan
77 + */
78 +
79 ++#include <stdio.h>
80 + #include <X11/Xos.h>
81 + #include <X11/IntrinsicP.h>
82 +
83 +--- a/lib/cconv.c
84 ++++ b/lib/cconv.c
85 +@@ -604,6 +604,7 @@
86 + #endif
87 +
88 + #include <stdio.h>
89 ++#include <stdlib.h>
90 + #include <X11/Xlib.h>
91 + #include <X11/keysym.h>
92 + #include <X11/Xutil.h>
93 +--- a/lib/ctext.c
94 ++++ b/lib/ctext.c
95 +@@ -71,6 +71,8 @@
96 + static char *rcsid = "$Id: ctext.c,v 2.6 1999/03/10 08:55:15 ishisone Exp $";
97 + #endif
98 +
99 ++#include <string.h>
100 ++
101 + typedef unsigned short wchar;
102 +
103 + #define NULL 0
104 +--- a/lib/ioecall.c
105 ++++ b/lib/ioecall.c
106 +@@ -23,6 +23,7 @@
107 + */
108 +
109 + #include <stdio.h>
110 ++#include <stdlib.h>
111 + #include <X11/Xlib.h>
112 + #include <X11/Xfuncproto.h>
113 + #include "IOECall.h"
114 +--- a/lib/wnnlib.c
115 ++++ b/lib/wnnlib.c
116 +@@ -578,6 +578,7 @@
117 + #ifdef DEBUG_WNNLIB
118 + #include <stdio.h>
119 + #endif
120 ++#include <stdlib.h>
121 + #include "wnnlib.h"
122 + #include "WStr.h"
123 + #include <string.h>
124
125 diff --git a/app-i18n/kinput2/kinput2-3.1-r1.ebuild b/app-i18n/kinput2/kinput2-3.1-r1.ebuild
126 index 5e3579baa0d..caf4b59765b 100644
127 --- a/app-i18n/kinput2/kinput2-3.1-r1.ebuild
128 +++ b/app-i18n/kinput2/kinput2-3.1-r1.ebuild
129 @@ -33,6 +33,7 @@ S="${WORKDIR}/${MY_P}"
130
131 PATCHES=(
132 "${FILESDIR}"/${PN}-gentoo.patch
133 + "${FILESDIR}"/${PN}-headers.patch
134 "${FILESDIR}"/${PN}-ppc.patch
135 "${FILESDIR}"/${PN}-segfault.patch
136 )
137
138 diff --git a/app-i18n/kinput2/kinput2-3.1-r2.ebuild b/app-i18n/kinput2/kinput2-3.1-r2.ebuild
139 index 724a233a91e..0f1fc47b2a4 100644
140 --- a/app-i18n/kinput2/kinput2-3.1-r2.ebuild
141 +++ b/app-i18n/kinput2/kinput2-3.1-r2.ebuild
142 @@ -33,6 +33,7 @@ S="${WORKDIR}/${MY_P}"
143
144 PATCHES=(
145 "${FILESDIR}"/${PN}-gentoo.patch
146 + "${FILESDIR}"/${PN}-headers.patch
147 "${FILESDIR}"/${PN}-ppc.patch
148 "${FILESDIR}"/${PN}-segfault.patch
149 )