]> git.pld-linux.org Git - packages/tf.git/commitdiff
- explicit typedef, rebuild with openssl 3.0.0, rel 7 master auto/th/tf-50b8-7
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 11 Oct 2021 21:15:47 +0000 (23:15 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 11 Oct 2021 21:15:47 +0000 (23:15 +0200)
tf.spec
typedef-not-var.patch [new file with mode: 0644]

diff --git a/tf.spec b/tf.spec
index fa29937401fe512157e00c8a5c742ca7f84107d7..63e4f1198c0f1b565779a730e647ba73705c3585 100644 (file)
--- 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 (file)
index 0000000..6a81215
--- /dev/null
@@ -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;
This page took 0.072082 seconds and 4 git commands to generate.