svn commit: r474117 - head/devel/libopkele/files
Tobias Kortkamp
tobik at FreeBSD.org
Sat Jul 7 18:35:39 UTC 2018
Author: tobik
Date: Sat Jul 7 18:35:38 2018
New Revision: 474117
URL: https://svnweb.freebsd.org/changeset/ports/474117
Log:
devel/libopkele: Fix build with Clang 6
curl.cc:48:57: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
|| (r=easy_setopt(CURLOPT_USERAGENT,PACKAGE_NAME"/"PACKAGE_SRC_VERSION))
^
http://beefy12.nyi.freebsd.org/data/head-amd64-default/p473790_s335878/logs/libopkele-2.0.4_12.log
Added:
head/devel/libopkele/files/patch-lib_curl.cc (contents, props changed)
Added: head/devel/libopkele/files/patch-lib_curl.cc
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libopkele/files/patch-lib_curl.cc Sat Jul 7 18:35:38 2018 (r474117)
@@ -0,0 +1,11 @@
+--- lib/curl.cc.orig 2018-07-07 18:25:16 UTC
++++ lib/curl.cc
+@@ -45,7 +45,7 @@ namespace opkele {
+ || (r=easy_setopt(CURLOPT_MAXREDIRS,5))
+ || (r=easy_setopt(CURLOPT_DNS_CACHE_TIMEOUT,120))
+ || (r=easy_setopt(CURLOPT_DNS_USE_GLOBAL_CACHE,1))
+- || (r=easy_setopt(CURLOPT_USERAGENT,PACKAGE_NAME"/"PACKAGE_SRC_VERSION))
++ || (r=easy_setopt(CURLOPT_USERAGENT,PACKAGE_NAME "/" PACKAGE_SRC_VERSION))
+ || (r=easy_setopt(CURLOPT_TIMEOUT,20))
+ #ifdef DISABLE_CURL_SSL_VERIFYHOST
+ || (r=easy_setopt(CURLOPT_SSL_VERIFYHOST,0))
More information about the svn-ports-all
mailing list