Fix build with --std=c++11
PR: ports/178712 Submitted by: Volodymyr Kostyrko <c.kworr@gmail.com>
This commit is contained in:
parent
43313b8f59
commit
d072ab9a2c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=322677
2 changed files with 21 additions and 0 deletions
11
net/boinc-client/files/patch-api__boinc_api.cpp
Normal file
11
net/boinc-client/files/patch-api__boinc_api.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- api/boinc_api.cpp.old 2013-05-17 14:10:37.000000000 +0300
|
||||
+++ api/boinc_api.cpp 2013-05-17 14:10:49.000000000 +0300
|
||||
@@ -111,7 +111,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;
|
10
net/boinc-client/files/patch-client__client_msgs.h
Normal file
10
net/boinc-client/files/patch-client__client_msgs.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- client/client_msgs.h.old 2013-05-17 14:13:10.000000000 +0300
|
||||
+++ client/client_msgs.h 2013-05-17 14:13:20.000000000 +0300
|
||||
@@ -73,6 +73,6 @@
|
||||
__attribute__ ((format (printf, 4, 5)))
|
||||
;
|
||||
|
||||
-#define _(x) "_(\""x"\")"
|
||||
+#define _(x) "_(\"" x"\")"
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue