File gcin-2.8.1-gtk_immodules_path.patch of Package gcin.20240828222458

Index: gcin-2.8.1/gtk-im/Makefile
===================================================================
--- gcin-2.8.1.orig/gtk-im/Makefile
+++ gcin-2.8.1/gtk-im/Makefile
@@ -1,7 +1,7 @@
 include ../config.mak
 
 OBJS = imgcin.o gtkimcontextgcin.o
-GTK2IM=gtk-2.0/immodules
+GTK2IM=gtk-2.0/2.10.0/immodules
 GTKINC=`pkg-config --cflags gtk+-2.0`
 LDFLAGS=`pkg-config --libs gtk+-2.0`
 IMMODULES=$(libdir)/$(GTK2IM)
Index: gcin-2.8.1/gtk3-im/Makefile
===================================================================
--- gcin-2.8.1.orig/gtk3-im/Makefile
+++ gcin-2.8.1/gtk3-im/Makefile
@@ -1,7 +1,7 @@
 include ../config.mak
 
 OBJS = imgcin.o gtkimcontextgcin.o
-GTK3IM=gtk-3.0/immodules
+GTK3IM=gtk-3.0/3.0.0/immodules
 GTKINC=`pkg-config --cflags gtk+-3.0`
 LDFLAGS=`pkg-config --libs gtk+-3.0`
 LDFLAGS+='-Wl,--as-needed'
openSUSE Build Service is sponsored by