[scim-hangul] Fix FTBFS for gcc-4.7

paragn paragn at fedoraproject.org
Sat Aug 4 12:43:58 UTC 2012


commit 3d59cc3aba81fc23a7b2f063d667c6203e571f91
Author: Parag Nemade <panemade at gmail.com>
Date:   Sat Aug 4 18:13:42 2012 +0530

    Fix FTBFS for gcc-4.7

 scim-hangul-0.3.2.gcc47.patch |   11 +++++++++++
 scim-hangul.spec              |    8 ++++++--
 2 files changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/scim-hangul-0.3.2.gcc47.patch b/scim-hangul-0.3.2.gcc47.patch
new file mode 100644
index 0000000..5ef94f2
--- /dev/null
+++ b/scim-hangul-0.3.2.gcc47.patch
@@ -0,0 +1,11 @@
+diff -urN scim-hangul-0.3.2.orig/src/scim_hangul_imengine.cpp scim-hangul-0.3.2/src/scim_hangul_imengine.cpp
+--- scim-hangul-0.3.2.orig/src/scim_hangul_imengine.cpp	2006-10-23 18:12:47.000000000 +0530
++++ scim-hangul-0.3.2/src/scim_hangul_imengine.cpp	2012-08-04 18:10:17.893586145 +0530
+@@ -33,6 +33,7 @@
+   #include <config.h>
+ #endif
+ 
++#include <unistd.h>
+ #include <scim.h>
+ #include "scim_hangul_imengine.h"
+ 
diff --git a/scim-hangul.spec b/scim-hangul.spec
index fc91fce..9e79e0f 100644
--- a/scim-hangul.spec
+++ b/scim-hangul.spec
@@ -1,13 +1,13 @@
 Name:		scim-hangul
 Version:	0.3.2
-Release:	11%{?dist}
+Release:	12%{?dist}
 
 License:	GPLv3
 URL:		http://www.scim-im.org/
 BuildRequires:	scim-devel >= 1.2.0 libhangul-devel
 Source0:	http://downloads.sourceforge.net/scim/%{name}-%{version}.tar.gz
 Patch0:		scim-hangul-0.3.2.gcc43.patch
-
+Patch1:         scim-hangul-0.3.2.gcc47.patch
 
 Summary:	Hangul Input Method Engine for SCIM
 Group:		System Environment/Libraries
@@ -20,6 +20,7 @@ Scim-hangul is a SCIM IMEngine module for Korean (Hangul) input support.
 %prep
 %setup -q -n %{name}-%{version}
 %patch0 -p1 -b .gcc43
+%patch1 -p1 -b .gcc47
 
 
 %build
@@ -44,6 +45,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/scim-1.0/*/{IMEngine,SetupUI}/hangul*.la
 
 
 %changelog
+* Sat Aug 04 2012 Parag Nemade <paragn AT fedoraproject DOT org> - 0.3.2-12
+- Fix FTBFS for gcc-4.7
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.2-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list