aboutsummaryrefslogtreecommitdiffstats
path: root/games/powwow/files
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-12-11 22:44:31 +0800
committerpav <pav@FreeBSD.org>2005-12-11 22:44:31 +0800
commit153113266dbc3e1c3aec1e01799d8276bb1088c6 (patch)
tree820dd46e937df3ec5fbe06a7f244534e0f1e6407 /games/powwow/files
parent23071ddc4dedf57b339c2258ffe98066d04eeda4 (diff)
downloadfreebsd-ports-gnome-153113266dbc3e1c3aec1e01799d8276bb1088c6.tar.gz
freebsd-ports-gnome-153113266dbc3e1c3aec1e01799d8276bb1088c6.tar.zst
freebsd-ports-gnome-153113266dbc3e1c3aec1e01799d8276bb1088c6.zip
- Update to 1.2.5
PR: ports/90218 Submitted by: Juraj Lutter <otis@sk.freebsd.org> (maintainer)
Diffstat (limited to 'games/powwow/files')
-rw-r--r--games/powwow/files/patch-Makefile7
-rw-r--r--games/powwow/files/patch-follow.c15
-rw-r--r--games/powwow/files/patch-make_it13
3 files changed, 15 insertions, 20 deletions
diff --git a/games/powwow/files/patch-Makefile b/games/powwow/files/patch-Makefile
index ed0f0ca07713..04de5c33bdab 100644
--- a/games/powwow/files/patch-Makefile
+++ b/games/powwow/files/patch-Makefile
@@ -1,12 +1,11 @@
---- Makefile.orig Sat Dec 5 00:17:38 1998
-+++ Makefile Wed Feb 13 15:56:45 2002
-@@ -61,8 +61,7 @@
+--- Makefile.orig Sat Dec 10 23:29:52 2005
++++ Makefile Sat Dec 10 23:29:57 2005
+@@ -61,8 +61,6 @@
@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
index ec52f03b699b..bd0b0d56cbc3 100644
--- a/games/powwow/files/patch-follow.c
+++ b/games/powwow/files/patch-follow.c
@@ -1,6 +1,6 @@
---- follow.c.orig Wed Feb 13 15:59:06 2002
-+++ follow.c Wed Feb 13 15:59:46 2002
-@@ -96,7 +96,7 @@
+--- follow.c.orig 2002-02-19 19:42:34.000000000 +0000
++++ follow.c
+@@ -96,7 +96,7 @@ void set_terminal()
ioctl(0, TIOCGLTC, &ltcsave);
ttyb = ttybsave;
ttyb.sg_flags = (ttyb.sg_flags|O_CBREAK) & ~O_ECHO;
@@ -9,12 +9,3 @@
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
index d936b7fb5395..4beed1bb3c9c 100644
--- a/games/powwow/files/patch-make_it
+++ b/games/powwow/files/patch-make_it
@@ -1,11 +1,11 @@
---- make_it.orig Thu Jan 13 22:50:01 2000
-+++ make_it Wed Feb 13 16:21:44 2002
-@@ -50,7 +50,14 @@
+--- make_it.orig 2002-06-01 10:33:35.000000000 +0000
++++ make_it
+@@ -52,11 +52,18 @@ case $OS in
CC='gcc'
CF='-O2 -fomit-frame-pointer -DUSE_RANDOM -DUSE_VT100 -DLINES=25'
LF='';;
-
-+ NetBSD|FreeBSD|Darwin)
++ NetBSD|Darwin)
+ echo "Making Powwow for $OS"
+ CC='gcc'
+ CF='-O2 -pipe -DUSE_SGTTY -DBSD_LIKE -DUSE_RANDOM -DUSE_REGEXP'
@@ -16,3 +16,8 @@
*)
echo 'UNSUPPORTED OS!!! Trying with defaults.';;
esac
+-echo "make" $* "CC='$CC' CDEFS='$CF' LDFLAGS='$LF' "
++echo "make" $* "CC='$CC' CDEFS='$CF $CFLAGS' LDFLAGS='$LF' "
+
+-make $* CC="${CC}" CDEFS="${CF}" LDFLAGS="${LF}"
++make $* CC="${CC}" CDEFS="${CF} ${CFLAGS}" LDFLAGS="${LF}"