commit efdcbf6ed800efb64a9275dac607e4a58465b200
Author: Jan Rękorajski <[email protected]>
Date:   Mon Oct 11 23:15:47 2021 +0200

    - explicit typedef, rebuild with openssl 3.0.0, rel 7

 tf.spec               |  4 +++-
 typedef-not-var.patch | 11 +++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)
---
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;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tf.git/commitdiff/efdcbf6ed800efb64a9275dac607e4a58465b200

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to