svn commit: r418024 - in head/games/xshisen: . files
Mathieu Arnold
mat at FreeBSD.org
Mon Jul 4 13:30:39 UTC 2016
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 at 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; i<PKIND; i++) {
+ piepos[i]->GetPosArray(t, num);
More information about the svn-ports-all
mailing list