Hello community,

here is the log from the commit of package sunpinyin for openSUSE:Factory 
checked in at 2012-03-20 02:05:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sunpinyin (Old)
 and      /work/SRC/openSUSE:Factory/.sunpinyin.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sunpinyin", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/sunpinyin/sunpinyin.changes      2012-02-21 
07:32:40.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.sunpinyin.new/sunpinyin.changes 2012-03-20 
02:05:28.000000000 +0100
@@ -1,0 +2,5 @@
+Sat Mar 17 23:29:50 UTC 2012 - zai...@opensuse.org
+
+- Add sunpinyin-gcc47.patch: Fix build with gcc 4.7. 
+
+-------------------------------------------------------------------

New:
----
  sunpinyin-gcc47.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sunpinyin.spec ++++++
--- /var/tmp/diff_new_pack.eu5d2V/_old  2012-03-20 02:05:33.000000000 +0100
+++ /var/tmp/diff_new_pack.eu5d2V/_new  2012-03-20 02:05:33.000000000 +0100
@@ -27,6 +27,8 @@
 Source:                %{name}-%{version}.tar.bz2
 Source1:       lm_sc.t3g.arpa.tar.bz2
 Source2:       dict.utf8.tar.bz2
+# PATCH-FIX-UPSTREAM sunpinyin-gcc47.patch zai...@opensuse.org -- Fix build 
with gcc 4.7
+Patch0:          sunpinyin-gcc47.patch
 BuildRequires: fdupes
 BuildRequires: update-desktop-files
 BuildRequires: scons
@@ -60,6 +62,7 @@
 
 %prep
 %setup -q
+%patch0
 
 %build
 %{__cp} -r %{S:1} ./raw/

++++++ sunpinyin-gcc47.patch ++++++
--- src/lexicon/genPYT.cpp      2012-02-05 17:28:01.000000000 +0100
+++ src/lexicon/genPYT.cpp      2012-03-17 23:59:12.116605521 +0100
@@ -37,7 +37,7 @@
 
 #include <locale.h>
 #include <stdlib.h>
-
+#include <unistd.h>
 #include "pytrie.h"
 #include "pytrie_gen.h"
 #include "../slm/slm.h"
 
--- src/ime-core/ic_history.cpp 2012-02-05 17:28:01.000000000 +0100
+++ src/ime-core/ic_history.cpp 2012-03-18 00:10:24.387297778 +0100
@@ -42,6 +42,7 @@
 #include <fcntl.h>
 #include <stdio.h>
 #include <stdint.h>
+#include <unistd.h>
 #include <cassert>
 #include <arpa/inet.h>
 #include <sys/stat.h>

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to