summaryrefslogtreecommitdiff
path: root/games/abuse/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'games/abuse/patches/patch-ae')
-rw-r--r--games/abuse/patches/patch-ae28
1 files changed, 15 insertions, 13 deletions
diff --git a/games/abuse/patches/patch-ae b/games/abuse/patches/patch-ae
index 94b26af9748..7fe11695cc1 100644
--- a/games/abuse/patches/patch-ae
+++ b/games/abuse/patches/patch-ae
@@ -1,15 +1,17 @@
-$NetBSD: patch-ae,v 1.1 2001/03/22 10:45:56 wiz Exp $
+$NetBSD: patch-ae,v 1.2 2001/07/02 15:30:59 abs Exp $
---- abuse/inc/bus_type.hpp.orig Wed Jan 24 07:10:12 1996
-+++ abuse/inc/bus_type.hpp
-@@ -1,6 +1,10 @@
- #ifndef BUS_TYPE_HPP
- #define BUS_TYPE_HPP
+--- abuse/src/net/mac/tcpip.c.orig Mon Jul 2 14:51:02 2001
++++ abuse/src/net/mac/tcpip.c
+@@ -118,8 +118,11 @@
+ }
+ else
+ {
++ char *ptr;
+ printf("Enter ip address:");
+- gets(my_name);
++ fgets(my_name, 100, stdin);
++ if (ptr = strchr(my_name, '\n'))
++ *ptr = 0;
+ }
+ }
-+#ifdef __arm__
-+#define WORD_ALLIGN 1
-+#endif
-+
- #ifdef __sgi
- #define WORD_ALLIGN 1
- #endif