upgrade to dopewars 1.4.6, minor bug fixes:
* Bug fix for message window and "sew you up" prompt * Bug fix for server hanging in LoseBitch function * Terminal resizing now handled properly
This commit is contained in:
parent
e9e5825b14
commit
b08e3d13a5
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.4 1999/10/26 21:21:17 brad Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 1999/12/08 03:49:51 brad Exp $
|
||||
|
||||
DISTNAME= dopewars-1.4.5
|
||||
DISTNAME= dopewars-1.4.6
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://bellatrix.pcl.ox.ac.uk/~ben/dopewars/
|
||||
|
||||
post-install:
|
||||
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL
|
||||
@PKG_PREFIX="${PREFIX}" sh ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (dopewars-1.4.5.tar.gz) = e4a84768c1113eb090dd769fd30866c7
|
||||
RMD160 (dopewars-1.4.5.tar.gz) = 41741896a160171d332a74e8699ac84a5c7a4a91
|
||||
SHA1 (dopewars-1.4.5.tar.gz) = 1bde4e85ef40153017a1c970af4cfbc30b6b091c
|
||||
MD5 (dopewars-1.4.6.tar.gz) = 6c839b1001eb0d7ccb748e481827f70a
|
||||
RMD160 (dopewars-1.4.6.tar.gz) = db6c907f577a19e73009578698afa10895602783
|
||||
SHA1 (dopewars-1.4.6.tar.gz) = 4b4a2c560d2e5adc5073e766ce052158d175737c
|
||||
|
@ -1,22 +1,22 @@
|
||||
--- Makefile.orig Wed Oct 20 19:07:55 1999
|
||||
+++ Makefile Mon Oct 25 17:23:45 1999
|
||||
--- Makefile.orig Tue Dec 7 22:42:26 1999
|
||||
+++ Makefile Tue Dec 7 22:43:27 1999
|
||||
@@ -1,10 +1,10 @@
|
||||
-CFLAGS = -Wall
|
||||
-CC = gcc
|
||||
+CFLAGS += -Wall
|
||||
+#CC = gcc
|
||||
HEADERS = message.h dopewars.h serverside.h clientside.h AIPlayer.h
|
||||
OBJS = message.o dopewars.o serverside.o clientside.o AIPlayer.o
|
||||
HEADERS = message.h dopewars.h serverside.h clientside.h AIPlayer.h dopeos.h
|
||||
OBJS = message.o dopewars.o serverside.o clientside.o AIPlayer.o dopeos.o
|
||||
-LIBS = -lncurses
|
||||
+LIBS = -lcurses
|
||||
VERSION = 1.4.5
|
||||
VERSION = 1.4.6
|
||||
-DOCPATH = /usr/doc/dopewars-$(VERSION)
|
||||
+DOCPATH = $(PREFIX)/share/doc/dopewars
|
||||
DOCS = index.html installation.html clientplay.html server.html credits.html \
|
||||
aiplayer.html configfile.html commandline.html developer.html \
|
||||
metaserver.html servercommands.html \
|
||||
@@ -31,12 +31,9 @@
|
||||
$(CC) $(CFLAGS) -c AIPlayer.c
|
||||
@@ -34,12 +34,9 @@
|
||||
$(CC) $(CFLAGS) -c dopeos.c
|
||||
|
||||
install : all
|
||||
- install -o root -g games -m 2755 dopewars /usr/bin/dopewars
|
||||
|
@ -1,29 +1,16 @@
|
||||
--- dopewars.c.orig Mon Oct 25 16:46:16 1999
|
||||
+++ dopewars.c Mon Oct 25 16:46:44 1999
|
||||
@@ -19,7 +19,7 @@
|
||||
/* MA 02111-1307, USA. */
|
||||
--- dopeunix.h.orig Tue Dec 7 22:44:51 1999
|
||||
+++ dopeunix.h Tue Dec 7 22:45:14 1999
|
||||
@@ -22,11 +22,12 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#ifndef __DOPEOS_H__
|
||||
#define __DOPEOS_H__
|
||||
+#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netdb.h>
|
||||
-#include <ncurses.h>
|
||||
+#include <curses.h>
|
||||
#include <stdlib.h>
|
||||
#include <ctype.h>
|
||||
#include <unistd.h>
|
||||
@@ -2179,7 +2179,7 @@
|
||||
char ConfigFile[800],*pt;
|
||||
#include <sys/wait.h>
|
||||
|
||||
/* First, set hard-coded default values */
|
||||
- strcpy(HiScoreFile,"/var/lib/games/dopewars.sco");
|
||||
+ strcpy(HiScoreFile,"/var/games/dopewars.sco");
|
||||
strcpy(ServerName,"localhost");
|
||||
strcpy(Pager,"more");
|
||||
Location=ResizeStruct(Location,&NumLocation,NUMLOCATION,
|
||||
@@ -2263,7 +2263,7 @@
|
||||
original version as");
|
||||
puts(" possible (this also disables any networking)");
|
||||
puts(" -f file specify a file to use as the high score table");
|
||||
- puts(" (by default /var/lib/games/dopewars.sco is used)");
|
||||
+ puts(" (by default /var/games/dopewars.sco is used)");
|
||||
puts(" -o addr specify a hostname where the server for \
|
||||
multiplayer dopewars ");
|
||||
puts(" can be found (in human-readable - e.g. \
|
||||
extern int Width,Depth;
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- dopewars.h.orig Mon Sep 20 14:25:34 1999
|
||||
+++ dopewars.h Mon Sep 20 14:25:46 1999
|
||||
@@ -23,7 +23,7 @@
|
||||
#define __DOPEWARS_H__
|
||||
|
||||
#include <stdio.h>
|
||||
-#include <ncurses.h>
|
||||
+#include <curses.h>
|
||||
#include <time.h>
|
||||
|
||||
typedef long price_t;
|
Loading…
Reference in New Issue
Block a user