summaryrefslogtreecommitdiff
path: root/net/nocol/patches/patch-etherload_main_c
diff options
context:
space:
mode:
authordholland <dholland>2012-09-09 19:35:20 +0000
committerdholland <dholland>2012-09-09 19:35:20 +0000
commit4f5d56fc8348c87b44decf710337b78c47b2147f (patch)
tree62bccba6959aefd2cdcfbc747cb52b37f1533bc0 /net/nocol/patches/patch-etherload_main_c
parentbf4afc426465b423e843e8b284e585ddc4e84a11 (diff)
downloadpkgsrc-4f5d56fc8348c87b44decf710337b78c47b2147f.tar.gz
Fix 64-bit problems as detected by gcc. One must declare functions
returning pointers before calling them.
Diffstat (limited to 'net/nocol/patches/patch-etherload_main_c')
-rw-r--r--net/nocol/patches/patch-etherload_main_c14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/nocol/patches/patch-etherload_main_c b/net/nocol/patches/patch-etherload_main_c
new file mode 100644
index 00000000000..749487ae525
--- /dev/null
+++ b/net/nocol/patches/patch-etherload_main_c
@@ -0,0 +1,14 @@
+$NetBSD: patch-etherload_main_c,v 1.1 2012/09/09 19:35:20 dholland Exp $
+
+Use standard headers.
+
+--- etherload/main.c~ 1997-08-22 05:58:22.000000000 +0000
++++ etherload/main.c
+@@ -65,6 +65,7 @@ static char *RCSid = "$Id: main.c,v 1.5
+ #include <signal.h>
+ #include <errno.h>
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <unistd.h>
+