From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jun 5 23:00:33 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 310801065676 for ; Fri, 5 Jun 2009 23:00:33 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0977B8FC18 for ; Fri, 5 Jun 2009 23:00:33 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n55N0WGf065390 for ; Fri, 5 Jun 2009 23:00:32 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n55N0Wsd065383; Fri, 5 Jun 2009 23:00:32 GMT (envelope-from gnats) Resent-Date: Fri, 5 Jun 2009 23:00:32 GMT Resent-Message-Id: <200906052300.n55N0Wsd065383@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Marakasov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4180106570A for ; Fri, 5 Jun 2009 22:57:51 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id 546748FC19 for ; Fri, 5 Jun 2009 22:57:51 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MCiMA-0006G3-37; Sat, 06 Jun 2009 02:57:50 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id DB73AB861; Sat, 6 Jun 2009 02:57:43 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id CA353108839; Sat, 6 Jun 2009 02:57:43 +0400 (MSD) Message-Id: <20090605225743.CA353108839@hades.panopticon> Date: Sat, 6 Jun 2009 02:57:43 +0400 (MSD) From: Dmitry Marakasov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: alepulver@FreeBSD.org Subject: ports/135303: [PATCH] games/warzone2100: update to 2.2.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2009 23:00:33 -0000 >Number: 135303 >Category: ports >Synopsis: [PATCH] games/warzone2100: update to 2.2.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jun 05 23:00:32 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 8.0-CURRENT i386 >Organization: >Environment: System: FreeBSD hades.panopticon 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jun 1 22:13:51 MSD >Description: - Update to 2.2.0 - Add SF mirror - Mark MAKE_JOBS_SAFE - Add WITHOUT_NLS support - Unfortunately, no longer builds on 6.x :( The new required dependency (graphics/quesoglc) was just committed. Port maintainer (alepulver@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- warzone2100-2.2.0.patch begins here --- Index: Makefile =================================================================== RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/games/warzone2100/Makefile,v retrieving revision 1.26 diff -u -u -r1.26 Makefile --- Makefile 4 Apr 2009 12:05:21 -0000 1.26 +++ Makefile 5 Jun 2009 22:55:13 -0000 @@ -6,23 +6,27 @@ # PORTNAME= warzone2100 -PORTVERSION= 2.0.10 -PORTREVISION= 2 +PORTVERSION= 2.2.0 CATEGORIES= games -MASTER_SITES= http://download.gna.org/warzone/releases/2.0/ +MASTER_SITES= SF \ + http://download.gna.org/warzone/releases/${PORTVERSION:C/^([0-9]+\.[0-9]+)\..*$/\1/}/ MAINTAINER= alepulver@FreeBSD.org COMMENT= Innovative 3D real-time strategy game BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip \ - unzip:${PORTSDIR}/archivers/unzip + unzip:${PORTSDIR}/archivers/unzip \ + ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ mad.2:${PORTSDIR}/audio/libmad \ ogg.5:${PORTSDIR}/audio/libogg \ openal.0:${PORTSDIR}/audio/openal \ physfs.1:${PORTSDIR}/devel/physfs \ png.5:${PORTSDIR}/graphics/png \ - vorbis.4:${PORTSDIR}/audio/libvorbis + vorbis.4:${PORTSDIR}/audio/libvorbis \ + GLC.0:${PORTSDIR}/graphics/quesoglc \ + theora.0:${PORTSDIR}/multimedia/libtheora \ + popt.0:${PORTSDIR}/devel/popt USE_BISON= build GNU_CONFIGURE= yes @@ -33,11 +37,41 @@ CONFIGURE_ARGS= --program-transform-name="" --with-distributor="FreeBSD ports" CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ - LIBS="${PTHREAD_LIBS}" + LIBS="${PTHREAD_LIBS}" \ + PATH="${LOCALBASE}/bin:$$PATH" REINPLACE_ARGS= -i '' +MAKE_JOBS_SAFE= yes +PORTDOCS= * + +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+=--disable-nls +PLIST_SUB+= NLS="@comment " +.endif + +.include + +.if ${OSVERSION} < 700004 +BROKEN= Does not build +.endif post-patch: - @${REINPLACE_CMD} -e 's|-m32||' ${WRKSRC}/configure + @${REINPLACE_CMD} -e '/_XOPEN_SOURCE/ d' ${WRKSRC}/config.h.in + @${REINPLACE_CMD} -e 's|NSIG|32|g; s|SIGPOLL|SIGIO|g' \ + ${WRKSRC}/lib/exceptionhandler/exceptionhandler.c + @${REINPLACE_CMD} -e '/include.*alloca/ d' \ + ${WRKSRC}/lib/framework/config-macosx.h \ + ${WRKSRC}/lib/framework/resource_parser.tab.c \ + ${WRKSRC}/lib/framework/strres_parser.tab.c \ + ${WRKSRC}/lib/framework/wzglobal.h \ + ${WRKSRC}/lib/gamelib/audp_parser.tab.c \ + ${WRKSRC}/lib/script/chat_parser.tab.c \ + ${WRKSRC}/lib/script/script_parser.tab.c \ + ${WRKSRC}/src/message_parser.tab.c \ + ${WRKSRC}/src/scriptvals_parser.tab.c + @${REINPLACE_CMD} -e 's|-m32||; s|-Werror||g' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|AUTHORS||; s|COPYING COPYING\.README||' \ ${WRKSRC}/Makefile.in .if defined(NOPORTDOCS) @@ -48,4 +82,4 @@ .else .endif -.include +.include Index: distinfo =================================================================== RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/games/warzone2100/distinfo,v retrieving revision 1.11 diff -u -u -r1.11 distinfo --- distinfo 4 Jan 2008 09:24:50 -0000 1.11 +++ distinfo 4 Jun 2009 12:16:18 -0000 @@ -1,3 +1,3 @@ -MD5 (warzone2100-2.0.10.tar.bz2) = d27b89fde2c8017020756441bdd2a67b -SHA256 (warzone2100-2.0.10.tar.bz2) = a70d53173b49d31ab8b730a82d2b0127a9fb23eb6da1cdc6e38c8dbfecaa207a -SIZE (warzone2100-2.0.10.tar.bz2) = 13304863 +MD5 (warzone2100-2.2.0.tar.bz2) = 18ce8b1778903cb4bbf153b19b575944 +SHA256 (warzone2100-2.2.0.tar.bz2) = c176329bf6a148915dca69e399bf50e63cb26319885e395cb0bc2c1597c48c2a +SIZE (warzone2100-2.2.0.tar.bz2) = 48641710 Index: pkg-plist =================================================================== RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/games/warzone2100/pkg-plist,v retrieving revision 1.7 diff -u -u -r1.7 pkg-plist --- pkg-plist 12 Dec 2007 17:23:17 -0000 1.7 +++ pkg-plist 5 Jun 2009 18:44:09 -0000 @@ -1,17 +1,43 @@ bin/warzone2100 -%%DATADIR%%/mp.wz -%%DATADIR%%/warzone.wz -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/Readme.de -%%PORTDOCS%%%%DOCSDIR%%/Readme.de.xhtml -%%PORTDOCS%%%%DOCSDIR%%/Readme.en -%%PORTDOCS%%%%DOCSDIR%%/Readme.en.xhtml -%%PORTDOCS%%%%DOCSDIR%%/styles/readme.print.css -%%PORTDOCS%%%%DOCSDIR%%/styles/readme.screen.css -share/icons/warzone2100.png share/applications/warzone2100.desktop +share/icons/warzone2100.png +%%NLS%%share/locale/cs/LC_MESSAGES/warzone2100.mo +%%NLS%%share/locale/da/LC_MESSAGES/warzone2100.mo +%%NLS%%share/locale/de/LC_MESSAGES/warzone2100.mo +%%NLS%%share/locale/en_GB/LC_MESSAGES/warzone2100.mo +%%NLS%%share/locale/es/LC_MESSAGES/warzone2100.mo +%%NLS%%share/locale/fi/LC_MESSAGES/warzone2100.mo +%%NLS%%share/locale/fr/LC_MESSAGES/warzone2100.mo +%%NLS%%share/locale/fy/LC_MESSAGES/warzone2100.mo +%%NLS%%share/locale/ga/LC_MESSAGES/warzone2100.mo +%%NLS%%share/locale/it/LC_MESSAGES/warzone2100.mo +%%NLS%%share/locale/la/LC_MESSAGES/warzone2100.mo +%%NLS%%share/locale/lt/LC_MESSAGES/warzone2100.mo +%%NLS%%share/locale/nb/LC_MESSAGES/warzone2100.mo +%%NLS%%share/locale/nl/LC_MESSAGES/warzone2100.mo +%%NLS%%share/locale/pl/LC_MESSAGES/warzone2100.mo +%%NLS%%share/locale/pt/LC_MESSAGES/warzone2100.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/warzone2100.mo +%%NLS%%share/locale/ro/LC_MESSAGES/warzone2100.mo +%%NLS%%share/locale/ru/LC_MESSAGES/warzone2100.mo +%%NLS%%share/locale/sl/LC_MESSAGES/warzone2100.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/warzone2100.mo +%%NLS%%share/locale/zh_TW/LC_MESSAGES/warzone2100.mo +%%DATADIR%%/base.wz +%%DATADIR%%/mods/multiplay/aivolution.wz +%%DATADIR%%/mods/multiplay/ntw.wz +%%DATADIR%%/mp.wz +%%DATADIR%%/music/menu.ogg +%%DATADIR%%/music/music.wpl +%%DATADIR%%/music/track1.ogg +%%DATADIR%%/music/track2.ogg +@dirrm %%DATADIR%%/music +@dirrm %%DATADIR%%/mods/multiplay +@dirrm %%DATADIR%%/mods @dirrm %%DATADIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%%/styles -%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%NLS%%@dirrmtry share/locale/la/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/la +%%NLS%%@dirrmtry share/locale/fy/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/fy @dirrmtry share/applications @dirrmtry share/icons --- warzone2100-2.2.0.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: