Hi ports --
Attached is a diff to update games/choria. The game is unchanged; this
update makes it so maps are by default saved to a writable place
($HOME/.choria/maps).
Also had to update the DESCR.
Works on amd64. OK?
~Brian
Index: Makefile
===================================================================
RCS file: /cvs/ports/games/choria/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 Makefile
--- Makefile 15 Jun 2013 04:02:29 -0000 1.1.1.1
+++ Makefile 20 Jun 2013 19:47:18 -0000
@@ -2,7 +2,7 @@
BROKEN-mips64el = Bus error on startup, no core file left
-V = 0.4.0
+V = 0.4.1
COMMENT = 2D MMORPG focused on grinding
DISTNAME = choria-${V}-src
PKGNAME = choria-${V}
Index: distinfo
===================================================================
RCS file: /cvs/ports/games/choria/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 distinfo
--- distinfo 15 Jun 2013 04:02:29 -0000 1.1.1.1
+++ distinfo 20 Jun 2013 19:47:18 -0000
@@ -1,2 +1,2 @@
-SHA256 (choria-0.4.0-src.tar.gz) = /WT4hwEYK4lA3USbJCN/h3c5qKKoCyoO4P2NunOD/QE=
-SIZE (choria-0.4.0-src.tar.gz) = 562767
+SHA256 (choria-0.4.1-src.tar.gz) = bR5WjMrxZ4o76aukAAES0BwqbxMg9ylorWuhcEMHdxM=
+SIZE (choria-0.4.1-src.tar.gz) = 564637
Index: patches/patch-src_instances_map_cpp
===================================================================
RCS file: patches/patch-src_instances_map_cpp
diff -N patches/patch-src_instances_map_cpp
--- patches/patch-src_instances_map_cpp 15 Jun 2013 04:02:29 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
-$OpenBSD: patch-src_instances_map_cpp,v 1.1.1.1 2013/06/15 04:02:29 bcallah Exp $
-
-Write maps to ~/.choria instead of the default ${LOCALBASE}/share/choria/maps
-
---- src/instances/map.cpp.orig Sun May 26 16:12:32 2013
-+++ src/instances/map.cpp Sun May 26 16:14:07 2013
-@@ -236,7 +236,7 @@ int MapClass::SaveMap() {
-
- // Open file
- FileClass File;
-- int Result = File.OpenForWrite(Filename.c_str());
-+ int Result = File.OpenForWrite((stringc(getenv("HOME")) + stringc("/.choria/") + Filename).c_str());
- if(!Result) {
- printf("SaveMap: unable to open file for writing\n");
- return 0;
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/games/choria/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 DESCR
--- pkg/DESCR 15 Jun 2013 04:02:29 -0000 1.1.1.1
+++ pkg/DESCR 20 Jun 2013 19:47:23 -0000
@@ -1,4 +1,3 @@
Choria is a 2D MMORPG that's all about grinding and doing chores.
-Includes a map editor so you can create your own Choria worlds. Maps are
-saved to the ~/.choria directory.
+Includes a map editor so you can create your own Choria worlds.