svn commit: r322677 - head/net/boinc-client/files
Rene Ladan
rene at FreeBSD.org
Wed Jul 10 12:18:22 UTC 2013
Author: rene
Date: Wed Jul 10 12:18:21 2013
New Revision: 322677
URL: http://svnweb.freebsd.org/changeset/ports/322677
Log:
Fix build with --std=c++11
PR: ports/178712
Submitted by: Volodymyr Kostyrko <c.kworr at gmail.com>
Added:
head/net/boinc-client/files/patch-api__boinc_api.cpp (contents, props changed)
head/net/boinc-client/files/patch-client__client_msgs.h (contents, props changed)
Added: head/net/boinc-client/files/patch-api__boinc_api.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/boinc-client/files/patch-api__boinc_api.cpp Wed Jul 10 12:18:21 2013 (r322677)
@@ -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;
Added: head/net/boinc-client/files/patch-client__client_msgs.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/boinc-client/files/patch-client__client_msgs.h Wed Jul 10 12:18:21 2013 (r322677)
@@ -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
More information about the svn-ports-head
mailing list