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/ibus-handwrite/files/, app-i18n/ibus-handwrite/
Date: Sat, 12 Aug 2017 16:06:08
Message-Id: 1502553771.3ccaa0fc8598fdc581dd78cbcc3356b7d1bf02f1.hattya@gentoo
1 commit: 3ccaa0fc8598fdc581dd78cbcc3356b7d1bf02f1
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 12 16:02:51 2017 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 12 16:02:51 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ccaa0fc
7
8 app-i18n/ibus-handwrite: fix implicit declarations
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.1
11
12 .../files/ibus-handwrite-headers.patch | 20 ++++++++++++++++++++
13 .../ibus-handwrite/ibus-handwrite-2.1.4-r1.ebuild | 5 ++++-
14 2 files changed, 24 insertions(+), 1 deletion(-)
15
16 diff --git a/app-i18n/ibus-handwrite/files/ibus-handwrite-headers.patch b/app-i18n/ibus-handwrite/files/ibus-handwrite-headers.patch
17 new file mode 100644
18 index 00000000000..f1cb4d57462
19 --- /dev/null
20 +++ b/app-i18n/ibus-handwrite/files/ibus-handwrite-headers.patch
21 @@ -0,0 +1,20 @@
22 +--- a/src/handrecog_lucykila.c
23 ++++ b/src/handrecog_lucykila.c
24 +@@ -14,6 +14,7 @@
25 + #include <sys/fcntl.h>
26 + #include <sys/mman.h>
27 + #include <math.h>
28 ++#include <stdlib.h>
29 + #include <string.h>
30 + #include <glib.h>
31 +
32 +--- a/src/main.c
33 ++++ b/src/main.c
34 +@@ -3,6 +3,7 @@
35 + #include <unistd.h>
36 + #include <stdio.h>
37 + #include <stdlib.h>
38 ++#include <string.h>
39 + #include <ibus.h>
40 + #include <locale.h>
41 + #include <gtk/gtkgl.h>
42
43 diff --git a/app-i18n/ibus-handwrite/ibus-handwrite-2.1.4-r1.ebuild b/app-i18n/ibus-handwrite/ibus-handwrite-2.1.4-r1.ebuild
44 index ac74a30b986..6965a9cf27e 100644
45 --- a/app-i18n/ibus-handwrite/ibus-handwrite-2.1.4-r1.ebuild
46 +++ b/app-i18n/ibus-handwrite/ibus-handwrite-2.1.4-r1.ebuild
47 @@ -26,7 +26,10 @@ DEPEND="${RDEPEND}
48 virtual/pkgconfig
49 nls? ( sys-devel/gettext )"
50
51 -PATCHES=( "${FILESDIR}"/${PN}-link.patch )
52 +PATCHES=(
53 + "${FILESDIR}"/${PN}-headers.patch
54 + "${FILESDIR}"/${PN}-link.patch
55 +)
56
57 src_prepare() {
58 default