From owner-svn-ports-all@freebsd.org Mon Jul 4 13:30:39 2016 Return-Path: Delivered-To: svn-ports-all@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 63106B91F63; Mon, 4 Jul 2016 13:30:39 +0000 (UTC) (envelope-from mat@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 2D64F25DC; Mon, 4 Jul 2016 13:30:39 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u64DUcLx005955; Mon, 4 Jul 2016 13:30:38 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u64DUcCP005953; Mon, 4 Jul 2016 13:30:38 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201607041330.u64DUcCP005953@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Mon, 4 Jul 2016 13:30:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r418024 - in head/games/xshisen: . 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-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2016 13:30:39 -0000 Author: mat Date: Mon Jul 4 13:30:38 2016 New Revision: 418024 URL: https://svnweb.freebsd.org/changeset/ports/418024 Log: Fix runtime error. PR: 210793 Submitted by: tkato432 yahoo com Sponsored by: Absolight Added: head/games/xshisen/files/patch-body.C (contents, props changed) Modified: head/games/xshisen/Makefile (contents, props changed) Modified: head/games/xshisen/Makefile ============================================================================== --- head/games/xshisen/Makefile Mon Jul 4 13:25:47 2016 (r418023) +++ head/games/xshisen/Makefile Mon Jul 4 13:30:38 2016 (r418024) @@ -10,19 +10,19 @@ MASTER_SITES= LOCAL/hrs MAINTAINER= TsurutaniNaoki@gmail.com COMMENT= Shisen-sho puzzle game for X11 -BROKEN= fails to start -DEPRECATED= Broken for more than 6 months -EXPIRATION_DATE= 2016-07-04 +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE USE_XORG= xpm GNU_CONFIGURE= yes CONFIGURE_ARGS= --sharedstatedir="${DATADIR}" INSTALL_TARGET= install-prog -.if !defined(WITHOUT_MOTIF) -USES= motif -CONFIGURE_ARGS+= --with-motif -.endif +OPTIONS_DEFINE= MOTIF +OPTIONS_DEFAULT= MOTIF + +MOTIF_USES= motif +MOTIF_CONFIGURE_WITH= motif post-patch: @${REINPLACE_CMD} -e \ Added: head/games/xshisen/files/patch-body.C ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/xshisen/files/patch-body.C Mon Jul 4 13:30:38 2016 (r418024) @@ -0,0 +1,11 @@ +--- body.C.orig 2002-07-07 07:22:35 UTC ++++ body.C +@@ -227,7 +227,7 @@ Body::refreshhint(void) + p = new Point[max_c][2]; + t = new Point[xsize*ysize/PKIND]; + +- if (hintNum == 0) ++ if (hintNum != 0) + delete[] hintArray; + for(int i=0; iGetPosArray(t, num);