[packages/scim-bridge] Rel 2

arekm arekm at pld-linux.org
Mon Apr 6 16:38:52 CEST 2026


commit 5b6e192571472d1a7ea176ade5921538b1dc9f6e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Apr 6 16:38:44 2026 +0200

    Rel 2

 scim-bridge-alloca.patch | 22 ++++++++++++++++++++++
 scim-bridge.spec         |  4 +++-
 2 files changed, 25 insertions(+), 1 deletion(-)
---
diff --git a/scim-bridge.spec b/scim-bridge.spec
index 672a8a9..b339ff7 100644
--- a/scim-bridge.spec
+++ b/scim-bridge.spec
@@ -7,7 +7,7 @@ Summary:	SCIM Bridge GTK+ IM module
 Summary(pl.UTF-8):	Moduł IM GTK+ SCIM Bridge
 Name:		scim-bridge
 Version:	0.4.16
-Release:	1
+Release:	2
 License:	GPL v2+ or LGPL v2+
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/scim/%{name}-%{version}.tar.gz
@@ -20,6 +20,7 @@ Patch4:		%{name}-fix-gtk-key-snooper.patch
 Patch5:		%{name}-fixes-null-imengine.patch
 Patch6:		%{name}-ac.patch
 Patch7:		%{name}-qt3.patch
+Patch8:		%{name}-alloca.patch
 URL:		http://www.scim-im.org/projects/scim_bridge
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
@@ -98,6 +99,7 @@ Bridge.
 %patch -P5 -p1
 %patch -P6 -p1
 %patch -P7 -p1
+%patch -P8 -p1
 
 %build
 %{__libtoolize}
diff --git a/scim-bridge-alloca.patch b/scim-bridge-alloca.patch
new file mode 100644
index 0000000..10833aa
--- /dev/null
+++ b/scim-bridge-alloca.patch
@@ -0,0 +1,22 @@
+--- scim-bridge-0.4.16/client-common/scim-bridge-client-output.c.orig	2009-01-06 02:43:07.000000000 +0100
++++ scim-bridge-0.4.16/client-common/scim-bridge-client-output.c	2026-04-06 12:00:00.000000000 +0200
+@@ -18,6 +18,7 @@
+  */
+ 
+ #include <stdarg.h>
++#include <alloca.h>
+ #include <stdio.h>
+ #include <string.h>
+ 
+--- scim-bridge-0.4.16/agent/scim-bridge-agent-signal-listener.cpp.orig	2009-01-06 02:43:07.000000000 +0100
++++ scim-bridge-0.4.16/agent/scim-bridge-agent-signal-listener.cpp	2026-04-06 12:00:00.000000000 +0200
+@@ -63,7 +63,8 @@
+ {
+     if (!signal_occurred) {
+         signal_occurred = true;
+-        send (pipe_in, '\0', sizeof (char), MSG_NOSIGNAL);
++        static const char null_byte = '\0';
++        send (pipe_in, &null_byte, sizeof (char), MSG_NOSIGNAL);
+     }
+ }
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/scim-bridge.git/commitdiff/5b6e192571472d1a7ea176ade5921538b1dc9f6e



More information about the pld-cvs-commit mailing list