aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2003-05-09 22:33:20 +0000
committerEric Anholt <anholt@FreeBSD.org>2003-05-09 22:33:20 +0000
commit11151fb71e1ad78e89aed8a8d87e8a791aad6905 (patch)
tree83ae0e77ff31f4483f45e49918c59e0b779de88f /games
parent41a4b06b7e419d22f43024bcf06b1c8b9732687d (diff)
downloadports-11151fb71e1ad78e89aed8a8d87e8a791aad6905.tar.gz
ports-11151fb71e1ad78e89aed8a8d87e8a791aad6905.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/xtux/files/patch-af14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/xtux/files/patch-af b/games/xtux/files/patch-af
new file mode 100644
index 000000000000..422a5c3738dd
--- /dev/null
+++ b/games/xtux/files/patch-af
@@ -0,0 +1,14 @@
+--- src/common/timing.c.orig Fri May 9 15:21:25 2003
++++ src/common/timing.c Fri May 9 15:35:10 2003
+@@ -1,6 +1,11 @@
+ #include <sys/time.h>
+ #include <unistd.h>
++#if __FreeBSD_version >= 500000
+ #include <stdint.h>
++#else
++#include <limits.h>
++#define INT32_MAX INT_MAX
++#endif
+ #include "timing.h"
+
+ static msec_t tvtol(struct timeval t);