summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2012-06-30 13:53:34 +0000
committerNaohiro Aota <naota@gentoo.org>2012-06-30 13:53:34 +0000
commit1e57ca973d3e9dc25bc9a4eb09bc80045a370384 (patch)
tree2864df09ce0b288a80c677c888f4b386ca9546ed /app-i18n
parentNo need to inherit eutils (diff)
downloadgentoo-2-1e57ca973d3e9dc25bc9a4eb09bc80045a370384.tar.gz
gentoo-2-1e57ca973d3e9dc25bc9a4eb09bc80045a370384.tar.bz2
gentoo-2-1e57ca973d3e9dc25bc9a4eb09bc80045a370384.zip
Add patch to include unistd.h #423943
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/scim-hangul/ChangeLog6
-rw-r--r--app-i18n/scim-hangul/files/scim-hangul-0.3.2+gcc-4.7.patch12
-rw-r--r--app-i18n/scim-hangul/scim-hangul-0.3.2.ebuild6
3 files changed, 21 insertions, 3 deletions
diff --git a/app-i18n/scim-hangul/ChangeLog b/app-i18n/scim-hangul/ChangeLog
index 3d78949a877c..cc2421a0a4be 100644
--- a/app-i18n/scim-hangul/ChangeLog
+++ b/app-i18n/scim-hangul/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-i18n/scim-hangul
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-hangul/ChangeLog,v 1.31 2012/05/03 19:24:25 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-hangul/ChangeLog,v 1.32 2012/06/30 13:53:34 naota Exp $
+
+ 30 Jun 2012; Naohiro Aota <naota@gentoo.org>
+ +files/scim-hangul-0.3.2+gcc-4.7.patch, scim-hangul-0.3.2.ebuild:
+ Add patch to include unistd.h #423943
03 May 2012; Jeff Horelick <jdhore@gentoo.org> scim-hangul-0.3.2.ebuild:
dev-util/pkgconfig -> virtual/pkgconfig
diff --git a/app-i18n/scim-hangul/files/scim-hangul-0.3.2+gcc-4.7.patch b/app-i18n/scim-hangul/files/scim-hangul-0.3.2+gcc-4.7.patch
new file mode 100644
index 000000000000..918de9e11367
--- /dev/null
+++ b/app-i18n/scim-hangul/files/scim-hangul-0.3.2+gcc-4.7.patch
@@ -0,0 +1,12 @@
+diff --git a/src/scim_hangul_imengine.cpp b/src/scim_hangul_imengine.cpp
+index 7d70654..d678902 100644
+--- a/src/scim_hangul_imengine.cpp
++++ b/src/scim_hangul_imengine.cpp
+@@ -30,6 +30,7 @@
+ #define Uses_SCIM_CONFIG_BASE
+
+ #include <cstring>
++#include <unistd.h>
+ #ifdef HAVE_CONFIG_H
+ #include <config.h>
+ #endif
diff --git a/app-i18n/scim-hangul/scim-hangul-0.3.2.ebuild b/app-i18n/scim-hangul/scim-hangul-0.3.2.ebuild
index 2f5aade268fb..4ace2b6baec1 100644
--- a/app-i18n/scim-hangul/scim-hangul-0.3.2.ebuild
+++ b/app-i18n/scim-hangul/scim-hangul-0.3.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-hangul/scim-hangul-0.3.2.ebuild,v 1.8 2012/05/03 19:24:25 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-hangul/scim-hangul-0.3.2.ebuild,v 1.9 2012/06/30 13:53:34 naota Exp $
EAPI=2
inherit base
@@ -21,7 +21,9 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
nls? ( sys-devel/gettext )"
-PATCHES=( "${FILESDIR}/${P}+gcc-4.3.patch" )
+PATCHES=(
+ "${FILESDIR}/${P}+gcc-4.3.patch"
+ "${FILESDIR}/${P}+gcc-4.7.patch" )
src_configure() {
econf \