diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2012-09-18 07:58:30 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-18 19:33:38 -0500 |
commit | 9340d5f121e53280c4ae43bcbba05d6277d88e7e (patch) | |
tree | 4dca7f2d8382371095e5761bc184d676f9b7723a /libraries/libsunpinyin/gcc47.patch | |
parent | adf7c14f1489f51f45878db7e8c813eb3556802e (diff) | |
download | slackbuilds-9340d5f121e53280c4ae43bcbba05d6277d88e7e.tar.gz |
libraries/libsunpinyin: Added a patch for gcc-4.7.x.
Fixed downloads of additional files needed.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/libsunpinyin/gcc47.patch')
-rw-r--r-- | libraries/libsunpinyin/gcc47.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libraries/libsunpinyin/gcc47.patch b/libraries/libsunpinyin/gcc47.patch new file mode 100644 index 0000000000..d3db5c1d99 --- /dev/null +++ b/libraries/libsunpinyin/gcc47.patch @@ -0,0 +1,22 @@ +diff -Naur sunpinyin-2.0.3.orig/src/ime-core/ic_history.cpp sunpinyin-2.0.3/src/ime-core/ic_history.cpp +--- sunpinyin-2.0.3.orig/src/ime-core/ic_history.cpp 2011-02-18 04:39:52.000000000 +0100 ++++ sunpinyin-2.0.3/src/ime-core/ic_history.cpp 2012-09-18 05:32:14.687001314 +0200 +@@ -41,6 +41,7 @@ + + #include <fcntl.h> + #include <stdio.h> ++#include <unistd.h> + #include <stdint.h> + #include <cassert> + #include <sys/stat.h> +diff -Naur sunpinyin-2.0.3.orig/src/lexicon/genPYT.cpp sunpinyin-2.0.3/src/lexicon/genPYT.cpp +--- sunpinyin-2.0.3.orig/src/lexicon/genPYT.cpp 2011-02-18 04:39:52.000000000 +0100 ++++ sunpinyin-2.0.3/src/lexicon/genPYT.cpp 2012-09-18 05:29:24.570735820 +0200 +@@ -37,6 +37,7 @@ + + #include <locale.h> + #include <stdlib.h> ++#include <unistd.h> + + #include "pytrie.h" + #include "pytrie_gen.h" |