aboutsummaryrefslogtreecommitdiffstats
path: root/games/powwow/files
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-11-16 05:48:51 +0800
committerpav <pav@FreeBSD.org>2004-11-16 05:48:51 +0800
commita5785e006e3a34ac55c178e7e63e5681e0d014f9 (patch)
tree533d69a8e36e2d78d1d732b5c2c82555541a7820 /games/powwow/files
parent9cf5900d15a4424a323399bfd47ed3c21c9d8bff (diff)
downloadfreebsd-ports-gnome-a5785e006e3a34ac55c178e7e63e5681e0d014f9.tar.gz
freebsd-ports-gnome-a5785e006e3a34ac55c178e7e63e5681e0d014f9.tar.zst
freebsd-ports-gnome-a5785e006e3a34ac55c178e7e63e5681e0d014f9.zip
Add powwow, another MUD client.
Submitted by: Juraj Lutter <otis@wilbury.sk>
Diffstat (limited to 'games/powwow/files')
-rw-r--r--games/powwow/files/patch-Makefile12
-rw-r--r--games/powwow/files/patch-follow.c20
-rw-r--r--games/powwow/files/patch-make_it18
3 files changed, 50 insertions, 0 deletions
diff --git a/games/powwow/files/patch-Makefile b/games/powwow/files/patch-Makefile
new file mode 100644
index 000000000000..ed0f0ca07713
--- /dev/null
+++ b/games/powwow/files/patch-Makefile
@@ -0,0 +1,12 @@
+--- Makefile.orig Sat Dec 5 00:17:38 1998
++++ Makefile Wed Feb 13 15:56:45 2002
+@@ -61,8 +61,7 @@
+ @echo "WARNING: if you are coming from a 1.0.x version,"
+ @echo "re-read Changelog and powwow.doc as many things have changed."
+ @echo "In particular, syntax and effects of #prompt and #isprompt changed in 1.1.7"
+- @echo "Press ENTER to continue..."
+- @read dummy
++ @echo
+
+ strip: $(NAME)
+ strip $(NAME)
diff --git a/games/powwow/files/patch-follow.c b/games/powwow/files/patch-follow.c
new file mode 100644
index 000000000000..ec52f03b699b
--- /dev/null
+++ b/games/powwow/files/patch-follow.c
@@ -0,0 +1,20 @@
+--- follow.c.orig Wed Feb 13 15:59:06 2002
++++ follow.c Wed Feb 13 15:59:46 2002
+@@ -96,7 +96,7 @@
+ ioctl(0, TIOCGLTC, &ltcsave);
+ ttyb = ttybsave;
+ ttyb.sg_flags = (ttyb.sg_flags|O_CBREAK) & ~O_ECHO;
+- ioctl(tty_read_fd, TIOCSETP, &ttyb);
++ ioctl(0, TIOCSETP, &ttyb);
+ ltc = ltcsave;
+ ltc.t_suspc = -1;
+ ioctl(0, TIOCSLTC, &ltc);
+@@ -127,7 +127,7 @@
+ #endif /* USE_SGTTY */
+ }
+
+-void main(int argc, char *argv[]) {
++int main(int argc, char *argv[]) {
+ FILE *f;
+ char c = 0, buf[512];
+ int d;
diff --git a/games/powwow/files/patch-make_it b/games/powwow/files/patch-make_it
new file mode 100644
index 000000000000..d936b7fb5395
--- /dev/null
+++ b/games/powwow/files/patch-make_it
@@ -0,0 +1,18 @@
+--- make_it.orig Thu Jan 13 22:50:01 2000
++++ make_it Wed Feb 13 16:21:44 2002
+@@ -50,7 +50,14 @@
+ CC='gcc'
+ CF='-O2 -fomit-frame-pointer -DUSE_RANDOM -DUSE_VT100 -DLINES=25'
+ LF='';;
+-
++ NetBSD|FreeBSD|Darwin)
++ echo "Making Powwow for $OS"
++ CC='gcc'
++ CF='-O2 -pipe -DUSE_SGTTY -DBSD_LIKE -DUSE_RANDOM -DUSE_REGEXP'
++ if [ ! -z "$POWWOW_DIR" ]; then
++ CF="$CF -DPOWWOW_DIR=\\\"$POWWOW_DIR\\\""
++ fi
++ ;;
+ *)
+ echo 'UNSUPPORTED OS!!! Trying with defaults.';;
+ esac