aboutsummaryrefslogtreecommitdiff
path: root/games/bsdgames
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-10-11 22:52:00 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-10-11 22:52:00 +0000
commit71d639506b5570077c1f3260847f20a0c5dbeb38 (patch)
tree3eacd2b40445566a429e1ab5b3867c7c73c148f2 /games/bsdgames
parent6c8967a9b49ccc065bbd62fffac322c7f855ab55 (diff)
downloadports-71d639506b5570077c1f3260847f20a0c5dbeb38.tar.gz
ports-71d639506b5570077c1f3260847f20a0c5dbeb38.zip
Notes
Diffstat (limited to 'games/bsdgames')
-rw-r--r--games/bsdgames/Makefile2
-rw-r--r--games/bsdgames/files/patch-adventure::crc.c11
-rw-r--r--games/bsdgames/files/patch-adventure::hdr.h11
3 files changed, 23 insertions, 1 deletions
diff --git a/games/bsdgames/Makefile b/games/bsdgames/Makefile
index a9a3ef997316..8b650b141e37 100644
--- a/games/bsdgames/Makefile
+++ b/games/bsdgames/Makefile
@@ -7,7 +7,7 @@
PORTNAME= freebsd-games
PORTVERSION= 5.1.1
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=markm
diff --git a/games/bsdgames/files/patch-adventure::crc.c b/games/bsdgames/files/patch-adventure::crc.c
new file mode 100644
index 000000000000..dfca63e6ab53
--- /dev/null
+++ b/games/bsdgames/files/patch-adventure::crc.c
@@ -0,0 +1,11 @@
+--- adventure/crc.c.bak Sat Feb 23 01:59:45 2002
++++ adventure/crc.c Wed Sep 29 03:29:37 2004
+@@ -120,7 +120,7 @@
+
+ /* Process nr bytes at a time; ptr points to them */
+ u_long
+-crc(const char *ptr, size_t nr)
++crc(const char *ptr, ssize_t nr)
+ {
+ int i;
+ const char *p;
diff --git a/games/bsdgames/files/patch-adventure::hdr.h b/games/bsdgames/files/patch-adventure::hdr.h
new file mode 100644
index 000000000000..02344c9191b4
--- /dev/null
+++ b/games/bsdgames/files/patch-adventure::hdr.h
@@ -0,0 +1,11 @@
+--- adventure/hdr.h.bak Mon Nov 10 15:46:52 2003
++++ adventure/hdr.h Wed Sep 29 03:30:55 2004
+@@ -167,7 +167,7 @@
+ void checkhints (void);
+ void ciao (void);
+ extern gid_t egid;
+-u_long crc (const char *ptr, size_t nr);
++u_long crc (const char *ptr, ssize_t nr);
+ void crc_start (void);
+ int dark (void);
+ void datime (int *d, int *t);