From nobody@FreeBSD.org  Wed Jun 11 21:19:40 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id DA6E41065679
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 11 Jun 2008 21:19:40 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id C48898FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 11 Jun 2008 21:19:40 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m5BLJeLS009329
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 11 Jun 2008 21:19:40 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m5BLJeBp009328;
	Wed, 11 Jun 2008 21:19:40 GMT
	(envelope-from nobody)
Message-Id: <200806112119.m5BLJeBp009328@www.freebsd.org>
Date: Wed, 11 Jun 2008 21:19:40 GMT
From: Alex Kozlov <spam@rm-rf.kiev.ua>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] games/lincity-ng update to 1.1.2
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         124494
>Category:       ports
>Synopsis:       [patch] games/lincity-ng update to 1.1.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    az
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 11 21:20:01 UTC 2008
>Closed-Date:    Tue Jun 24 05:40:18 UTC 2008
>Last-Modified:  Tue Jun 24 05:40:18 UTC 2008
>Originator:     Alex Kozlov
>Release:        FreeBSD 6.3
>Organization:
private
>Environment:
>Description:
-Update to 1.1.2
-Remove 5.3 compatibility patches.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: games/lincity-ng/Makefile
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	lincity-ng
-PORTVERSION=	1.1.1
+PORTVERSION=	1.1.2
 PORTREVISION=	2
 CATEGORIES=	games
 MASTER_SITES=	${MASTER_SITE_BERLIOS}
@@ -30,18 +30,10 @@
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 504000
-pre-configure::
-	@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-src-gui-Gradient.cpp
-	@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-src-gui-PainterSDL-PainterSDL.cpp
-.endif
-
 do-build:
 	@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} jam)
 
 do-install:
 	@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} jam ${INSTALL_TARGET})
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: games/lincity-ng/files/extra-src-gui-Gradient.cpp
@@ -1,12 +0,0 @@
---- src/gui/Gradient.cpp.orig	Fri Jul 15 19:47:11 2005
-+++ src/gui/Gradient.cpp	Sat Jul 23 12:40:46 2005
-@@ -28,9 +28,7 @@
- #include "Painter.hpp"
- #include "ComponentFactory.hpp"
- 
--#ifdef _MSC_VER
- #define lrintf(x) (long int)x
--#endif
- 
- Gradient::Gradient()
-     : direction(LEFT_RIGHT)
Index: games/lincity-ng/files/extra-src-gui-PainterSDL-PainterSDL.cpp
@@ -1,13 +0,0 @@
---- src/gui/PainterSDL/PainterSDL.cpp.orig	Fri Jul 15 19:47:12 2005
-+++ src/gui/PainterSDL/PainterSDL.cpp	Sat Jul 23 12:41:09 2005
-@@ -30,10 +30,8 @@
- 
- #include "TextureSDL.hpp"
- 
--#ifdef _MSC_VER
- #define lrint(x) (long int)x
- #define lroundf(x) (long int)(x + .5)
--#endif
- 
- PainterSDL::PainterSDL(SDL_Surface* _target)
-     : target(_target)
Index: games/lincity-ng/distinfo
@@ -1,3 +1,3 @@
-MD5 (lincity-ng-1.1.1.tar.bz2) = b548b04666aa35e44a83e173a6cbe4b1
-SHA256 (lincity-ng-1.1.1.tar.bz2) = 77880e5b70bdf5ae717d12bca1966861190436d0fdbb37563dcb56d5e12c2a65
-SIZE (lincity-ng-1.1.1.tar.bz2) = 29567908
+MD5 (lincity-ng-1.1.2.tar.bz2) = 3b4b67044230bdab64e7976e212cdd80
+SHA256 (lincity-ng-1.1.2.tar.bz2) = 6d69de4e1a7f2befef54168d5a29afaf1de85b0e63e4e7080a12b7646c3423f2
+SIZE (lincity-ng-1.1.2.tar.bz2) = 29567088


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->az 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Jun 11 21:20:07 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=124494 

From: Alex Kozlov <spam@rm-rf.kiev.ua>
To: Andrej Zverev <andrey.zverev@electro-com.ru>, bug-followup@FreeBSD.org,
	spam@rm-rf.kiev.ua
Cc:  
Subject: Re: ports/124494: [patch] games/lincity-ng update to 1.1.2
Date: Mon, 23 Jun 2008 22:41:52 +0300

 On Mon, Jun 23, 2008 at 11:16:10PM +0400, Andrej Zverev wrote:
 > Hello.
 > 
 > Just a few questions:
 > 1. Why you remove support for FreeBSD < 5.3 ?
 Because support for RELENG_5 dropped in the end of may. Sad but true.
 
 > 2.  It's something wrong with PORTREVISION in patch ?
 Good catch. PORTREVISION need to be removed.
 
 > 3. Plist is correct for 7.0 RELEASE ?
 AFAIK.
 
 > 4. It's build fine for for CURRENT  or you just don't check ?
 I was only testing this on RELENG_6/RELENG_7. If You are think that this update
 fall on current, please test it. Also patches welcome ;-)
 
 
 --
 Adios

From: Andrej Zverev <andrey.zverev@electro-com.ru>
To: bug-followup@FreeBSD.org, spam@rm-rf.kiev.ua
Cc:  
Subject: Re: ports/124494: [patch] games/lincity-ng update to 1.1.2
Date: Mon, 23 Jun 2008 23:16:10 +0400

 Hello.
 
 Just a few questions:
 1. Why you remove support for FreeBSD < 5.3 ?
 2.  It's something wrong with PORTREVISION in patch ?
 3. Plist is correct for 7.0 RELEASE ?
 4. It's build fine for for CURRENT  or you just don't check ?
 
 WBR,
 Andrej Zverev
 
 
State-Changed-From-To: open->closed 
State-Changed-By: az 
State-Changed-When: Tue Jun 24 05:40:17 UTC 2008 
State-Changed-Why:  
Thank you, PR rejected by mnt 

http://www.freebsd.org/cgi/query-pr.cgi?pr=124494 
>Unformatted:
