net/tinyfugue: fix build with -fno-common; from maintainer Markus Lude

This commit is contained in:
naddy 2021-02-10 20:27:47 +00:00
parent dd1627c850
commit 19158ebaa1
2 changed files with 16 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.30 2019/07/12 20:48:50 sthen Exp $
# $OpenBSD: Makefile,v 1.31 2021/02/10 20:27:47 naddy Exp $
COMMENT= programmable MUD client, with macro support and more
PKGNAME= tinyfugue-4.0s1
REVISION= 5
REVISION= 6
DISTNAME= tf-40s1
CATEGORIES= net games

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-src_socket_h,v 1.1 2021/02/10 20:27:48 naddy Exp $
Index: src/socket.h
--- src/socket.h.orig
+++ src/socket.h
@@ -13,7 +13,7 @@
#define SOCK_RECV 0
#define SOCK_SEND 1
-struct World *world_decl; /* declares struct World */
+struct World; /* declares struct World */
extern Aline *incoming_text;
extern int quit_flag;