aboutsummaryrefslogtreecommitdiffstats
path: root/net/balance/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'net/balance/files/patch-aa')
-rw-r--r--net/balance/files/patch-aa35
1 files changed, 35 insertions, 0 deletions
diff --git a/net/balance/files/patch-aa b/net/balance/files/patch-aa
new file mode 100644
index 000000000000..bff83c0db933
--- /dev/null
+++ b/net/balance/files/patch-aa
@@ -0,0 +1,35 @@
+--- Makefile.orig Fri Dec 29 12:20:10 2000
++++ Makefile Fri Dec 29 12:20:39 2000
+@@ -1,11 +1,11 @@
+ # $Id: Makefile,v 1.6 2000/07/23 10:03:11 tommy Exp $
+
+-CFLAGS=-g -I.
++# CFLAGS=-g -I.
+
+ # uncomment for Solaris:
+ # LIBRARIES=-lsocket -lnsl
+
+-CC=gcc
++# CC=gcc
+
+ balance: balance.c
+ $(CC) $(CFLAGS) -o balance balance.c $(LIBRARIES)
+--- balance.c.orig Fri Dec 29 12:14:00 2000
++++ balance.c Fri Dec 29 12:14:21 2000
+@@ -19,6 +19,7 @@
+ // 'channel 2 overload' problem fixed, thanks to Ed "KuroiNeko"
+ //
+
++#include <sys/types.h>
+ #include <stdio.h>
+ #include <strings.h>
+ #include <ctype.h>
+@@ -27,7 +28,7 @@
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+ #include <signal.h>
+-#include <malloc.h>
++#include <stdlib.h>
+
+ #ifdef __FreeBSD__
+ #define MYBSD 1