Index: head/games/lincity/Makefile =================================================================== --- head/games/lincity/Makefile (revision 550675) +++ head/games/lincity/Makefile (revision 550676) @@ -1,46 +1,46 @@ # Created by: Julian Assange # $FreeBSD$ PORTNAME= lincity PORTVERSION= 1.13.1 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/Lincity%20Development%20Source/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Rich city simulation game for X LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libpng.so:graphics/png USES= gmake GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib OPTIONS_DEFINE= NLS SVGALIB OPTIONS_SUB= yes -NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls SVGALIB_LIB_DEPENDS= libvga.so:graphics/svgalib SVGALIB_CONFIGURE_ON= --without-x SVGALIB_CONFIGURE_OFF= --without-svga .include .if ${PORT_OPTIONS:MSVGALIB} PLIST_SUB+= PROG="bin/lincity" .else USES+= xorg -USE_XORG= sm xext +USE_XORG= ice sm x11 xext PLIST_SUB+= PROG="bin/xlincity" .endif pre-configure: @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|g' ${WRKSRC}/readpng.c .include Index: head/games/lincity/files/patch-ldsvgui.c =================================================================== --- head/games/lincity/files/patch-ldsvgui.c (nonexistent) +++ head/games/lincity/files/patch-ldsvgui.c (revision 550676) @@ -0,0 +1,13 @@ +--- ldsvgui.c.orig 2003-10-05 05:53:32 UTC ++++ ldsvgui.c +@@ -99,8 +99,8 @@ char LIBDIR[_MAX_PATH]; + char LIBDIR[256]; + #endif + +-char *lc_save_dir; +-char save_names[10][42]; ++extern char *lc_save_dir; ++extern char save_names[10][42]; + + /* ---------------------------------------------------------------------- * + * Public Functions Property changes on: head/games/lincity/files/patch-ldsvgui.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/lincity/files/patch-main.c =================================================================== --- head/games/lincity/files/patch-main.c (nonexistent) +++ head/games/lincity/files/patch-main.c (revision 550676) @@ -0,0 +1,15 @@ +--- main.c.orig 2004-07-03 07:59:05 UTC ++++ main.c +@@ -96,9 +96,9 @@ char LIBDIR[LC_PATH_MAX]; + #endif + #endif + +-char *lc_save_dir; +-char *lc_temp_file; +-char save_names[10][42]; ++extern char *lc_save_dir; ++extern char *lc_temp_file; ++extern char save_names[10][42]; + + #ifdef CS_PROFILE + int prof_countdown = PROFILE_COUNTDOWN; Property changes on: head/games/lincity/files/patch-main.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/lincity/files/patch-screen.h =================================================================== --- head/games/lincity/files/patch-screen.h (nonexistent) +++ head/games/lincity/files/patch-screen.h (revision 550676) @@ -0,0 +1,11 @@ +--- screen.h.orig 2004-06-22 13:24:19 UTC ++++ screen.h +@@ -20,7 +20,7 @@ extern unsigned char start_font1[2048]; + extern unsigned char start_font2[4096]; + extern unsigned char start_font3[4096]; + +-int monthgraph_style; ++extern int monthgraph_style; + + /* This is on in screen_full_refresh, used in *_refresh() */ + extern char screen_refreshing; Property changes on: head/games/lincity/files/patch-screen.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property