Fix build with -fno-common
While here add dependencies reported as missing by stage-qa.
This commit is contained in:
parent
96c2873877
commit
4672d1602c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=550865
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= icmpchat
|
||||
PORTVERSION= 0.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net-im
|
||||
MASTER_SITES= SF
|
||||
|
||||
|
11
net-im/icmpchat/files/patch-sendicmp.c
Normal file
11
net-im/icmpchat/files/patch-sendicmp.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- sendicmp.c.orig 2003-04-08 10:58:56 UTC
|
||||
+++ sendicmp.c
|
||||
@@ -3,6 +3,8 @@
|
||||
#include "config.h"
|
||||
#include "sendicmp.h"
|
||||
|
||||
+struct sockaddr_in saddr;
|
||||
+
|
||||
int
|
||||
sendpacket(int rawsock,
|
||||
const unsigned char *text,
|
10
net-im/icmpchat/files/patch-sendicmp.h
Normal file
10
net-im/icmpchat/files/patch-sendicmp.h
Normal file
@ -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 */
|
Loading…
Reference in New Issue
Block a user