[packages/scim] Rel 2

arekm arekm at pld-linux.org
Mon Apr 6 15:57:58 CEST 2026


commit 579acb95bf65bb54688f5983f41adbc3b22ecbcc
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Apr 6 15:57:40 2026 +0200

    Rel 2

 scim-c99.patch | 29 +++++++++++++++++++++++++++++
 scim.spec      |  4 +++-
 2 files changed, 32 insertions(+), 1 deletion(-)
---
diff --git a/scim.spec b/scim.spec
index 3385ea8..fc9745b 100644
--- a/scim.spec
+++ b/scim.spec
@@ -10,7 +10,7 @@ Summary:	Smart Common Input Method
 Summary(pl.UTF-8):	Smart Common Input Method - ogólna metoda wprowadzania
 Name:		scim
 Version:	1.4.18
-Release:	1
+Release:	2
 License:	LGPL v2+
 Group:		X11/Applications
 #Source0Download: https://github.com/scim-im/scim/releases
@@ -18,6 +18,7 @@ Source0:	https://github.com/scim-im/scim/archive/%{version}/%{name}-%{version}.t
 # Source0-md5:	2fdcee7e4aaf667c27e5041b097a0026
 Source1:	%{name}.xinputd
 Patch0:		%{name}-config.patch
+Patch1:		%{name}-c99.patch
 URL:		https://github.com/scim-im/scim
 BuildRequires:	autoconf >= 2.59-9
 BuildRequires:	automake
@@ -180,6 +181,7 @@ Ten pakiet zawiera moduł methody wejściowej Qt 4.x oparty na SCIM.
 %prep
 %setup -q
 %patch -P0 -p1
+%patch -P1 -p1
 
 %build
 %{__gettextize}
diff --git a/scim-c99.patch b/scim-c99.patch
new file mode 100644
index 0000000..8a257ba
--- /dev/null
+++ b/scim-c99.patch
@@ -0,0 +1,29 @@
+--- scim-1.4.18/modules/FrontEnd/IMdkit/Xi18n.h.orig	2018-12-09 09:37:44.000000000 +0100
++++ scim-1.4.18/modules/FrontEnd/IMdkit/Xi18n.h	2026-04-06 12:00:00.000000000 +0200
+@@ -69,11 +69,13 @@
+ #define I18N_SET	1
+ #define I18N_GET	2
+
+-typedef struct
++struct _Xi18nCore;
++
++typedef struct _TransportSW
+ {
+     char        *transportname;
+     int         namelen;
+-    Bool        (*checkAddr) ();
++    Bool        (*checkAddr) (struct _Xi18nCore *, struct _TransportSW *, char *);
+ } TransportSW;
+
+ typedef struct _XIMPending
+--- scim-1.4.18/modules/FrontEnd/IMdkit/i18nMethod.c.orig	2018-12-09 09:37:44.000000000 +0100
++++ scim-1.4.18/modules/FrontEnd/IMdkit/i18nMethod.c	2026-04-06 12:00:00.000000000 +0200
+@@ -89,7 +89,7 @@
+ #ifdef DNETCONN
+     {"decnet",          6, _Xi18nCheckTransAddress},
+ #endif
+-    {(char *) NULL,     0, (Bool (*) ()) NULL}
++    {(char *) NULL,     0, NULL}
+ };
+
+ static Bool GetInputStyles (Xi18n i18n_core, XIMStyles **p_style)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/scim.git/commitdiff/579acb95bf65bb54688f5983f41adbc3b22ecbcc



More information about the pld-cvs-commit mailing list