summaryrefslogtreecommitdiff
path: root/games/netmaze/patches/patch-an
diff options
context:
space:
mode:
authorjdc <jdc>2003-12-19 07:07:19 +0000
committerjdc <jdc>2003-12-19 07:07:19 +0000
commitc066bfed81794b57088c99a61e4cafe5681b7ae3 (patch)
treed7b6476a69a187d7f36ecde0758aa2180d413e23 /games/netmaze/patches/patch-an
parentafb38fd2eb6c4203d538e45fa0c19217039245da (diff)
downloadpkgsrc-c066bfed81794b57088c99a61e4cafe5681b7ae3.tar.gz
s/long/int32_t/ to make this work on 64-bit machines.
Tested on alpha and sparc64.
Diffstat (limited to 'games/netmaze/patches/patch-an')
-rw-r--r--games/netmaze/patches/patch-an13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/netmaze/patches/patch-an b/games/netmaze/patches/patch-an
new file mode 100644
index 00000000000..0d9c98cd3ae
--- /dev/null
+++ b/games/netmaze/patches/patch-an
@@ -0,0 +1,13 @@
+$NetBSD: patch-an,v 1.1 2003/12/19 07:07:19 jdc Exp $
+
+--- trigtab.h.dist 1993-10-15 21:59:30.000000000 +0100
++++ trigtab.h 2003-12-18 11:44:14.000000000 +0000
+@@ -2,7 +2,7 @@
+ * sin/cos tab (DON'T CHANGE!!)
+ */
+
+-long trigtab[] = {
++int32_t trigtab[] = {
+ 0x00000000,0x00064855,0x000c8fb2,0x0012d520,
+ 0x001917a6,0x001f564e,0x00259020,0x002bc428,
+ 0x0031f170,0x00381704,0x003e33f2,0x00444749,