freebsd-ports/palm/synce-vdccm/files/patch-src_rapihandshakeclient.cpp
Pietro Cerutti 2821dcf672 - Unbreak on sparc64
- Add USE_LDCONFIG variable (the port installed shared libs)

Approved by:	miwi (mentor)
2008-04-15 10:17:35 +00:00

14 lines
478 B
C++

--- src/rapihandshakeclient.cpp.orig 2008-04-15 11:38:15.000000000 +0200
+++ src/rapihandshakeclient.cpp 2008-04-15 11:38:23.000000000 +0200
@@ -17,6 +17,11 @@
#include <udpsocket.h>
#include <synce_log.h>
+#if defined(__FreeBSD__) && defined(__sparc64__)
+#include <sys/endian.h>
+#define bswap_16 bswap16
+#define bswap_32 bswap32
+#endif
RapiHandshakeClient::RapiHandshakeClient( int fd, TCPServerSocket *tcpServerSocket )
: RapiClient( fd, tcpServerSocket )