From owner-svn-ports-all@freebsd.org Fri Oct 20 14:13:30 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DB14EE36B23; Fri, 20 Oct 2017 14:13:30 +0000 (UTC) (envelope-from jbeich@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 mx1.freebsd.org (Postfix) with ESMTPS id A6E777C19A; Fri, 20 Oct 2017 14:13:30 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v9KEDT7d082903; Fri, 20 Oct 2017 14:13:29 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9KEDT91082902; Fri, 20 Oct 2017 14:13:29 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201710201413.v9KEDT91082902@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Fri, 20 Oct 2017 14:13:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r452524 - head/x11-toolkits/nucleo/files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/x11-toolkits/nucleo/files X-SVN-Commit-Revision: 452524 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Oct 2017 14:13:31 -0000 Author: jbeich Date: Fri Oct 20 14:13:29 2017 New Revision: 452524 URL: https://svnweb.freebsd.org/changeset/ports/452524 Log: x11-toolkits/nucleo: unbreak FFMPEG=on with Clang 4.0 ffmpegImageSink.cxx:246:29: error: ordered comparison between pointer and zero ('AVIOContext *' and 'int') 0, udp_callback, 0) < 0) { ~~~~~~~~~~~~~~~~~~~ ^ ~ Reported by: antoine (via bug 223057 exp-run) Modified: head/x11-toolkits/nucleo/files/patch-nucleo__plugins__ffmpeg__ffmpegImageSink.cxx (contents, props changed) Modified: head/x11-toolkits/nucleo/files/patch-nucleo__plugins__ffmpeg__ffmpegImageSink.cxx ============================================================================== --- head/x11-toolkits/nucleo/files/patch-nucleo__plugins__ffmpeg__ffmpegImageSink.cxx Fri Oct 20 14:13:15 2017 (r452523) +++ head/x11-toolkits/nucleo/files/patch-nucleo__plugins__ffmpeg__ffmpegImageSink.cxx Fri Oct 20 14:13:29 2017 (r452524) @@ -87,7 +87,8 @@ - if (init_put_byte(format_context->pb, buffer, buffer_size, + if (avio_alloc_context(buffer, buffer_size, 1, (void *)this, - 0, udp_callback, 0) < 0) { +- 0, udp_callback, 0) < 0) { ++ 0, udp_callback, 0) == NULL) { std::cerr << "ffmpegImageSink: init_put_byte failed" << std::endl ; return false ; }