From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Mar 30 05:20:04 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 56FE097B for ; Sat, 30 Mar 2013 05:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 3D5D51C6 for ; Sat, 30 Mar 2013 05:20:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r2U5K4U1043739 for ; Sat, 30 Mar 2013 05:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r2U5K4Tj043738; Sat, 30 Mar 2013 05:20:04 GMT (envelope-from gnats) Resent-Date: Sat, 30 Mar 2013 05:20:04 GMT Resent-Message-Id: <201303300520.r2U5K4Tj043738@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, "r4721@tormail.org" Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 13BC0953 for ; Sat, 30 Mar 2013 05:16:37 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id A10831B5 for ; Sat, 30 Mar 2013 05:16:36 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r2U5GZnA040391 for ; Sat, 30 Mar 2013 05:16:35 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r2U5GZcD040390; Sat, 30 Mar 2013 05:16:35 GMT (envelope-from nobody) Message-Id: <201303300516.r2U5GZcD040390@red.freebsd.org> Date: Sat, 30 Mar 2013 05:16:35 GMT From: "r4721@tormail.org" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/177493: [patch] change games/minecraft-client to use openjdk7 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Mar 2013 05:20:04 -0000 >Number: 177493 >Category: ports >Synopsis: [patch] change games/minecraft-client to use openjdk7 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Mar 30 05:20:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: r4721@tormail.org >Release: >Organization: >Environment: >Description: the java/openjdk7 port has recently had a patch committed that will enable minecraft-client to work with openjdk7 (we must use os.name=Linux but with BSD filesystem accesses). now that this is present, we can use openjdk7 for minecraft-client which brings improved performance and fixes JVM crashes that frequently occurred with minecraft under openjdk6. update port version to 1.5.1 while here. (you must be running the latest version of java/openjdk7 port (>= openjdk-7.17.02_2 for this to function correctly.) >How-To-Repeat: >Fix: Patch attached with submission follows: Index: games/minecraft-client/Makefile =================================================================== --- games/minecraft-client/Makefile (revision 315587) +++ games/minecraft-client/Makefile (working copy) @@ -2,8 +2,8 @@ # $FreeBSD$ PORTNAME= minecraft-client -PORTVERSION= 1.4.6 -PORTREVISION= 1 +PORTVERSION= 1.5.1 +PORTREVISION= 0 CATEGORIES= games java MASTER_SITES= http://s3.amazonaws.com/MinecraftDownload/launcher/:minecraft \ http://media-mcw.cursecdn.com/c/c5/:icon @@ -23,7 +23,7 @@ WRKSRC= ${WRKDIR} NO_BUILD= yes USE_JAVA= yes -JAVA_VERSION= 1.6 +JAVA_VERSION= 1.7 DESKTOP_ENTRIES="Minecraft" \ "Block building game" \ "${PREFIX}/share/pixmaps/minecraft-client.png" \ @@ -74,6 +74,7 @@ ${ECHO_CMD} "CP=\"\$${CP}:${JAVAJARDIR}/jutils/jutils.jar\"" >> ${WRKDIR}/minecraft-client ${ECHO_CMD} "JAVA_IP4=\"-Djava.net.preferIPv4Stack=true\"" >> ${WRKDIR}/minecraft-client ${ECHO_CMD} "JAVA_OPT=\"-Dos.name=Linux\"" >> ${WRKDIR}/minecraft-client + ${ECHO_CMD} "JAVA_OPT=\"\$${JAVA_OPT} -Djava.nio.file.spi.DefaultFileSystemProvider=sun.nio.fs.BsdFileSystemProvider\"" >> ${WRKDIR}/minecraft-client ${ECHO_CMD} "JAVA_OPT=\"\$${JAVA_OPT} -Xmx1024M -Xms512M\"" >> ${WRKDIR}/minecraft-client ${ECHO_CMD} "JAVA_OPT=\"\$${JAVA_OPT} \$${JAVA_IP4}\"" >> ${WRKDIR}/minecraft-client ${ECHO_CMD} "JAVA_OPT=\"\$${JAVA_OPT} -classpath \$${CP}\"" >> ${WRKDIR}/minecraft-client Index: games/minecraft-client/distinfo =================================================================== --- games/minecraft-client/distinfo (revision 315587) +++ games/minecraft-client/distinfo (working copy) @@ -1,4 +1,4 @@ -SHA256 (minecraft-client/1.4.6/minecraft.jar) = 92db974aa759a3f17f3cd61550fa5010e335c57dd813dad9e39b9cc013420a49 -SIZE (minecraft-client/1.4.6/minecraft.jar) = 81938 -SHA256 (minecraft-client/1.4.6/Grass.png) = 438c0f63e379e92af1b5b2e06cc5e3365ee272810af65ebc102304bce4fa8c4b -SIZE (minecraft-client/1.4.6/Grass.png) = 12586 +SHA256 (minecraft-client/1.5.1/minecraft.jar) = 92db974aa759a3f17f3cd61550fa5010e335c57dd813dad9e39b9cc013420a49 +SIZE (minecraft-client/1.5.1/minecraft.jar) = 81938 +SHA256 (minecraft-client/1.5.1/Grass.png) = 438c0f63e379e92af1b5b2e06cc5e3365ee272810af65ebc102304bce4fa8c4b +SIZE (minecraft-client/1.5.1/Grass.png) = 12586 >Release-Note: >Audit-Trail: >Unformatted: