summaryrefslogtreecommitdiff
path: root/net-im/icmpchat/files/patch-sendicmp.h
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-10-01 18:57:41 +0000
committerStefan Eßer <se@FreeBSD.org>2020-10-01 18:57:41 +0000
commit4672d1602c046754593b889dd845c09d59773222 (patch)
tree6a21afb826c17a10abfe7c5026097d6c8195d41a /net-im/icmpchat/files/patch-sendicmp.h
parentFix build with -fno-common (diff)
Fix build with -fno-common
While here add dependencies reported as missing by stage-qa.
Notes
Notes: svn path=/head/; revision=550865
Diffstat (limited to 'net-im/icmpchat/files/patch-sendicmp.h')
-rw-r--r--net-im/icmpchat/files/patch-sendicmp.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/net-im/icmpchat/files/patch-sendicmp.h b/net-im/icmpchat/files/patch-sendicmp.h
new file mode 100644
index 000000000000..ff8d06c32ec8
--- /dev/null
+++ b/net-im/icmpchat/files/patch-sendicmp.h
@@ -0,0 +1,10 @@
+--- sendicmp.h.orig 2003-04-06 16:21:11 UTC
++++ sendicmp.h
+@@ -16,6 +16,6 @@
+
+ int sendpacket(int, const unsigned char *, const char *, int, int);
+ int in_cksum(u_short *, int);
+-struct sockaddr_in saddr;
++extern struct sockaddr_in saddr;
+
+ #endif /* SENDICMP_H */