[packages/gtypist] - added wchar_t vs int fix
qboosh
qboosh at pld-linux.org
Tue Dec 31 16:13:23 CET 2024
commit 7cb244a330628ed8e3391924c3326ba58356830a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Dec 31 15:36:29 2024 +0100
- added wchar_t vs int fix
gtypist-types.patch | 11 +++++++++++
gtypist.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/gtypist.spec b/gtypist.spec
index 9b4b1ce..fb6eb0e 100644
--- a/gtypist.spec
+++ b/gtypist.spec
@@ -15,6 +15,7 @@ Source0: http://ftp.gnu.org/gnu/gtypist/%{name}-%{version}.tar.xz
Patch0: %{name}-info.patch
Patch1: %{name}-am.patch
Patch2: %{name}-pl.po-update.patch
+Patch3: %{name}-types.patch
URL: http://www.gnu.org/software/gtypist/
BuildRequires: autoconf >= 2.50
BuildRequires: automake >= 1:1.8.2
@@ -55,6 +56,7 @@ Tryb Emacsa do edycji plików .typ gtypista.
%patch -P0 -p1
%patch -P1 -p1
%patch -P2 -p1
+%patch -P3 -p1
%{__rm} po/stamp-po
diff --git a/gtypist-types.patch b/gtypist-types.patch
new file mode 100644
index 0000000..bccb8bc
--- /dev/null
+++ b/gtypist-types.patch
@@ -0,0 +1,11 @@
+--- gtypist-2.10/src/infoview.c.orig 2024-08-16 13:40:46.000000000 +0200
++++ gtypist-2.10/src/infoview.c 2024-12-31 15:30:49.178514502 +0100
+@@ -171,7 +171,7 @@ int do_beginner_infoview()
+ int numUsableLines, numMsgLines, i, j;
+ int width, height, xOffset, yOffset;
+ int firstLine, lastLine, msgLen;
+- wchar_t ch;
++ int ch;
+
+ msg = strdup(constMsg);
+ msgLen = strlen( msg );
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gtypist.git/commitdiff/7cb244a330628ed8e3391924c3326ba58356830a
More information about the pld-cvs-commit
mailing list