Date: Wed, 31 Oct 2007 02:05:27 +0300 (MSK) From: Dmitry Marakasov <amdmi3@amdmi3.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/117697: [MAINTAINER] games/diameter: update to 0.4.0.2 (== fix build on amd64/gcc42) Message-ID: <20071030230527.A90874252@hades.panopticon> Resent-Message-ID: <200710302330.l9UNU10Z010773@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 117697 >Category: ports >Synopsis: [MAINTAINER] games/diameter: update to 0.4.0.2 (== fix build on amd64/gcc42) >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Oct 30 23:30:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 6.1-RELEASE-p20 i386 >Organization: >Environment: System: FreeBSD hades.panopticon 6.1-RELEASE-p20 FreeBSD 6.1-RELEASE-p20 #1: Tue Oct 23 05:28:10 MSD 2007 root@hades.panopticon:/usr/obj/usr/src/sys/HADES i386 >Description: - Update to 0.4.0.2, which fixes build on amd64 with gcc42 There are no functional changes between 0.4.0.1 and 0.4.0.2, only 64bit fixes and some patches merged from the port, diff-proven. >How-To-Repeat: >Fix: --- diameter-0.4.0.2.shar begins here --- diff -ruN diameter.orig/Makefile diameter/Makefile --- diameter.orig/Makefile Thu Oct 25 02:48:26 2007 +++ diameter/Makefile Wed Oct 31 01:30:27 2007 @@ -6,12 +6,10 @@ # PORTNAME= diameter -PORTVERSION= 0.4.0.1 -PORTREVISION= 1 +PORTVERSION= 0.4.0.2 CATEGORIES= games -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITES= SF MASTER_SITE_SUBDIR= gamediameter -DISTNAME= ${PORTNAME}-${PORTVERSION} MAINTAINER= amdmi3@amdmi3.ru COMMENT= Arcade-style game with elements of economy and adventure @@ -24,7 +22,6 @@ USE_GMAKE= yes USE_GL= yes USE_SDL= sdl mixer image -USE_GCC= 3.4+ USE_PYTHON= yes WRKSRC= ${WRKDIR}/gamediameter @@ -34,20 +31,8 @@ DATADIR= ${PREFIX}/share/gamediameter -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 700042 -.if ${ARCH} == "amd64" || ${ARCH} == "sparc64" -BROKEN= Does not compile with GCC 4.2 -.endif -.endif - post-patch: - @${REINPLACE_CMD} -e '/PKG_CONFIG/ s|libpng|libpng12|' \ - -e 's|sdl-config|$$SDL_CONFIG|' \ - -e '/LIBS/ s|-lSDL |`$$SDL_CONFIG --libs` |' \ - -e '/^CFLAGS=.*march/ d' \ - -e '/PKG_CHECK_MODULES/ s|^|#|' \ - ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|; /^CFLAGS=.*march/ d; \ + /PKG_CONFIG/ s|libpng|libpng12|' ${WRKSRC}/configure -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff -ruN diameter.orig/distinfo diameter/distinfo --- diameter.orig/distinfo Thu Oct 25 02:48:26 2007 +++ diameter/distinfo Wed Oct 31 01:26:31 2007 @@ -1,3 +1,3 @@ -MD5 (diameter-0.4.0.1.tar.bz2) = 9a6c397c99188d0dc214b4455c2bf032 -SHA256 (diameter-0.4.0.1.tar.bz2) = c62687bbd469cec4ef99f73bf4682b645119943dbd4f55143f60cc7427afe68f -SIZE (diameter-0.4.0.1.tar.bz2) = 4760022 +MD5 (diameter-0.4.0.2.tar.bz2) = b9f8c0ea61f21ea33d802da83d28366a +SHA256 (diameter-0.4.0.2.tar.bz2) = eaa1ba0b35c3ba25c16fa0104a2a3a6096d94c2a45a048006456932e340430ea +SIZE (diameter-0.4.0.2.tar.bz2) = 4777529 diff -ruN diameter.orig/files/patch-src-main.cpp diameter/files/patch-src-main.cpp --- diameter.orig/files/patch-src-main.cpp Thu Oct 25 02:48:26 2007 +++ diameter/files/patch-src-main.cpp Thu Jan 1 03:00:00 1970 @@ -1,18 +0,0 @@ ---- src/main.cpp.orig Mon Jan 29 18:36:35 2007 -+++ src/main.cpp Wed Jan 31 16:36:40 2007 -@@ -9,7 +9,6 @@ - #ifdef _POSIX_C_SOURCE // shut up pyconfig.h complaints - #undef _POSIX_C_SOURCE - #endif --#include <Python.h> - - #ifdef __unix__ - #else -@@ -41,6 +40,7 @@ - #include "./res/loadworld.h" - #include "./wor/pylevel.h" - -+#include <Python.h> - - TextureList TTemp; - UTextureList TextureDelet; --- diameter-0.4.0.2.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071030230527.A90874252>