mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Fix build on AMD64
This commit is contained in:
parent
b09a1ecaa4
commit
e0c4826c5c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105600
@ -19,10 +19,4 @@ USE_GNOME= gnomehack
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} != "i386"
|
||||
BROKEN= "Does not compile"
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
11
devel/libassa/files/patch-assa-IPv4Socket.cpp
Normal file
11
devel/libassa/files/patch-assa-IPv4Socket.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
--- assa/IPv4Socket.cpp.orig Mon Mar 29 12:01:10 2004
|
||||
+++ assa/IPv4Socket.cpp Mon Mar 29 12:02:18 2004
|
||||
@@ -151,7 +151,7 @@
|
||||
are not guaranteed to be aligned correctly!!!
|
||||
*/
|
||||
trace_with_mask("IPv4Socket::accept",SOCKTRACE);
|
||||
- size_t length = 0;
|
||||
+ socklen_t length = 0;
|
||||
int new_fd = -1;
|
||||
SA* remote_address;
|
||||
|
11
devel/libassa/files/patch-assa-UnConUDPSocket.cpp
Normal file
11
devel/libassa/files/patch-assa-UnConUDPSocket.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
--- assa/UnConUDPSocket.cpp.orig Mon Mar 29 12:11:09 2004
|
||||
+++ assa/UnConUDPSocket.cpp Mon Mar 29 12:11:45 2004
|
||||
@@ -34,7 +34,7 @@
|
||||
// recvfrom() returns zeroed out address structure!!!
|
||||
|
||||
int len;
|
||||
- size_t pa_len = peer_addr_->getLength();
|
||||
+ socklen_t pa_len = peer_addr_->getLength();
|
||||
SA* pa = peer_addr_->getAddress();
|
||||
|
||||
len = ::recvfrom(getHandler(), buf_, size_, 0, pa,
|
@ -1,5 +1,5 @@
|
||||
--- assa/Socket.cpp.orig Wed Dec 24 17:28:22 2003
|
||||
+++ assa/Socket.cpp Wed Dec 24 17:28:36 2003
|
||||
--- assa/Socket.cpp.orig Fri Jul 25 08:51:00 2003
|
||||
+++ assa/Socket.cpp Mon Mar 29 12:05:59 2004
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
#include <sstream>
|
||||
@ -8,3 +8,12 @@
|
||||
|
||||
#include "assa/Socket.h"
|
||||
|
||||
@@ -190,7 +191,7 @@
|
||||
int level = SOL_SOCKET;
|
||||
bool bin = false;
|
||||
|
||||
- size_t len = sizeof (optval);
|
||||
+ socklen_t len = sizeof (optval);
|
||||
int ret;
|
||||
|
||||
if (rcvlowat == opt_) optname = SO_RCVLOWAT;
|
||||
|
Loading…
Reference in New Issue
Block a user