From 26422862e548aa707f8cecf2be4fd335e55edb94 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Wed, 3 Apr 2019 21:40:56 -0300 Subject: [PATCH] fcitx: fix build with gir closes #9637 --- srcpkgs/fcitx/patches/girpath.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/fcitx/patches/girpath.patch diff --git a/srcpkgs/fcitx/patches/girpath.patch b/srcpkgs/fcitx/patches/girpath.patch new file mode 100644 index 0000000000..cae47b748e --- /dev/null +++ b/srcpkgs/fcitx/patches/girpath.patch @@ -0,0 +1,14 @@ +diff --git src/lib/fcitx-gclient/CMakeLists.txt src/lib/fcitx-gclient/CMakeLists.txt +index ea1d50f..20b2359 100644 +--- src/lib/fcitx-gclient/CMakeLists.txt ++++ src/lib/fcitx-gclient/CMakeLists.txt +@@ -65,6 +65,8 @@ install(FILES ${FCITX_GCLIENT_HEADERS} + + if(ENABLE_GIR) + include(GObjectIntrospection) ++ string(REPLACE "///" "/" GOBJECT_INTROSPECTION_GIRDIR "${GOBJECT_INTROSPECTION_GIRDIR}") ++ string(REPLACE "///" "/" GOBJECT_INTROSPECTION_TYPELIBDIR "${GOBJECT_INTROSPECTION_TYPELIBDIR}") + gobject_introspection( + FILENAME Fcitx-1.0.gir + NSVERSION 1.0 +