summaryrefslogtreecommitdiff
path: root/net/wackamole/files/patch-configuration.c
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2011-05-12 07:38:34 +0000
committerFrederic Culot <culot@FreeBSD.org>2011-05-12 07:38:34 +0000
commit6d02f1e2398ca3f67bde0c32e7430d814cc336c1 (patch)
treea0f9892095e47a9830c0adec5bbb578ae05efc22 /net/wackamole/files/patch-configuration.c
parent- Update to 2.5.4 (diff)
- Fix compilation errors with libpcap installed from ports and warnings
with clang PR: ports/156968 Submitted by: Marcin Cieslak <saper@saper.info> (maintainer)
Diffstat (limited to 'net/wackamole/files/patch-configuration.c')
-rw-r--r--net/wackamole/files/patch-configuration.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/wackamole/files/patch-configuration.c b/net/wackamole/files/patch-configuration.c
new file mode 100644
index 000000000000..0d12d3ef1ee8
--- /dev/null
+++ b/net/wackamole/files/patch-configuration.c
@@ -0,0 +1,11 @@
+--- configuration.c.orig 2011-05-12 02:55:52.000000000 +0200
++++ configuration.c 2011-05-12 02:56:03.000000000 +0200
+@@ -43,7 +43,7 @@
+ char my_local_host_name[255];
+ static const size_t my_local_host_name_len=255;
+ struct hostent *hent;
+- int i, full;
++ int full;
+ Num_prefer = 0;
+
+ if (File_name && File_name[0] && (NULL != (fp = fopen(File_name,"r"))) )