[packages/scim-fcitx] Rel 2

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


commit b74feeb24a4a1a3998dc90f9f72feb314fb1044d
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Apr 6 16:39:30 2026 +0200

    Rel 2

 scim-fcitx-unistd.patch | 20 ++++++++++++++++++++
 scim-fcitx.spec         |  4 +++-
 2 files changed, 23 insertions(+), 1 deletion(-)
---
diff --git a/scim-fcitx.spec b/scim-fcitx.spec
index f43c82e..dd9d569 100644
--- a/scim-fcitx.spec
+++ b/scim-fcitx.spec
@@ -2,12 +2,13 @@ Summary:	FCITX Input Method Engine for SCIM
 Summary(pl.UTF-8):	Silnik metody wprowadzania znaków FCITX dla SCIM-a
 Name:		scim-fcitx
 Version:	3.1.1
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/scim/%{name}.%{version}.tar.bz2
 # Source0-md5:	781dc96ebce31e2949ecb0c3c1c769f6
 Patch0:		%{name}-gcc43.patch
+Patch1:		%{name}-unistd.patch
 URL:		http://www.scim-im.org/projects/imengines/
 BuildRequires:	libstdc++-devel
 BuildRequires:	pkgconfig
@@ -39,6 +40,7 @@ Ten pakiet zawiera narzędzia do obsługi tablic wejściowych fcitx.
 %prep
 %setup -q -n fcitx
 %patch -P0 -p1
+%patch -P1 -p1
 
 %build
 %configure \
diff --git a/scim-fcitx-unistd.patch b/scim-fcitx-unistd.patch
new file mode 100644
index 0000000..0058bed
--- /dev/null
+++ b/scim-fcitx-unistd.patch
@@ -0,0 +1,20 @@
+--- fcitx/src/tools.cpp.orig	2007-01-09 12:28:56.000000000 +0100
++++ fcitx/src/tools.cpp	2026-04-06 12:00:00.000000000 +0200
+@@ -13,6 +13,7 @@
+ #include <stdlib.h>
+ #include <sys/stat.h>
+ #include <limits.h>
++#include <unistd.h>
+ #include <string.h>
+
+ #include "version.h"
+--- fcitx/src/sp.cpp.orig	2007-01-09 12:28:56.000000000 +0100
++++ fcitx/src/sp.cpp	2026-04-06 12:00:00.000000000 +0200
+@@ -10,6 +10,7 @@
+ #include <stdio.h>
+ #include <sys/stat.h>
+ #include <limits.h>
++#include <unistd.h>
+ #include <ctype.h>
+ #include <cstring>
+
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/scim-fcitx.git/commitdiff/b74feeb24a4a1a3998dc90f9f72feb314fb1044d



More information about the pld-cvs-commit mailing list