diff options
author | gahr <gahr@FreeBSD.org> | 2008-04-15 18:17:35 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2008-04-15 18:17:35 +0800 |
commit | 37cd9e969a2ddf9366f738eb025336327342db84 (patch) | |
tree | c578b1d04eaba30746fef7f9c1297bcb47c7e547 /palm/synce-vdccm | |
parent | e84305828045de5fbc851ea792bd1ce7d215d3d9 (diff) | |
download | freebsd-ports-gnome-37cd9e969a2ddf9366f738eb025336327342db84.tar.gz freebsd-ports-gnome-37cd9e969a2ddf9366f738eb025336327342db84.tar.zst freebsd-ports-gnome-37cd9e969a2ddf9366f738eb025336327342db84.zip |
- Unbreak on sparc64
- Add USE_LDCONFIG variable (the port installed shared libs)
Approved by: miwi (mentor)
Diffstat (limited to 'palm/synce-vdccm')
-rw-r--r-- | palm/synce-vdccm/Makefile | 9 | ||||
-rw-r--r-- | palm/synce-vdccm/files/patch-src_rapiclient.cpp | 14 | ||||
-rw-r--r-- | palm/synce-vdccm/files/patch-src_rapiconnection.cpp | 15 | ||||
-rw-r--r-- | palm/synce-vdccm/files/patch-src_rapihandshakeclient.cpp | 14 | ||||
-rw-r--r-- | palm/synce-vdccm/files/patch-src_rapiproxyconnection.cpp | 15 | ||||
-rw-r--r-- | palm/synce-vdccm/files/patch-src_windowscedevice.cpp | 15 |
6 files changed, 75 insertions, 7 deletions
diff --git a/palm/synce-vdccm/Makefile b/palm/synce-vdccm/Makefile index b6ac241d4d38..eb46932e38ad 100644 --- a/palm/synce-vdccm/Makefile +++ b/palm/synce-vdccm/Makefile @@ -23,11 +23,6 @@ WRKSRC= ${WRKDIR}/vdccm-${PORTVERSION} CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ARGS+= --with-libiconv=${LOCALBASE} \ --with-libsynce=${LOCALBASE} +USE_LDCONFIG= yes -.include <bsd.port.pre.mk> - -.if ${ARCH} == "sparc64" -BROKEN= Does not compile -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/palm/synce-vdccm/files/patch-src_rapiclient.cpp b/palm/synce-vdccm/files/patch-src_rapiclient.cpp new file mode 100644 index 000000000000..7a24377c0e59 --- /dev/null +++ b/palm/synce-vdccm/files/patch-src_rapiclient.cpp @@ -0,0 +1,14 @@ +--- src/rapiclient.cpp.orig 2008-04-15 11:35:52.000000000 +0200 ++++ src/rapiclient.cpp 2008-04-15 11:37:50.000000000 +0200 +@@ -20,6 +20,11 @@ + #include <errno.h> + #include <synce.h> + ++#if defined(__FreeBSD__) && defined(__sparc64__) ++#include <sys/endian.h> ++#define bswap_16 bswap16 ++#define bswap_32 bswap32 ++#endif + + using namespace std; + diff --git a/palm/synce-vdccm/files/patch-src_rapiconnection.cpp b/palm/synce-vdccm/files/patch-src_rapiconnection.cpp new file mode 100644 index 000000000000..6e71e8857f03 --- /dev/null +++ b/palm/synce-vdccm/files/patch-src_rapiconnection.cpp @@ -0,0 +1,15 @@ +--- src/rapiconnection.cpp.orig 2008-04-15 11:39:02.000000000 +0200 ++++ src/rapiconnection.cpp 2008-04-15 11:39:14.000000000 +0200 +@@ -22,6 +22,12 @@ + #include "synce_log.h" + #include <multiplexer.h> + ++#if defined(__FreeBSD__) && defined(__sparc64__) ++#include <sys/endian.h> ++#define bswap_16 bswap16 ++#define bswap_32 bswap32 ++#endif ++ + using namespace std; + + RapiConnection::RapiConnection(RapiProxyFactory *proxyFactory, string path, RapiServer *rapiServer, string deviceIpAddress) : LocalServerSocket(proxyFactory, path), rapiHandshakeClient(NULL), deviceIpAddress(deviceIpAddress), rapiServer(rapiServer) diff --git a/palm/synce-vdccm/files/patch-src_rapihandshakeclient.cpp b/palm/synce-vdccm/files/patch-src_rapihandshakeclient.cpp new file mode 100644 index 000000000000..d95dace5b04a --- /dev/null +++ b/palm/synce-vdccm/files/patch-src_rapihandshakeclient.cpp @@ -0,0 +1,14 @@ +--- 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 ) diff --git a/palm/synce-vdccm/files/patch-src_rapiproxyconnection.cpp b/palm/synce-vdccm/files/patch-src_rapiproxyconnection.cpp new file mode 100644 index 000000000000..212d721fc8f6 --- /dev/null +++ b/palm/synce-vdccm/files/patch-src_rapiproxyconnection.cpp @@ -0,0 +1,15 @@ +--- src/rapiproxyconnection.cpp.orig 2008-04-15 11:39:47.000000000 +0200 ++++ src/rapiproxyconnection.cpp 2008-04-15 11:42:37.000000000 +0200 +@@ -19,6 +19,12 @@ + + #include <iostream> + ++#if defined(__FreeBSD__) && defined(__sparc64__) ++#include <sys/endian.h> ++#define bswap_16 bswap16 ++#define bswap_32 bswap32 ++#endif ++ + RapiProxyConnection::RapiProxyConnection(RapiConnection *rapiConnection, RapiProxy *rapiProxy, + RapiProvisioningClient *rapiProvisioningClient) + : rapiConnection(rapiConnection), diff --git a/palm/synce-vdccm/files/patch-src_windowscedevice.cpp b/palm/synce-vdccm/files/patch-src_windowscedevice.cpp new file mode 100644 index 000000000000..d11c8581e24b --- /dev/null +++ b/palm/synce-vdccm/files/patch-src_windowscedevice.cpp @@ -0,0 +1,15 @@ +--- src/windowscedevice.cpp.orig 2008-04-15 11:28:35.000000000 +0200 ++++ src/windowscedevice.cpp 2008-04-15 11:37:11.000000000 +0200 +@@ -29,6 +29,12 @@ + + #include <devicemanager.h> + ++#if defined(__FreeBSD__) && defined(__sparc64__) ++#include <sys/endian.h> ++#define bswap_16 bswap16 ++#define bswap_32 bswap32 ++#endif ++ + using namespace std; + + WindowsCEDevice::WindowsCEDevice(int fd, TCPServerSocket *tcpServerSocket) |