aboutsummaryrefslogtreecommitdiffstats
path: root/net/beacon/files
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-03-02 21:11:43 +0800
committerkrion <krion@FreeBSD.org>2004-03-02 21:11:43 +0800
commitf02b85259dae7bc90f571ead499219e4a700aa7c (patch)
treef8a24b57dbbda96e9e3634a3ae23b6c0698385ee /net/beacon/files
parent09c0b1a01309e9f01ae429ee2f904bc0255d236d (diff)
downloadfreebsd-ports-graphics-f02b85259dae7bc90f571ead499219e4a700aa7c.tar.gz
freebsd-ports-graphics-f02b85259dae7bc90f571ead499219e4a700aa7c.tar.zst
freebsd-ports-graphics-f02b85259dae7bc90f571ead499219e4a700aa7c.zip
- Fix build on alpha, AMD64 and sparc64
Reported by: bento via kris
Diffstat (limited to 'net/beacon/files')
-rw-r--r--net/beacon/files/patch-Net-RTP-0.4::inet_ntop.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/beacon/files/patch-Net-RTP-0.4::inet_ntop.h b/net/beacon/files/patch-Net-RTP-0.4::inet_ntop.h
new file mode 100644
index 00000000000..e9ca6f5f9cc
--- /dev/null
+++ b/net/beacon/files/patch-Net-RTP-0.4::inet_ntop.h
@@ -0,0 +1,14 @@
+--- Net-RTP-0.4/inet_ntop.h.orig Tue Mar 2 14:00:58 2004
++++ Net-RTP-0.4/inet_ntop.h Tue Mar 2 14:02:27 2004
+@@ -3,7 +3,11 @@
+ extern "C" {
+ #endif
+
++#ifdef __sparc64__ || __amd64__ || __alpha__
++const char *inet_ntop(int af, const void *src, char *dst, socklen_t size);
++#else
+ const char *inet_ntop(int af, const void *src, char *dst, size_t size);
++#endif
+
+ #if defined(__cplusplus)
+ }