aboutsummaryrefslogtreecommitdiffstats
path: root/net
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
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')
-rw-r--r--net/beacon/Makefile1
-rw-r--r--net/beacon/files/patch-Net-RTP-0.4::inet_ntop.h14
2 files changed, 15 insertions, 0 deletions
diff --git a/net/beacon/Makefile b/net/beacon/Makefile
index 53c167fd224..ed7f0ede707 100644
--- a/net/beacon/Makefile
+++ b/net/beacon/Makefile
@@ -7,6 +7,7 @@
PORTNAME= beacon
PORTVERSION= 0.9.06
+PORTREVISION= 1
CATEGORIES= net perl5 mbone ipv6
MASTER_SITES= http://dast.nlanr.net/Projects/Beacon/Releases/
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)
+ }
8bb499a504d30974e16a1c'>Contain '\r' with FTP commands.nork2003-04-122-0/+12 * De-pkg-comment.knu2003-02-212-1/+1