summaryrefslogtreecommitdiffstats
path: root/games/wolfpack/files/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'games/wolfpack/files/patch-ad')
-rw-r--r--games/wolfpack/files/patch-ad21
1 files changed, 11 insertions, 10 deletions
diff --git a/games/wolfpack/files/patch-ad b/games/wolfpack/files/patch-ad
index ccb8e8b..8cf1453 100644
--- a/games/wolfpack/files/patch-ad
+++ b/games/wolfpack/files/patch-ad
@@ -1,6 +1,6 @@
---- src/doconfig/doconfig.c Sun Jan 17 03:14:13 1999
-+++ src/doconfig/doconfig.c.orig Tue Oct 26 15:13:27 1999
-@@ -91,12 +91,17 @@
+--- src/doconfig/doconfig.c.orig Sat Dec 16 18:08:03 2000
++++ src/doconfig/doconfig.c Sat Dec 16 18:49:52 2000
+@@ -90,12 +90,18 @@
#endif
int
@@ -12,14 +12,15 @@
char *pathname;
+ if (argc != 2) {
-+ printf("Bad usage");
-+ exit(-1);
++ printf("Bad usage");
++ exit(-1);
+ }
+
++
if ((pathname = getcwd(NULL, 255)) == NULL) {
printf("Can't get current path!\n");
exit(-1);
-@@ -113,13 +118,14 @@
+@@ -112,13 +118,15 @@
cp = (char *)rindex(pathname, '\\');
*cp = '\0';
#endif
@@ -32,14 +33,14 @@
wripglob(buf);
-
+ } else {
++ printf("Installing...\n");
if (access(EP, 0)) {
printf("making directory %s\n", EP);
if (mkdir(EP, 493)) {
-@@ -139,6 +145,7 @@
+@@ -136,6 +144,7 @@
+ }
+ sprintf(buf, "%s/data/auth", EP);
wrauth(buf);
- sprintf(buf, "%s/data/hours", EP);
- wrhours(buf);
+ }
exit(0);
}
-
OpenPOWER on IntegriCloud