Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 10b42d4fab | |||
| 4ac70eedf2 |
58
gcin-2.9.0-gcc15.patch
Normal file
58
gcin-2.9.0-gcc15.patch
Normal file
@@ -0,0 +1,58 @@
|
||||
Index: gcin-2.9.0/IMdkit/include/Xi18n.h
|
||||
===================================================================
|
||||
--- gcin-2.9.0.orig/IMdkit/include/Xi18n.h
|
||||
+++ gcin-2.9.0/IMdkit/include/Xi18n.h
|
||||
@@ -68,13 +68,6 @@ IN CONNECTION WITH THE USE OR PERFORMANC
|
||||
#define I18N_SET 1
|
||||
#define I18N_GET 2
|
||||
|
||||
-typedef struct
|
||||
-{
|
||||
- char *transportname;
|
||||
- int namelen;
|
||||
- Bool (*checkAddr) ();
|
||||
-} TransportSW;
|
||||
-
|
||||
typedef struct _XIMPending
|
||||
{
|
||||
unsigned char *p;
|
||||
@@ -155,6 +148,13 @@ typedef struct _Xi18nClient
|
||||
|
||||
typedef struct _Xi18nCore *Xi18n;
|
||||
|
||||
+typedef struct _TransportSW TransportSW;
|
||||
+struct _TransportSW {
|
||||
+ char * transportname;
|
||||
+ int namelen;
|
||||
+ Bool (*checkAddr) (Xi18n, TransportSW *, char *);
|
||||
+};
|
||||
+
|
||||
/*
|
||||
* Callback Struct for XIM Protocol
|
||||
*/
|
||||
Index: gcin-2.9.0/IMdkit/lib/i18nMethod.c
|
||||
===================================================================
|
||||
--- gcin-2.9.0.orig/IMdkit/lib/i18nMethod.c
|
||||
+++ gcin-2.9.0/IMdkit/lib/i18nMethod.c
|
||||
@@ -89,7 +89,7 @@ TransportSW _TransR[] =
|
||||
#ifdef DNETCONN
|
||||
{"decnet", 6, _Xi18nCheckTransAddress},
|
||||
#endif
|
||||
- {(char *) NULL, 0, (Bool (*) ()) NULL}
|
||||
+ {(char *) NULL, 0, (Bool (*) (Xi18n, TransportSW *, char *)) NULL}
|
||||
};
|
||||
|
||||
static Bool GetInputStyles (Xi18n i18n_core, XIMStyles **p_style)
|
||||
Index: gcin-2.9.0/im-client/gcin-im-client.cpp
|
||||
===================================================================
|
||||
--- gcin-2.9.0.orig/im-client/gcin-im-client.cpp
|
||||
+++ gcin-2.9.0/im-client/gcin-im-client.cpp
|
||||
@@ -39,7 +39,7 @@ static void restore_old_sigaction_single
|
||||
if (act->sa_handler != SIG_IGN)
|
||||
signal(signo, act->sa_handler);
|
||||
}
|
||||
-char *get_gcin_im_srv_sock_path();
|
||||
+char *get_gcin_im_srv_sock_path(char *, size_t);
|
||||
Atom get_gcin_addr_atom(Display *dpy);
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 21 08:58:47 UTC 2025 - Marguerite Su <i@marguerite.su>
|
||||
|
||||
- add gcin-2.9.0-gcc15.patch, fix build with gcc15
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 23 15:14:24 UTC 2024 - Takashi Iwai <tiwai@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gcin
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -56,6 +56,8 @@ Patch10: gcin-dont-copy-gcin-qt5-header.patch
|
||||
Patch11: gcin-remove-dead-code.patch
|
||||
# PATCH-FIX-OPENSUSE gcin-gcc14-fix.patch - fix the build errors with gcc14
|
||||
Patch12: gcin-gcc14-fix.patch
|
||||
# PATCH-FIX-UPSTREAM fix the build errors with gcc15
|
||||
Patch13: gcin-2.9.0-gcc15.patch
|
||||
BuildRequires: anthy-devel
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gtk2-devel
|
||||
|
||||
Reference in New Issue
Block a user