diff options
author | pav <pav@FreeBSD.org> | 2005-01-26 08:13:43 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-01-26 08:13:43 +0800 |
commit | 3a2b74db9a3f4d8a70beb435c986c5975459532b (patch) | |
tree | 5dfcf43fb78122b11c2aaf76c259c5b91dd973da /net/boinc-client | |
parent | 3285db6c51d4e862eed00b3662d8eb5aad020243 (diff) | |
download | freebsd-ports-gnome-3a2b74db9a3f4d8a70beb435c986c5975459532b.tar.gz freebsd-ports-gnome-3a2b74db9a3f4d8a70beb435c986c5975459532b.tar.zst freebsd-ports-gnome-3a2b74db9a3f4d8a70beb435c986c5975459532b.zip |
- Fix build on alpha/4.x
PR: ports/76528
Submitted by: J.R. Oldroyd <fbsd@opal.com> (maintainer)
Diffstat (limited to 'net/boinc-client')
-rw-r--r-- | net/boinc-client/Makefile | 8 | ||||
-rw-r--r-- | net/boinc-client/files/extra-patch-client::gui_rpc_server.C | 11 | ||||
-rw-r--r-- | net/boinc-client/files/extra-patch-client::net_xfer.C | 11 |
3 files changed, 26 insertions, 4 deletions
diff --git a/net/boinc-client/Makefile b/net/boinc-client/Makefile index ae64231f8751..6c6f21c6e755 100644 --- a/net/boinc-client/Makefile +++ b/net/boinc-client/Makefile @@ -35,15 +35,15 @@ BOINC_DATADIR= ${PREFIX}/boinc .include <bsd.port.pre.mk> -.if ${ARCH} == "alpha" -BROKEN= "Does not compile on alpha" -.endif - .if ${OSVERSION} < 500000 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-api::boinc_api.C .endif post-patch: +.if ${OSVERSION} < 500000 + ${PATCH} -d ${WRKSRC} <${FILESDIR}/extra-patch-client::gui_rpc_server.C + ${PATCH} -d ${WRKSRC} <${FILESDIR}/extra-patch-client::net_xfer.C +.endif ${CHMOD} +x ${WRKDIR}/boinc_public/configure do-build: diff --git a/net/boinc-client/files/extra-patch-client::gui_rpc_server.C b/net/boinc-client/files/extra-patch-client::gui_rpc_server.C new file mode 100644 index 000000000000..056b9b8d185c --- /dev/null +++ b/net/boinc-client/files/extra-patch-client::gui_rpc_server.C @@ -0,0 +1,11 @@ +--- client/gui_rpc_server.C.orig Tue Dec 21 13:25:39 2004 ++++ client/gui_rpc_server.C Tue Dec 21 13:27:04 2004 +@@ -49,7 +49,7 @@ + typedef int socklen_t; + #elif defined(__APPLE__) + typedef int32_t socklen_t; +-#elif !defined(GETSOCKOPT_SOCKLEN_T) && !defined(_SOCKLEN_T_DECLARED) && !defined(socklen_t) ++#elif !defined(__FreeBSD__) + typedef size_t socklen_t; + #endif + diff --git a/net/boinc-client/files/extra-patch-client::net_xfer.C b/net/boinc-client/files/extra-patch-client::net_xfer.C new file mode 100644 index 000000000000..17a0d272c49a --- /dev/null +++ b/net/boinc-client/files/extra-patch-client::net_xfer.C @@ -0,0 +1,11 @@ +--- client/net_xfer.C.orig Tue Dec 21 13:25:39 2004 ++++ client/net_xfer.C Tue Dec 21 13:28:15 2004 +@@ -80,7 +80,7 @@ + typedef int socklen_t; + #elif defined(__APPLE__) + typedef int32_t socklen_t; +-#elif !defined(GETSOCKOPT_SOCKLEN_T) && !defined(_SOCKLEN_T_DECLARED) && !defined(socklen_t) ++#elif !defined(__FreeBSD__) + typedef size_t socklen_t; + #endif + |