summaryrefslogtreecommitdiff
path: root/games/jetpack/patches/patch-af
diff options
context:
space:
mode:
authorgarbled <garbled@pkgsrc.org>1998-08-23 11:24:52 +0000
committergarbled <garbled@pkgsrc.org>1998-08-23 11:24:52 +0000
commitf0c2b25c65d46fb0d4a8e8f460c150717441cc98 (patch)
tree1b608b2ffa56de8af24f5a58f515e6371051e751 /games/jetpack/patches/patch-af
parentf9c06091c4455b12b095f4b58147a3558927866f (diff)
downloadpkgsrc-f0c2b25c65d46fb0d4a8e8f460c150717441cc98.tar.gz
New pkg for jetpack-1.0. Patches taken from FreeBSD ports collection.
(last time I do that.. ugh) an arcade action game for X Windows.
Diffstat (limited to 'games/jetpack/patches/patch-af')
-rw-r--r--games/jetpack/patches/patch-af20
1 files changed, 20 insertions, 0 deletions
diff --git a/games/jetpack/patches/patch-af b/games/jetpack/patches/patch-af
new file mode 100644
index 00000000000..a48f38f86bd
--- /dev/null
+++ b/games/jetpack/patches/patch-af
@@ -0,0 +1,20 @@
+$NetBSD: patch-af,v 1.1 1998/08/23 11:24:54 garbled Exp $
+*** scores.c~ Mon Nov 8 15:15:55 1993
+--- scores.c Sat Nov 19 22:32:31 1994
+***************
+*** 35,41 ****
+ numhighs = 0;
+ scorefd = open(SCOREPATH, O_RDWR);
+ if(scorefd == -1) {
+! scorefd = open(SCOREPATH, O_RDWR | O_CREAT, 0444);
+ if(scorefd == -1) {
+ scorefd = open("jetpack.scores", O_RDWR);
+ if(scorefd == -1) {
+--- 35,41 ----
+ numhighs = 0;
+ scorefd = open(SCOREPATH, O_RDWR);
+ if(scorefd == -1) {
+! scorefd = open(SCOREPATH, O_RDWR | O_CREAT, 0644);
+ if(scorefd == -1) {
+ scorefd = open("jetpack.scores", O_RDWR);
+ if(scorefd == -1) {