[Midnightbsd-cvs] mports [20850] trunk/net/boinc-client/files: fix build of boinc
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Nov 13 18:40:49 EST 2015
Revision: 20850
http://svnweb.midnightbsd.org/mports/?rev=20850
Author: laffer1
Date: 2015-11-13 18:40:49 -0500 (Fri, 13 Nov 2015)
Log Message:
-----------
fix build of boinc
Added Paths:
-----------
trunk/net/boinc-client/files/patch-api__boinc_api.cpp
trunk/net/boinc-client/files/patch-client__client_msgs.h
trunk/net/boinc-client/files/patch-client__hostinfo_unix.cpp
trunk/net/boinc-client/files/patch-clientgui__AsyncRPC.cpp
trunk/net/boinc-client/files/patch-lib__diagnostics.cpp
trunk/net/boinc-client/files/patch-lib__gui_rpc_client_print.cpp
trunk/net/boinc-client/files/patch-lib__str_util.cpp
Added: trunk/net/boinc-client/files/patch-api__boinc_api.cpp
===================================================================
--- trunk/net/boinc-client/files/patch-api__boinc_api.cpp (rev 0)
+++ trunk/net/boinc-client/files/patch-api__boinc_api.cpp 2015-11-13 23:40:49 UTC (rev 20850)
@@ -0,0 +1,11 @@
+--- ./api/boinc_api.cpp.orig 2013-07-24 15:13:28.000000000 +0000
++++ ./api/boinc_api.cpp 2013-09-17 21:16:00.000000000 +0000
+@@ -120,7 +120,7 @@
+ // CPPFLAGS=-DGETRUSAGE_IN_TIMER_THREAD
+ #endif
+
+-const char* api_version="API_VERSION_"PACKAGE_VERSION;
++const char* api_version="API_VERSION_" PACKAGE_VERSION;
+ static APP_INIT_DATA aid;
+ static FILE_LOCK file_lock;
+ APP_CLIENT_SHM* app_client_shm = 0;
Property changes on: trunk/net/boinc-client/files/patch-api__boinc_api.cpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/net/boinc-client/files/patch-client__client_msgs.h
===================================================================
--- trunk/net/boinc-client/files/patch-client__client_msgs.h (rev 0)
+++ trunk/net/boinc-client/files/patch-client__client_msgs.h 2015-11-13 23:40:49 UTC (rev 20850)
@@ -0,0 +1,10 @@
+--- ./client/client_msgs.h.orig 2013-07-24 15:13:28.000000000 +0000
++++ ./client/client_msgs.h 2013-09-17 21:16:00.000000000 +0000
+@@ -73,6 +73,6 @@
+ __attribute__ ((format (printf, 4, 5)))
+ ;
+
+-#define _(x) "_(\""x"\")"
++#define _(x) "_(\"" x"\")"
+
+ #endif
Property changes on: trunk/net/boinc-client/files/patch-client__client_msgs.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/net/boinc-client/files/patch-client__hostinfo_unix.cpp
===================================================================
--- trunk/net/boinc-client/files/patch-client__hostinfo_unix.cpp (rev 0)
+++ trunk/net/boinc-client/files/patch-client__hostinfo_unix.cpp 2015-11-13 23:40:49 UTC (rev 20850)
@@ -0,0 +1,20 @@
+--- client/hostinfo_unix.cpp.orig 2013-12-20 14:28:08.000000000 -0600
++++ client/hostinfo_unix.cpp 2014-04-16 17:07:56.996236131 -0500
+@@ -1213,6 +1213,8 @@
+
+ #if LINUX_LIKE_SYSTEM
+ safe_strcpy(path, "/usr/lib/virtualbox/VBoxManage");
++#elif defined( __FreeBSD__) || defined(__MidnightBSD__)
++ safe_strcpy(path, "@PREFIX@/lib/virtualbox/VBoxManage");
+ #elif defined( __APPLE__)
+ FSRef theFSRef;
+ OSStatus status = noErr;
+@@ -1231,7 +1233,7 @@
+ #endif
+
+ if (boinc_file_exists(path)) {
+-#if LINUX_LIKE_SYSTEM
++#if LINUX_LIKE_SYSTEM || defined( __FreeBSD__) || defined(__MidnightBSD__)
+ if (access(path, X_OK)) {
+ return 0;
+ }
Property changes on: trunk/net/boinc-client/files/patch-client__hostinfo_unix.cpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/net/boinc-client/files/patch-clientgui__AsyncRPC.cpp
===================================================================
--- trunk/net/boinc-client/files/patch-clientgui__AsyncRPC.cpp (rev 0)
+++ trunk/net/boinc-client/files/patch-clientgui__AsyncRPC.cpp 2015-11-13 23:40:49 UTC (rev 20850)
@@ -0,0 +1,12 @@
+--- clientgui/AsyncRPC.cpp.orig 2012-04-07 11:55:37.000000000 +0300
++++ clientgui/AsyncRPC.cpp 2012-04-07 11:56:14.000000000 +0300
+@@ -31,7 +31,9 @@
+ #include "util.h"
+
+ #if !(defined(_WIN32) || (defined(__WXMAC__) && (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_4)))
++#if !defined(NO_PER_THREAD_LOCALE)
+ #include <xlocale.h>
++#endif
+ #include "gui_rpc_client.h"
+ #endif
+
Property changes on: trunk/net/boinc-client/files/patch-clientgui__AsyncRPC.cpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/net/boinc-client/files/patch-lib__diagnostics.cpp
===================================================================
--- trunk/net/boinc-client/files/patch-lib__diagnostics.cpp (rev 0)
+++ trunk/net/boinc-client/files/patch-lib__diagnostics.cpp 2015-11-13 23:40:49 UTC (rev 20850)
@@ -0,0 +1,10 @@
+--- ./lib/diagnostics.cpp.orig 2013-07-24 15:13:29.000000000 +0000
++++ ./lib/diagnostics.cpp 2013-09-17 21:40:56.000000000 +0000
+@@ -41,6 +41,7 @@
+ #include <cstdarg>
+ #include <cstdlib>
+ #include <unistd.h>
++#include <time.h>
+ #endif
+
+ #ifdef _USING_FCGI_
Property changes on: trunk/net/boinc-client/files/patch-lib__diagnostics.cpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/net/boinc-client/files/patch-lib__gui_rpc_client_print.cpp
===================================================================
--- trunk/net/boinc-client/files/patch-lib__gui_rpc_client_print.cpp (rev 0)
+++ trunk/net/boinc-client/files/patch-lib__gui_rpc_client_print.cpp 2015-11-13 23:40:49 UTC (rev 20850)
@@ -0,0 +1,10 @@
+--- ./lib/gui_rpc_client_print.cpp.orig 2013-07-24 15:13:29.000000000 +0000
++++ ./lib/gui_rpc_client_print.cpp 2013-09-17 21:43:21.000000000 +0000
+@@ -31,6 +31,7 @@
+ #include <sys/un.h>
+ #include <cstdio>
+ #include <unistd.h>
++#include <time.h>
+ #include <cstdlib>
+ #include <cstring>
+ #endif
Property changes on: trunk/net/boinc-client/files/patch-lib__gui_rpc_client_print.cpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/net/boinc-client/files/patch-lib__str_util.cpp
===================================================================
--- trunk/net/boinc-client/files/patch-lib__str_util.cpp (rev 0)
+++ trunk/net/boinc-client/files/patch-lib__str_util.cpp 2015-11-13 23:40:49 UTC (rev 20850)
@@ -0,0 +1,10 @@
+--- ./lib/str_util.cpp.orig 2013-07-24 15:13:29.000000000 +0000
++++ ./lib/str_util.cpp 2013-09-17 21:45:40.000000000 +0000
+@@ -29,6 +29,7 @@
+ #include <string>
+ #include <math.h>
+ #include <string.h>
++#include <time.h>
+ #include <stdlib.h>
+ #include <ctype.h>
+ #endif
Property changes on: trunk/net/boinc-client/files/patch-lib__str_util.cpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list