ports/124494: [patch] games/lincity-ng update to 1.1.2

Alex Kozlov spam at rm-rf.kiev.ua
Wed Jun 11 21:20:02 UTC 2008


>Number:         124494
>Category:       ports
>Synopsis:       [patch] games/lincity-ng update to 1.1.2
>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:   Wed Jun 11 21:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list