Summary(pl.UTF-8): tf - TinyFugue - tekstowy klient do MUD-ów
Name: tf
Version: 50b8
-Release: 6
+Release: 7
License: GPL
Group: Applications/Games
Source0: http://dl.sourceforge.net/tinyfugue/%{name}-%{version}.tar.gz
Source2: http://www.ingwar.eu.org/downloads/%{name}.syntax.gz
# Source2-md5: 398aa4c28e83fb2ce688eade24c5fc88
Patch0: pcre.patch
+Patch1: typedef-not-var.patch
URL: http://sourceforge.net/projects/tinyfugue/
BuildRequires: autoconf
BuildRequires: ncurses-devel
tar xzPf %{SOURCE1}
cp %{SOURCE2} .
%patch0 -p1
+%patch1 -p1
%build
%{__autoconf}
--- /dev/null
+--- tf-50b8/src/socket.h~ 2007-01-14 00:12:39.000000000 +0100
++++ tf-50b8/src/socket.h 2021-10-11 23:14:17.317476779 +0200
+@@ -21,7 +21,7 @@
+ #define CONN_BG 0x08
+ #define CONN_FG 0x10
+
+-struct World *world_decl; /* declares struct World */
++typedef struct World *world_decl; /* declares struct World */
+
+ extern String *incoming_text;
+ extern int quit_flag;