openbsd-ports/games/micropolis/patches/patch-Micropolis
deanna b64ae28bc4 - Build from a recent snapshot of the repository at git.zerfleddert.de
instead of the tarball from laptop.org.  Lets us get rid of many
  patches.

- Enable shared memory (run without -w) since kurt@'s patch has fixed
  it.

This gives us many bugfixes and goodies such as a fix for the numlock
freeze bug and re-enabling the air crash disaster.  Full changelog at

http://git.zerfleddert.de/cgi-bin/gitweb.cgi/micropolis
2008-01-27 16:34:32 +00:00

16 lines
434 B
Plaintext

$OpenBSD: patch-Micropolis,v 1.2 2008/01/27 16:34:32 deanna Exp $
--- Micropolis.orig Fri Nov 30 21:49:55 2007
+++ Micropolis Tue Jan 15 20:41:37 2008
@@ -1,7 +1,8 @@
-#!/bin/bash
-export SIMHOME=`pwd`
+#!/bin/sh
+export SIMHOME=%%PREFIX%%/share/micropolis
echo "Starting Micropolis in $SIMHOME ... "
-res/sim $*
+cd $SIMHOME
+%%PREFIX%%/libexec/sim $@
#
# Micropolis, Unix Version. This game was released for the Unix platform