summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2012-09-22 08:27:28 +0000
committerobache <obache@pkgsrc.org>2012-09-22 08:27:28 +0000
commit00612fe6dc86ba54d0c9d1b009882be15e50a5b7 (patch)
treee1763939a665eb757b4455324f9a881ab40865d9 /inputmethod
parent7591a93202063b9a72028678b3cafce2dcdd7082 (diff)
downloadpkgsrc-00612fe6dc86ba54d0c9d1b009882be15e50a5b7.tar.gz
alloca.h is required for alloca(3C) on Solaris.
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/scim/distinfo4
-rw-r--r--inputmethod/scim/patches/patch-extras_immodules_common_scim-bridge-messenger.c16
-rw-r--r--inputmethod/scim/patches/patch-extras_immodules_common_scim-bridge-string.c16
3 files changed, 35 insertions, 1 deletions
diff --git a/inputmethod/scim/distinfo b/inputmethod/scim/distinfo
index 4a30304d639..bc46e61d6bc 100644
--- a/inputmethod/scim/distinfo
+++ b/inputmethod/scim/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2012/08/19 08:09:08 obache Exp $
+$NetBSD: distinfo,v 1.7 2012/09/22 08:27:28 obache Exp $
SHA1 (scim-1.4.14.tar.gz) = 73391be371dd7ef9f9af8b3a211e2bedec0cf71b
RMD160 (scim-1.4.14.tar.gz) = 50643a8a8084c32612d415bfb0fe8b7f91c22459
@@ -19,5 +19,7 @@ SHA1 (patch-extras_immodules_agent_scim-bridge-agent.cpp) = f1a9bd1b185a02ba2e84
SHA1 (patch-extras_immodules_client-common_scim-bridge-client-output.c) = 51c8635a3084112fd4362862690c4cc5bfffbe01
SHA1 (patch-extras_immodules_client-common_scim-bridge-client.c) = ee441af01f39d65f8ed3f305407add2ac9fc0a32
SHA1 (patch-extras_immodules_client-gtk_scim-bridge-client-imcontext-gtk.c) = 19c8f4ec70bb1c21c7318819367729579641866e
+SHA1 (patch-extras_immodules_common_scim-bridge-messenger.c) = 51a9a091fbbe9b212c695713d18260794ff30d81
SHA1 (patch-extras_immodules_common_scim-bridge-messenger.h) = 1a9defe26a124317c410bef12b2a7f023ea284b4
+SHA1 (patch-extras_immodules_common_scim-bridge-string.c) = 77b2ec6744fdb650760a7858f6ff8fce999b86db
SHA1 (patch-src_scim__helper__manager__server.cpp) = 3a1130f37c7c93389e2ae7db65af7438bac5de51
diff --git a/inputmethod/scim/patches/patch-extras_immodules_common_scim-bridge-messenger.c b/inputmethod/scim/patches/patch-extras_immodules_common_scim-bridge-messenger.c
new file mode 100644
index 00000000000..31b346b88ce
--- /dev/null
+++ b/inputmethod/scim/patches/patch-extras_immodules_common_scim-bridge-messenger.c
@@ -0,0 +1,16 @@
+$NetBSD: patch-extras_immodules_common_scim-bridge-messenger.c,v 1.1 2012/09/22 08:27:29 obache Exp $
+
+* alloca.h is required for alloca(3C) on Solaris.
+
+--- extras/immodules/common/scim-bridge-messenger.c.orig 2012-06-13 15:22:28.000000000 +0000
++++ extras/immodules/common/scim-bridge-messenger.c
+@@ -25,6 +25,9 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
++#ifdef __sun
++#include <alloca.h>
++#endif
+
+ #include <sys/select.h>
+ #include <sys/socket.h>
diff --git a/inputmethod/scim/patches/patch-extras_immodules_common_scim-bridge-string.c b/inputmethod/scim/patches/patch-extras_immodules_common_scim-bridge-string.c
new file mode 100644
index 00000000000..af5d04df63b
--- /dev/null
+++ b/inputmethod/scim/patches/patch-extras_immodules_common_scim-bridge-string.c
@@ -0,0 +1,16 @@
+$NetBSD: patch-extras_immodules_common_scim-bridge-string.c,v 1.1 2012/09/22 08:27:29 obache Exp $
+
+* alloca.h is required for alloca(3C) on Solaris.
+
+--- extras/immodules/common/scim-bridge-string.c.orig 2012-06-13 15:22:28.000000000 +0000
++++ extras/immodules/common/scim-bridge-string.c
+@@ -24,6 +24,9 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <wchar.h>
++#ifdef __sun
++#include <alloca.h>
++#endif
+
+ #include "scim-bridge-string.h"
+ #include "scim-bridge-output.h"