diff options
author | dholland <dholland> | 2012-09-09 19:35:20 +0000 |
---|---|---|
committer | dholland <dholland> | 2012-09-09 19:35:20 +0000 |
commit | 4f5d56fc8348c87b44decf710337b78c47b2147f (patch) | |
tree | 62bccba6959aefd2cdcfbc747cb52b37f1533bc0 /net/nocol/patches/patch-etherload_main_c | |
parent | bf4afc426465b423e843e8b284e585ddc4e84a11 (diff) | |
download | pkgsrc-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_c | 14 |
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> + |