From owner-svn-ports-head@freebsd.org Sat Feb 17 17:44:08 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 330C3F23350; Sat, 17 Feb 2018 17:44:08 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D618F8B0E6; Sat, 17 Feb 2018 17:44:07 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CF12E1FEBD; Sat, 17 Feb 2018 17:44:07 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1HHi76B057924; Sat, 17 Feb 2018 17:44:07 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1HHi7mu057923; Sat, 17 Feb 2018 17:44:07 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201802171744.w1HHi7mu057923@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 17 Feb 2018 17:44:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462175 - head/ftp/curl/files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/ftp/curl/files X-SVN-Commit-Revision: 462175 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Feb 2018 17:44:08 -0000 Author: sunpoet Date: Sat Feb 17 17:44:07 2018 New Revision: 462175 URL: https://svnweb.freebsd.org/changeset/ports/462175 Log: Fix build with CURL_DEBUG enabled lib/checksrc.pl is run when CURL_DEBUG is enabled. The build failed due to the long line in patched lib/url.c. ./url.c:593:82: warning: Longer than 79 columns (LONGLINE) data->set.no_signal = TRUE; /* different handling of signals and threads */ checksrc: 0 errors and 1 warnings checksrc: 0 errors and 5 warnings suppressed gmake[3]: *** [Makefile:3935: checksrc] Error 5 MFH: 2018Q1 Modified: head/ftp/curl/files/patch-lib-url.c Modified: head/ftp/curl/files/patch-lib-url.c ============================================================================== --- head/ftp/curl/files/patch-lib-url.c Sat Feb 17 17:33:54 2018 (r462174) +++ head/ftp/curl/files/patch-lib-url.c Sat Feb 17 17:44:07 2018 (r462175) @@ -3,14 +3,15 @@ Forwarded: not-needed Author: Peter Pentchev Last-Update: 2010-12-18 ---- lib/url.c.orig 2017-11-27 12:50:52 UTC +--- lib/url.c.orig 2018-01-23 07:55:37 UTC +++ lib/url.c -@@ -591,6 +591,9 @@ CURLcode Curl_open(struct Curl_easy **cu +@@ -589,6 +589,10 @@ CURLcode Curl_open(struct Curl_easy **cu data->state.current_speed = -1; /* init to negative == impossible */ data->set.fnmatch = ZERO_NULL; data->set.maxconnects = DEFAULT_CONNCACHE_SIZE; /* for easy handles */ +#if defined(__FreeBSD_version) -+ data->set.no_signal = TRUE; /* different handling of signals and threads */ ++ /* different handling of signals and threads */ ++ data->set.no_signal = TRUE; +#endif /* __FreeBSD_version */ Curl_http2_init_state(&data->state);