From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Dec 13 14:20:11 2010 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 6DEE31065744 for ; Mon, 13 Dec 2010 14:20:11 +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 290588FC1C for ; Mon, 13 Dec 2010 14:20:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oBDEKBgU099857 for ; Mon, 13 Dec 2010 14:20:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oBDEKApH099855; Mon, 13 Dec 2010 14:20:11 GMT (envelope-from gnats) Resent-Date: Mon, 13 Dec 2010 14:20:11 GMT Resent-Message-Id: <201012131420.oBDEKApH099855@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, "Mikhail T." Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8738E106566B for ; Mon, 13 Dec 2010 14:10:18 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 69ED88FC0C for ; Mon, 13 Dec 2010 14:10:18 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id oBDEAH7b084577 for ; Mon, 13 Dec 2010 14:10:17 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id oBDEAHsk084567; Mon, 13 Dec 2010 14:10:17 GMT (envelope-from nobody) Message-Id: <201012131410.oBDEAHsk084567@red.freebsd.org> Date: Mon, 13 Dec 2010 14:10:17 GMT From: "Mikhail T." To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/153121: [PATCH] update games/ufoai to the recent version 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: Mon, 13 Dec 2010 14:20:11 -0000 >Number: 153121 >Category: ports >Synopsis: [PATCH] update games/ufoai to the recent version >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: Mon Dec 13 14:20:10 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Mikhail T. >Release: 9.0 >Organization: >Environment: FreeBSD crush 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r216401: Mon Dec 13 14:18:54 MSK 2010 root@crush:/usr/obj/usr/src/sys/DESK amd64 >Description: - Update to latest bugfix release - Remove md5 sum >How-To-Repeat: Use the patch attached >Fix: diff -uNr ufoai.orig/Makefile ufoai/Makefile --- ufoai.orig/Makefile 2010-12-02 17:18:50.696973037 +0300 +++ ufoai/Makefile 2010-12-13 17:06:03.519410649 +0300 @@ -2,12 +2,11 @@ # Date created: 2006-09-03 # Whom: Jose Alonso Cardenas Marquez # -# $FreeBSD: ports/games/ufoai/Makefile,v 1.28 2010/10/16 11:52:07 ade Exp $ +# $FreeBSD: ports/games/ufoai/Makefile,v 1.29 2010/12/04 07:31:50 ade Exp $ # PORTNAME= ufoai -PORTVERSION= 2.3 -PORTREVISION= 1 +PORTVERSION= 2.3.1 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/UFO_AI%202.x/${PORTVERSION} DISTNAME= ${PORTNAME:S/$/-/}${PORTVERSION}-source @@ -25,7 +24,7 @@ xvidcore.4:${PORTSDIR}/multimedia/xvid RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/base/default.cfg:${PORTSDIR}/games/ufoai-data -USE_AUTOTOOLS= aclocal:111 autoconf:268 +USE_AUTOTOOLS= aclocal autoconf USE_BZIP2= yes USE_GL= yes USE_SDL= sdl image mixer ttf @@ -81,6 +80,9 @@ PLIST_SUB+= UFORADIANT="@comment " .endif +post-extract: +# Create missing base dir + @${MKDIR} ${WRKSRC}/base # Resolve name collision with jpeg-8 amd API png post-patch: ${REINPLACE_CMD} -e 's|jpeg_mem_src|local_jpeg_mem_src|' \ diff -uNr ufoai.orig/distinfo ufoai/distinfo --- ufoai.orig/distinfo 2010-12-02 17:18:50.686972325 +0300 +++ ufoai/distinfo 2010-12-10 16:19:13.071765414 +0300 @@ -1,3 +1,2 @@ -MD5 (ufoai/ufoai-2.3-source.tar.bz2) = 9d180ed896a58fe0e514601cd7637dc1 -SHA256 (ufoai/ufoai-2.3-source.tar.bz2) = e9c231117b779bab94bcd82c6bbf2051b2b310d7a13eb4bba10085ce0b0e64dd -SIZE (ufoai/ufoai-2.3-source.tar.bz2) = 9839841 +SHA256 (ufoai/ufoai-2.3.1-source.tar.bz2) = 6f9fbe69c91843b48fc29efa3a3584aa2659b78be1a6a00d5868c5d77fec69d1 +SIZE (ufoai/ufoai-2.3.1-source.tar.bz2) = 9847575 diff -uNr ufoai.orig/files/patch-build-platform_specific.mk ufoai/files/patch-build-platform_specific.mk --- ufoai.orig/files/patch-build-platform_specific.mk 2010-12-02 17:18:50.683025734 +0300 +++ ufoai/files/patch-build-platform_specific.mk 1970-01-01 03:00:00.000000000 +0300 @@ -1,10 +0,0 @@ ---- build/platform_specific.mk 2010-08-12 03:25:05.000000000 -0500 -+++ build/platform_specific.mk 2010-08-12 03:25:19.000000000 -0500 -@@ -55,6 +55,7 @@ - # FreeBSD like - ifeq ($(TARGET_OS),freebsd) - CFLAGS+=-D_BSD_SOURCE -D_XOPEN_SOURCE -+ LDFLAGS+=-lexecinfo - endif - - ifeq ($(TARGET_OS),netbsd) diff -uNr ufoai.orig/files/patch-configure.ac ufoai/files/patch-configure.ac --- ufoai.orig/files/patch-configure.ac 2010-12-02 17:18:50.681975042 +0300 +++ ufoai/files/patch-configure.ac 1970-01-01 03:00:00.000000000 +0300 @@ -1,21 +0,0 @@ ---- configure.ac 2010-08-12 02:24:51.000000000 -0500 -+++ configure.ac 2010-08-12 02:26:11.000000000 -0500 -@@ -21,6 +21,9 @@ - cygwin*) - AC_MSG_RESULT([Win32 (cygwin)]) - ;; -+ freebsd*) -+ AC_MSG_RESULT([UNIX (FreeBSD)]) -+ ;; - openbsd*) - AC_MSG_RESULT([UNIX (OpenBSD)]) - ;; -@@ -186,7 +189,7 @@ - #--------------------------------------------------------------------------------------------- - - AC_MSG_CHECKING([target CPU]) --if test "$target_cpu" = "x86_64" -+if test "$target_cpu" = "x86_64" || test "$target_cpu" = "amd64" || test "$target_cpu" = "ia64" - then - AC_SUBST([TARGET_CPU],[x86_64]) - elif test "$target_cpu" = "i386" || test "$target_cpu" = "i486" || test "$target_cpu" = "i586" || test "$target_cpu" = "i686" diff -uNr ufoai-data.orig/Makefile ufoai-data/Makefile --- ufoai-data.orig/Makefile 2010-12-02 17:19:02.918973878 +0300 +++ ufoai-data/Makefile 2010-12-10 15:22:53.592768782 +0300 @@ -6,7 +6,7 @@ # PORTNAME= data -PORTVERSION= 2.3 +PORTVERSION= 2.3.1 CATEGORIES= games MASTER_SITES= SF/ufoai/UFO_AI%202.x/${PORTVERSION} PKGNAMEPREFIX= ufoai- diff -uNr ufoai-data.orig/distinfo ufoai-data/distinfo --- ufoai-data.orig/distinfo 2010-12-02 17:19:02.917971516 +0300 +++ ufoai-data/distinfo 2010-12-10 16:10:50.571768068 +0300 @@ -1,3 +1,2 @@ -MD5 (ufoai/ufoai-2.3-data.tar) = 08fa6d5c80231468c4d5e886600c8dcf -SHA256 (ufoai/ufoai-2.3-data.tar) = 0e535ce268e9a9ae08cee9b8b62ffed055bdb3182f86bf5c429ec4c54c9fa224 -SIZE (ufoai/ufoai-2.3-data.tar) = 529571840 +SHA256 (ufoai/ufoai-2.3.1-data.tar) = 79b302351d22ea55e1d5c2fceed757a518908673c12ac3e7972f541f68c2a9ad +SIZE (ufoai/ufoai-2.3.1-data.tar) = 533196800 >Release-Note: >Audit-Trail: >Unformatted: