From: Jan Rękorajski Date: Mon, 11 Oct 2021 21:15:47 +0000 (+0200) Subject: - explicit typedef, rebuild with openssl 3.0.0, rel 7 X-Git-Tag: auto/th/tf-50b8-7 X-Git-Url: http://git.pld-linux.org/?p=packages%2Ftf.git;a=commitdiff_plain;h=HEAD - explicit typedef, rebuild with openssl 3.0.0, rel 7 --- diff --git a/tf.spec b/tf.spec index fa29937..63e4f11 100644 --- a/tf.spec +++ b/tf.spec @@ -6,7 +6,7 @@ Summary: tf - TinyFugue - text-mode MUD client 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 @@ -16,6 +16,7 @@ Source1: http://dl.sourceforge.net/tinyfugue/%{name}-%{doc_ver}-help.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 @@ -52,6 +53,7 @@ Pliki pomocy w HTML. tar xzPf %{SOURCE1} cp %{SOURCE2} . %patch0 -p1 +%patch1 -p1 %build %{__autoconf} diff --git a/typedef-not-var.patch b/typedef-not-var.patch new file mode 100644 index 0000000..6a81215 --- /dev/null +++ b/typedef-not-var.patch @@ -0,0 +1,11 @@ +--- 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;