aboutsummaryrefslogtreecommitdiff
path: root/net/boinc-client
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-01-26 00:13:43 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-01-26 00:13:43 +0000
commitccd4d346232dadbd914d2adef35da2466b403f08 (patch)
tree8c2ce6574c9124451ca9e02ca6e2c6500c0baa6f /net/boinc-client
parenta7f56345112d5666e5a236c54af31edcac9c1aa0 (diff)
downloadports-ccd4d346232dadbd914d2adef35da2466b403f08.tar.gz
ports-ccd4d346232dadbd914d2adef35da2466b403f08.zip
Notes
Diffstat (limited to 'net/boinc-client')
-rw-r--r--net/boinc-client/Makefile8
-rw-r--r--net/boinc-client/files/extra-patch-client::gui_rpc_server.C11
-rw-r--r--net/boinc-client/files/extra-patch-client::net_xfer.C11
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
+