1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Update to 2.02r2, fixing the build on -current.

This commit is contained in:
Eric Anholt 2003-05-18 19:18:21 +00:00
parent f518f29a6c
commit 7476a72350
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81272
6 changed files with 10 additions and 42 deletions

View File

@ -6,10 +6,10 @@
#
PORTNAME= xevil
PORTVERSION= 2.02
PORTVERSION= 2.02.r2
CATEGORIES= games
MASTER_SITES= http://www.xevil.com/download/stable/
DISTNAME= xevilsrc${PORTVERSION}
DISTNAME= xevilsrc${PORTVERSION:S/.r/r/}
MAINTAINER= ports@FreeBSD.org
COMMENT= A fast-action, networked, anti-social, kill-everything game
@ -21,10 +21,6 @@ ALL_TARGET= freebsd
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile (bad C++ code)"
.endif
# I'm not sure if this should be here
.if (${MACHINE} == "alpha")
CFLAGS+="-DXEVIL_KEYSET=UIalpha"

View File

@ -1 +1 @@
MD5 (xevilsrc2.02.zip) = e1890f77144367e2e8bbf3609458b784
MD5 (xevilsrc2.02r2.zip) = 09a9ef720b7204b0be68c4f462def370

View File

@ -1,6 +1,6 @@
--- config.mk.orig Wed Jan 19 14:19:04 2000
+++ config.mk Thu Dec 21 19:40:33 2000
@@ -34,12 +34,12 @@
--- config.mk.orig Sun Mar 23 00:08:58 2003
+++ config.mk Sun May 18 12:02:44 2003
@@ -34,7 +34,7 @@
# You can add -DNDEBUG to speed up a release build by removing the assert()
# calls. But, on a really obscure Linux machine, this caused Xlib to blow up
# internally, so you do so at your own risk.
@ -9,12 +9,6 @@
LINK_OPT =
# The string that will be used for making the packaged .tar.Z file.
-VERSION = 2.01
+VERSION = 2.02
#SRC_DIR and WORK_DIR are only used for `make workdir`
SRC_DIR = /mit/hardts/src/X/xevil1.4.9
@@ -83,7 +83,9 @@
#### Attempt to guesss the host architecture using the HOSTYPE and hostype
# variables. Then call self with the architecture name.

View File

@ -1,11 +0,0 @@
--- x11/ui.cpp~ Wed Jan 19 12:54:14 2000
+++ x11/ui.cpp Thu Dec 21 19:41:38 2000
@@ -1322,7 +1322,7 @@
// Get font. Use user-specified font if given.
// regular size font.
- char *theFont = fontName ? fontName : DEFAULT_FONT_NAME;
+ const char *theFont = fontName ? fontName : DEFAULT_FONT_NAME;
xvars.font[xvars.dpyMax] =
XLoadQueryFont(xvars.dpy[xvars.dpyMax],theFont);
if (!xvars.font[xvars.dpyMax]) {

View File

@ -1,11 +0,0 @@
--- cmn/intel.cpp~ Wed Jan 19 12:54:34 2000
+++ cmn/intel.cpp Thu Dec 21 19:42:34 2000
@@ -1606,7 +1606,7 @@
Boolean Machine::weapon_current_is_drop_liftable(PhysicalP p) {
// This is a HACK, we should really make Lifter override
// get_weapon_current(), etc.
- char *dummy;
+ const char *dummy;
ClassId classId = p->get_weapon_string(dummy);
if (classId == A_DropLiftable) {
return True;

View File

@ -1,5 +1,5 @@
--- Makefile~ Wed Jan 19 13:08:50 2000
+++ Makefile Thu Dec 21 19:43:26 2000
--- Makefile.orig Sun Mar 23 00:09:08 2003
+++ Makefile Sun May 18 12:05:08 2003
@@ -63,11 +63,6 @@
# Could also include serverping in the distribution
@ -8,7 +8,7 @@
- cp gpl.txt $(OBJ_DIR)
- cp -r instructions $(OBJ_DIR)
- (cd $(OBJ_DIR); tar cf xevil$(VERSION).$(PCKG_NAME).tar xevil readme.txt gpl.txt instructions)
- (cd $(OBJ_DIR); compress -f xevil$(VERSION).$(PCKG_NAME).tar)
- (cd $(OBJ_DIR); $(COMPRESS) -f xevil$(VERSION).$(PCKG_NAME).tar)
## Make a distribution file.
dist:
#dist: