File xmemory-3.7.dif of Package xmemory
--- Imakefile
+++ Imakefile 2001/10/30 22:33:48
@@ -8,12 +8,12 @@
XCOMM where to search for data-files, when not found in current dir
- XMEMORYDIR = \"/usr/games/lib/xmemory\"
+ XMEMORYDIR = \"/usr/share/games/xmemory\"
XCOMM set the compiler that you like,
XCOMM gcc should suit, since the libraries are not needed.
- CXX = gcc
+ CXX = g++
XCOMM #######################################################################
--- port.C
+++ port.C 2001/10/30 22:33:18
@@ -110,7 +110,7 @@
int Port::resize_lock = 0;
static unsigned long next_sec;
-struct fd_set Port::readfds;
+fd_set Port::readfds;
int Port::nfds = 0;
#ifndef MaxBorder
@@ -493,7 +493,7 @@
if (current_time<next) {
struct timeval timeout;
unsigned long dist = next-current_time;
- struct fd_set readfds_cp;
+ fd_set readfds_cp;
memcpy( &readfds_cp, &readfds, sizeof(readfds) );
timeout.tv_sec = dist / 100;
--- port.H
+++ port.H 2001/10/30 22:33:18
@@ -122,7 +122,7 @@
unsigned long lock_time; // lock until ...
unsigned long flash_time; // time of next flash
- static struct fd_set readfds;
+ static fd_set readfds;
static int nfds;
Atom WmProtocolsPropId, WmDeleteWindowPropId;
--- xmemory.C
+++ xmemory.C 2001/10/30 22:33:18
@@ -18,6 +18,7 @@
# include "mem_image.H"
#endif
+#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
--- xmemory.man
+++ xmemory.man 2001/10/30 22:33:18
@@ -1,4 +1,4 @@
-.TH xmemory 1 "July-17-1996" "X Version 11"
+.TH xmemory 6 "July-17-1996" "X Version 11"
.SH NAME
xmemory \- game of memory for several players
.SH SYNOPSIS