From owner-svn-ports-all@freebsd.org Wed Feb 1 12:56:05 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 8A1C1CCB901; Wed, 1 Feb 2017 12:56:05 +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 4131D1B0F; Wed, 1 Feb 2017 12:56:05 +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 v11Cu4N7077090; Wed, 1 Feb 2017 12:56:04 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v11Cu4om077088; Wed, 1 Feb 2017 12:56:04 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201702011256.v11Cu4om077088@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 1 Feb 2017 12:56:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r433027 - in branches/2017Q1/multimedia/vdr: . files X-SVN-Group: ports-branches 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: Wed, 01 Feb 2017 12:56:05 -0000 Author: jbeich Date: Wed Feb 1 12:56:04 2017 New Revision: 433027 URL: https://svnweb.freebsd.org/changeset/ports/433027 Log: MFH: r432967 multimedia/vdr: unbreak with clang 4.0 recording.c:2090:17: error: ordered comparison between pointer and zero ('cUnbufferedFile *' and 'int') if (Open() >= 0) { ~~~~~~ ^ ~ PR: 216058 Reported by: antoine (via exp-run) Approved by: ports-secteam blanket Added: branches/2017Q1/multimedia/vdr/files/patch-clang40 - copied unchanged from r432967, head/multimedia/vdr/files/patch-clang40 Modified: branches/2017Q1/multimedia/vdr/Makefile Directory Properties: branches/2017Q1/ (props changed) Modified: branches/2017Q1/multimedia/vdr/Makefile ============================================================================== --- branches/2017Q1/multimedia/vdr/Makefile Wed Feb 1 12:53:42 2017 (r433026) +++ branches/2017Q1/multimedia/vdr/Makefile Wed Feb 1 12:56:04 2017 (r433027) @@ -3,7 +3,7 @@ PORTNAME= vdr PORTVERSION= 1.7.29 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= multimedia MASTER_SITES= ftp://ftp.tvdr.de/vdr/Developer/ DIST_SUBDIR= vdr Copied: branches/2017Q1/multimedia/vdr/files/patch-clang40 (from r432967, head/multimedia/vdr/files/patch-clang40) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2017Q1/multimedia/vdr/files/patch-clang40 Wed Feb 1 12:56:04 2017 (r433027, copy of r432967, head/multimedia/vdr/files/patch-clang40) @@ -0,0 +1,11 @@ +--- recording.c.orig 2012-06-09 13:57:30 UTC ++++ recording.c +@@ -2075,7 +2075,7 @@ cUnbufferedFile *cFileName::SetOffset(in + } + // found a non existing file suffix + } +- if (Open() >= 0) { ++ if (Open()) { + if (!record && Offset >= 0 && file && file->Seek(Offset, SEEK_SET) != Offset) { + LOG_ERROR_STR(fileName); + return NULL;