Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jul 2018 18:35:38 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474117 - head/devel/libopkele/files
Message-ID:  <201807071835.w67IZcKN088268@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807071835.w67IZcKN088268>