mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Update to cpat-1.4.1.
This commit is contained in:
+1
-2
@@ -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
@@ -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
|
||||
|
||||
@@ -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
|
||||
@@ -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);
|
||||
Reference in New Issue
Block a user