From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-handwrite/files/, app-i18n/ibus-handwrite/
Date: Sat, 12 Aug 2017 16:06:05 +0000 (UTC) [thread overview]
Message-ID: <1502553771.3ccaa0fc8598fdc581dd78cbcc3356b7d1bf02f1.hattya@gentoo> (raw)
commit: 3ccaa0fc8598fdc581dd78cbcc3356b7d1bf02f1
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 12 16:02:51 2017 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat Aug 12 16:02:51 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ccaa0fc
app-i18n/ibus-handwrite: fix implicit declarations
Package-Manager: Portage-2.3.6, Repoman-2.3.1
.../files/ibus-handwrite-headers.patch | 20 ++++++++++++++++++++
.../ibus-handwrite/ibus-handwrite-2.1.4-r1.ebuild | 5 ++++-
2 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/app-i18n/ibus-handwrite/files/ibus-handwrite-headers.patch b/app-i18n/ibus-handwrite/files/ibus-handwrite-headers.patch
new file mode 100644
index 00000000000..f1cb4d57462
--- /dev/null
+++ b/app-i18n/ibus-handwrite/files/ibus-handwrite-headers.patch
@@ -0,0 +1,20 @@
+--- a/src/handrecog_lucykila.c
++++ b/src/handrecog_lucykila.c
+@@ -14,6 +14,7 @@
+ #include <sys/fcntl.h>
+ #include <sys/mman.h>
+ #include <math.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <glib.h>
+
+--- a/src/main.c
++++ b/src/main.c
+@@ -3,6 +3,7 @@
+ #include <unistd.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <ibus.h>
+ #include <locale.h>
+ #include <gtk/gtkgl.h>
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
index ac74a30b986..6965a9cf27e 100644
--- a/app-i18n/ibus-handwrite/ibus-handwrite-2.1.4-r1.ebuild
+++ b/app-i18n/ibus-handwrite/ibus-handwrite-2.1.4-r1.ebuild
@@ -26,7 +26,10 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
nls? ( sys-devel/gettext )"
-PATCHES=( "${FILESDIR}"/${PN}-link.patch )
+PATCHES=(
+ "${FILESDIR}"/${PN}-headers.patch
+ "${FILESDIR}"/${PN}-link.patch
+)
src_prepare() {
default
next reply other threads:[~2017-08-12 16:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-12 16:06 Akinori Hattori [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-01-21 23:47 [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-handwrite/files/, app-i18n/ibus-handwrite/ David Seifert
2021-10-14 12:45 Akinori Hattori
2025-01-24 12:25 WANG Xuerui
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1502553771.3ccaa0fc8598fdc581dd78cbcc3356b7d1bf02f1.hattya@gentoo \
--to=hattya@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox