diff options
author | Stefan Eßer <se@FreeBSD.org> | 2020-10-02 02:57:41 +0800 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2020-10-02 02:57:41 +0800 |
commit | 4672d1602c046754593b889dd845c09d59773222 (patch) | |
tree | 6a21afb826c17a10abfe7c5026097d6c8195d41a /net-im | |
parent | 96c28738775b02ef197c348c609a61b7d73ec70b (diff) | |
download | freebsd-ports-gnome-4672d1602c046754593b889dd845c09d59773222.tar.gz freebsd-ports-gnome-4672d1602c046754593b889dd845c09d59773222.tar.zst freebsd-ports-gnome-4672d1602c046754593b889dd845c09d59773222.zip |
Fix build with -fno-common
While here add dependencies reported as missing by stage-qa.
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/icmpchat/Makefile | 1 | ||||
-rw-r--r-- | net-im/icmpchat/files/patch-sendicmp.c | 11 | ||||
-rw-r--r-- | net-im/icmpchat/files/patch-sendicmp.h | 10 |
3 files changed, 22 insertions, 0 deletions
diff --git a/net-im/icmpchat/Makefile b/net-im/icmpchat/Makefile index ccffa32d81f4..ef50fd477dbd 100644 --- a/net-im/icmpchat/Makefile +++ b/net-im/icmpchat/Makefile @@ -3,6 +3,7 @@ PORTNAME= icmpchat PORTVERSION= 0.6 +PORTREVISION= 1 CATEGORIES= net-im MASTER_SITES= SF diff --git a/net-im/icmpchat/files/patch-sendicmp.c b/net-im/icmpchat/files/patch-sendicmp.c new file mode 100644 index 000000000000..016d3a38e189 --- /dev/null +++ b/net-im/icmpchat/files/patch-sendicmp.c @@ -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, 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 */ |