Update to cpat-1.4.1.

This commit is contained in:
bentley
2025-11-12 17:01:12 +00:00
parent c63b6d3a10
commit 5f69ea7de2
4 changed files with 3 additions and 39 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
COMMENT = curses-based solitaire collection suite
DISTNAME = cpat-1.4.1
DISTNAME = cpat-1.4.2
CATEGORIES = games
REVISION = 2
HOMEPAGE = https://cpat.sourceforge.net/
+2 -2
View File
@@ -1,2 +1,2 @@
SHA256 (cpat-1.4.1.tar.gz) = SLmmfPW4yc4LZd4tdcIIbjcGe/qbQB89ZgRl8f2GMyc=
SIZE (cpat-1.4.1.tar.gz) = 156465
SHA256 (cpat-1.4.2.tar.gz) = viVbaU21tI4lU+0WoSzRW81aUPzCIkJKjJR/BPEFO2c=
SIZE (cpat-1.4.2.tar.gz) = 158644
-16
View File
@@ -1,16 +0,0 @@
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
-19
View File
@@ -1,19 +0,0 @@
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);