mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
Make games/lincity compiling on -current again.
Noticed on: bento
This commit is contained in:
parent
b266749454
commit
944a6bf459
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70453
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= lincity
|
||||
PORTVERSION= 1.11
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ftp://ftp.demon.co.uk/pub/unix/linux/games/
|
||||
|
||||
|
@ -1,6 +1,14 @@
|
||||
--- lcx11.cxx.orig Thu Feb 25 20:17:54 1999
|
||||
+++ lcx11.cxx Sat Sep 25 17:47:12 1999
|
||||
@@ -715,7 +715,7 @@
|
||||
--- lcx11.cxx.orig Fri Feb 26 02:17:54 1999
|
||||
+++ lcx11.cxx Tue Nov 19 05:35:40 2002
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <math.h>
|
||||
#ifdef IRIX
|
||||
@@ -715,7 +716,7 @@
|
||||
#ifdef USE_IMAGES
|
||||
Fgl_putbox_low (display.win, 0, 0,
|
||||
x1, y1, x2 - x1, y2 - y1,
|
||||
|
@ -1,8 +1,18 @@
|
||||
--- main.cxx.orig Thu Feb 25 20:17:54 1999
|
||||
+++ main.cxx Sat Sep 25 17:56:44 1999
|
||||
@@ -780,5 +780,4 @@
|
||||
--- main.cxx.orig Fri Feb 26 02:17:54 1999
|
||||
+++ main.cxx Tue Nov 19 05:27:27 2002
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
#if !defined (WIN32)
|
||||
#include <strings.h>
|
||||
#endif
|
||||
@@ -779,7 +780,6 @@
|
||||
DIR *dp;
|
||||
if ((dp = opendir (dir)) == NULL)
|
||||
{
|
||||
- closedir (dp);
|
||||
return 0;
|
||||
}
|
||||
closedir (dp);
|
||||
|
@ -1,6 +1,13 @@
|
||||
--- Imakefile.orig Sun Feb 14 07:55:02 1999
|
||||
+++ Imakefile Tue Sep 12 02:35:21 2000
|
||||
@@ -15,4 +15,4 @@
|
||||
--- Imakefile.orig Sat Feb 13 23:55:02 1999
|
||||
+++ Imakefile Tue Nov 19 05:52:36 2002
|
||||
@@ -9,10 +9,11 @@
|
||||
LOCAL_LIBRARIES = $(XLIB)
|
||||
DEPLIBS = $(DEPXLIB)
|
||||
SYS_LIBRARIES = -lm
|
||||
+ CC = $(CXX)
|
||||
|
||||
SRCS = main.cxx mouse.cxx screen.cxx mps.cxx typeinit.cxx\
|
||||
engine.cxx transport.cxx market.cxx help.cxx lcx11.cxx
|
||||
OBJS = xmain.o xmouse.o xscreen.o xmps.o xtypeinit.o\
|
||||
xengine.o xtransport.o xmarket.o xhelp.o lcx11.o
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user