From owner-svn-ports-head@freebsd.org Thu May 12 14:54:21 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0EBD9B37AAD; Thu, 12 May 2016 14:54:21 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CFC7F1FFA; Thu, 12 May 2016 14:54:20 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4CEsJiV042042; Thu, 12 May 2016 14:54:19 GMT (envelope-from adamw@FreeBSD.org) Received: (from adamw@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4CEsJ0Y042040; Thu, 12 May 2016 14:54:19 GMT (envelope-from adamw@FreeBSD.org) Message-Id: <201605121454.u4CEsJ0Y042040@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adamw set sender to adamw@FreeBSD.org using -f From: Adam Weinberger Date: Thu, 12 May 2016 14:54:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415066 - in head/games/bsdgames: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 May 2016 14:54:21 -0000 Author: adamw Date: Thu May 12 14:54:19 2016 New Revision: 415066 URL: https://svnweb.freebsd.org/changeset/ports/415066 Log: Fix potion mixing. From PR: This routine is swapping the potion colors and because only 2/3 of the color swap code is there, many of the potions end up with the same color. PORTREVISION bump. PR: 209310 Submitted by: sjrbulk at verizon dot net Added: head/games/bsdgames/files/patch-rogue_inventory.c (contents, props changed) Modified: head/games/bsdgames/Makefile Modified: head/games/bsdgames/Makefile ============================================================================== --- head/games/bsdgames/Makefile Thu May 12 14:07:23 2016 (r415065) +++ head/games/bsdgames/Makefile Thu May 12 14:54:19 2016 (r415066) @@ -3,6 +3,7 @@ PORTNAME= bsdgames PORTVERSION= 4.4.2 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= games MASTER_SITES= LOCAL/adamw Added: head/games/bsdgames/files/patch-rogue_inventory.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/bsdgames/files/patch-rogue_inventory.c Thu May 12 14:54:19 2016 (r415066) @@ -0,0 +1,10 @@ +--- rogue/inventory.c.orig 2016-05-12 14:49:52 UTC ++++ rogue/inventory.c +@@ -417,6 +417,7 @@ mix_colors(void) + k = get_rand(0, (POTIONS - 1)); + memcpy(t, id_potions[j].title, MAX_ID_TITLE_LEN); + memcpy(id_potions[j].title, id_potions[k].title, MAX_ID_TITLE_LEN); ++ memcpy(id_potions[k].title, t, MAX_ID_TITLE_LEN); + } + } +