diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2008-04-15 10:17:35 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2008-04-15 10:17:35 +0000 |
commit | 2821dcf672bb577d7a7669ce5a43d6b00a3b0473 (patch) | |
tree | 7d816a3175f4838411c10775314f0becee74636a /palm | |
parent | - Change master_sites (diff) |
- Unbreak on sparc64
- Add USE_LDCONFIG variable (the port installed shared libs)
Approved by: miwi (mentor)
Diffstat (limited to 'palm')
-rw-r--r-- | palm/synce-dccm/Makefile | 9 | ||||
-rw-r--r-- | palm/synce-dccm/files/patch-src_rapiclient.cpp | 14 | ||||
-rw-r--r-- | palm/synce-dccm/files/patch-src_rapiconnection.cpp | 15 | ||||
-rw-r--r-- | palm/synce-dccm/files/patch-src_rapihandshakeclient.cpp | 14 | ||||
-rw-r--r-- | palm/synce-dccm/files/patch-src_rapiproxyconnection.cpp | 15 | ||||
-rw-r--r-- | palm/synce-dccm/files/patch-src_windowscedevice.cpp | 15 | ||||
-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 |
12 files changed, 150 insertions, 14 deletions
diff --git a/palm/synce-dccm/Makefile b/palm/synce-dccm/Makefile index b6ac241d4d38..eb46932e38ad 100644 --- a/palm/synce-dccm/Makefile +++ b/palm/synce-dccm/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-dccm/files/patch-src_rapiclient.cpp b/palm/synce-dccm/files/patch-src_rapiclient.cpp new file mode 100644 index 000000000000..7a24377c0e59 --- /dev/null +++ b/palm/synce-dccm/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-dccm/files/patch-src_rapiconnection.cpp b/palm/synce-dccm/files/patch-src_rapiconnection.cpp new file mode 100644 index 000000000000..6e71e8857f03 --- /dev/null +++ b/palm/synce-dccm/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-dccm/files/patch-src_rapihandshakeclient.cpp b/palm/synce-dccm/files/patch-src_rapihandshakeclient.cpp new file mode 100644 index 000000000000..d95dace5b04a --- /dev/null +++ b/palm/synce-dccm/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-dccm/files/patch-src_rapiproxyconnection.cpp b/palm/synce-dccm/files/patch-src_rapiproxyconnection.cpp new file mode 100644 index 000000000000..212d721fc8f6 --- /dev/null +++ b/palm/synce-dccm/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-dccm/files/patch-src_windowscedevice.cpp b/palm/synce-dccm/files/patch-src_windowscedevice.cpp new file mode 100644 index 000000000000..d11c8581e24b --- /dev/null +++ b/palm/synce-dccm/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) 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) |