summaryrefslogtreecommitdiff
path: root/games/seabattle/files/patch-ad
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2001-02-03 16:37:37 +0000
committerKevin Lo <kevlo@FreeBSD.org>2001-02-03 16:37:37 +0000
commit9cdb1db5f773c7df57bdca0e33164c421550236f (patch)
tree4faa208d7b235671331e78276fc28be347fe52ab /games/seabattle/files/patch-ad
parentUpgrade to 1.6.1 (diff)
- Add secondary site to MASTER_SITES
- Support CC properly - Support NOPORTDOCS - Add WWW: line PR: 24819 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=37928
Diffstat (limited to 'games/seabattle/files/patch-ad')
-rw-r--r--games/seabattle/files/patch-ad58
1 files changed, 23 insertions, 35 deletions
diff --git a/games/seabattle/files/patch-ad b/games/seabattle/files/patch-ad
index 9af20bc7223f..fe9699e510f6 100644
--- a/games/seabattle/files/patch-ad
+++ b/games/seabattle/files/patch-ad
@@ -1,35 +1,23 @@
-*** binp.c Tue May 13 17:51:00 1997
---- /home/andy/tmp/wrk/binp.c Mon Jun 30 14:41:38 1997
-***************
-*** 129,143 ****
- /* Incomplete as of yet */
- if (which_one==1)
- if (sound_device)
-! if(rand()%2) system("cat hit1.au > /dev/audio ");
-! else system("cat hit2.au > /dev/audio ");
- else beep();
- if (which_one==2)
- if (sound_device)
-! if(rand()%2) system("cat miss1.au > /dev/audio ");
-! else system("cat miss2.au > /dev/audio ");
- if (which_one==3)
-! if (sound_device) system("cat sunkit.au > /dev/audio ");
- else beep();
- }
-
---- 129,143 ----
- /* Incomplete as of yet */
- if (which_one==1)
- if (sound_device)
-! if(rand()%2) system("cat " PREFIX "/share/seabattle/hit1.au > /dev/audio ");
-! else system("cat " PREFIX "/share/seabattle/hit2.au > /dev/audio ");
- else beep();
- if (which_one==2)
- if (sound_device)
-! if(rand()%2) system("cat " PREFIX "/share/seabattle/miss1.au > /dev/audio ");
-! else system("cat " PREFIX "/share/seabattle/miss2.au > /dev/audio ");
- if (which_one==3)
-! if (sound_device) system("cat " PREFIX "/share/seabattle/sunkit.au > /dev/audio ");
- else beep();
- }
-
+--- binp.c.orig Wed May 14 02:51:00 1997
++++ binp.c Fri Feb 2 04:22:56 2001
+@@ -129,15 +129,15 @@
+ /* Incomplete as of yet */
+ if (which_one==1)
+ if (sound_device)
+- if(rand()%2) system("cat hit1.au > /dev/audio ");
+- else system("cat hit2.au > /dev/audio ");
++ if(rand()%2) system("cat " DATADIR "/hit1.au > /dev/audio ");
++ else system("cat " DATADIR "/hit2.au > /dev/audio ");
+ else beep();
+ if (which_one==2)
+ if (sound_device)
+- if(rand()%2) system("cat miss1.au > /dev/audio ");
+- else system("cat miss2.au > /dev/audio ");
++ if(rand()%2) system("cat " DATADIR "/miss1.au > /dev/audio ");
++ else system("cat " DATADIR "/miss2.au > /dev/audio ");
+ if (which_one==3)
+- if (sound_device) system("cat sunkit.au > /dev/audio ");
++ if (sound_device) system("cat " DATADIR "/sunkit.au > /dev/audio ");
+ else beep();
+ }
+