Index: Makefile
===================================================================
RCS file: /cvs/ports/games/cpat/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile	12 Jul 2019 20:46:16 -0000	1.5
+++ Makefile	30 Jan 2021 05:56:45 -0000
@@ -3,7 +3,7 @@
 COMMENT =	curses-based solitaire collection suite
 DISTNAME =	cpat-1.4.1
 CATEGORIES =	games
-REVISION =	0
+REVISION =	1
 
 HOMEPAGE =	http://cpat.sourceforge.net/
 
Index: patches/patch-src_common_c
===================================================================
RCS file: patches/patch-src_common_c
diff -N patches/patch-src_common_c
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_common_c	30 Jan 2021 05:56:45 -0000
@@ -0,0 +1,18 @@
+$OpenBSD$
+
+Fix -fno-common
+
+Index: src/common.c
+--- src/common.c.orig
++++ src/common.c
+@@ -14,6 +14,10 @@
+ #include "common.h"
+ #include "document.h"
+ 
++struct timespec pauselength;
++struct timespec pauseleft;
++HighScores hs;
++
+ /* Creates empty board windows. Needs to be called once at the
+  * beginning of each game */
+ int 
Index: patches/patch-src_cpat_h
===================================================================
RCS file: patches/patch-src_cpat_h
diff -N patches/patch-src_cpat_h
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ patches/patch-src_cpat_h	30 Jan 2021 05:56:45 -0000
@@ -0,0 +1,21 @@
+$OpenBSD$
+
+Fix -fno-common
+
+Index: src/cpat.h
+--- src/cpat.h.orig
++++ src/cpat.h
+@@ -224,10 +224,10 @@ typedef struct {
+     bool available;
+ } HighScores;
+     
+-struct timespec pauselength;
+-struct timespec pauseleft;
++extern struct timespec pauselength;
++extern struct timespec pauseleft;
+ 
+-HighScores hs;
++extern HighScores hs;
+ 
+ /* This is the background color of the boards */
+ static chtype boardbkgd = ' ' | COLOR_PAIR(BKGD_COLOR);
