diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-08-05 13:56:05 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-08-05 13:56:05 -0300 |
commit | 932031ec841dccbd40ce373d464391f579a11a42 (patch) | |
tree | a5a755bfab09ba1294ab8509e291114c59cea9df /extra/scim-hangul | |
parent | d0935a44b796971ae461176a8c32c881046c1221 (diff) | |
parent | 261bb7327f6a4fef24494be9d8647ce8c1260e4c (diff) |
Merge branch 'master' of ssh://gparabola/srv/git/abslibre-mips64el
Diffstat (limited to 'extra/scim-hangul')
-rw-r--r-- | extra/scim-hangul/PKGBUILD | 7 | ||||
-rw-r--r-- | extra/scim-hangul/unistd.patch | 11 |
2 files changed, 16 insertions, 2 deletions
diff --git a/extra/scim-hangul/PKGBUILD b/extra/scim-hangul/PKGBUILD index 081538425..3f0ceaf22 100644 --- a/extra/scim-hangul/PKGBUILD +++ b/extra/scim-hangul/PKGBUILD @@ -12,13 +12,16 @@ license=('GPL') depends=('libhangul' 'scim') options=('!libtool') source=("http://downloads.sourceforge.net/sourceforge/scim/$pkgname-$pkgver.tar.gz" - 'gcc43.patch') + 'gcc43.patch' + 'unistd.patch') sha1sums=('d1f4a2114d284c926d64fbfe8ea83307b8d8e2ec' - '956bb2b6bd75b3d2756895f8ade429f95bacc0ff') + '956bb2b6bd75b3d2756895f8ade429f95bacc0ff' + '1cfce9a7d5240f6d19aea008edcd9c6989e94e62') build() { cd "${srcdir}/${pkgname}-${pkgver}" patch -p1 -i ../gcc43.patch + patch -p1 -i "$srcdir/unistd.patch" ./bootstrap # skim complains; it's alright ./configure --prefix=/usr --enable-skim-support make diff --git a/extra/scim-hangul/unistd.patch b/extra/scim-hangul/unistd.patch new file mode 100644 index 000000000..44ee7331c --- /dev/null +++ b/extra/scim-hangul/unistd.patch @@ -0,0 +1,11 @@ +diff -ru 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 2012-08-05 17:49:59.369710152 +0200 ++++ scim-hangul-0.3.2/src/scim_hangul_imengine.cpp 2012-08-05 17:50:16.401614147 +0200 +@@ -34,6 +34,7 @@ + #endif + + #include <cstring> ++#include <unistd.h> + #include <scim.h> + #include "scim_hangul_imengine.h" + |