aboutsummaryrefslogtreecommitdiffstats
path: root/net/boinc-client
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2013-07-10 20:18:21 +0800
committerrene <rene@FreeBSD.org>2013-07-10 20:18:21 +0800
commitde3ba7c3484c01cd5ad40c1d45625354c1eeff18 (patch)
tree62b812dde37f26c996bf8109413a37348ebd0f24 /net/boinc-client
parentb67af4fc940337012343da5f68bc3208c4609e25 (diff)
downloadfreebsd-ports-graphics-de3ba7c3484c01cd5ad40c1d45625354c1eeff18.tar.gz
freebsd-ports-graphics-de3ba7c3484c01cd5ad40c1d45625354c1eeff18.tar.zst
freebsd-ports-graphics-de3ba7c3484c01cd5ad40c1d45625354c1eeff18.zip
Fix build with --std=c++11
PR: ports/178712 Submitted by: Volodymyr Kostyrko <c.kworr@gmail.com>
Diffstat (limited to 'net/boinc-client')
-rw-r--r--net/boinc-client/files/patch-api__boinc_api.cpp11
-rw-r--r--net/boinc-client/files/patch-client__client_msgs.h10
2 files changed, 21 insertions, 0 deletions
diff --git a/net/boinc-client/files/patch-api__boinc_api.cpp b/net/boinc-client/files/patch-api__boinc_api.cpp
new file mode 100644
index 00000000000..880b8d204b9
--- /dev/null
+++ b/net/boinc-client/files/patch-api__boinc_api.cpp
@@ -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;
diff --git a/net/boinc-client/files/patch-client__client_msgs.h b/net/boinc-client/files/patch-client__client_msgs.h
new file mode 100644
index 00000000000..7829f7b4da0
--- /dev/null
+++ b/net/boinc-client/files/patch-client__client_msgs.h
@@ -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