Date: Wed, 1 Feb 2017 12:56:04 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> 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 Message-ID: <201702011256.v11Cu4om077088@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702011256.v11Cu4om077088>