From owner-svn-ports-head@freebsd.org Thu Jul 26 13:16:09 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 256E2104ED4D; Thu, 26 Jul 2018 13:16:09 +0000 (UTC) (envelope-from wen@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 C75DA8E4CE; Thu, 26 Jul 2018 13:16:08 +0000 (UTC) (envelope-from wen@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 A031D17E3; Thu, 26 Jul 2018 13:16:08 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6QDG8AR015322; Thu, 26 Jul 2018 13:16:08 GMT (envelope-from wen@FreeBSD.org) Received: (from wen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6QDG7u0015316; Thu, 26 Jul 2018 13:16:07 GMT (envelope-from wen@FreeBSD.org) Message-Id: <201807261316.w6QDG7u0015316@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wen set sender to wen@FreeBSD.org using -f From: Wen Heping Date: Thu, 26 Jul 2018 13:16:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475369 - in head/multimedia/vdr-plugin-xineliboutput: . files X-SVN-Group: ports-head X-SVN-Commit-Author: wen X-SVN-Commit-Paths: in head/multimedia/vdr-plugin-xineliboutput: . files X-SVN-Commit-Revision: 475369 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.27 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: Thu, 26 Jul 2018 13:16:09 -0000 Author: wen Date: Thu Jul 26 13:16:06 2018 New Revision: 475369 URL: https://svnweb.freebsd.org/changeset/ports/475369 Log: - Fix build with clang6 PR: 229573 Submitted by: shoesoft@gmx.net Added: head/multimedia/vdr-plugin-xineliboutput/files/patch-frontend.c (contents, props changed) head/multimedia/vdr-plugin-xineliboutput/files/patch-osd.c (contents, props changed) head/multimedia/vdr-plugin-xineliboutput/files/patch-tools_sdp.h (contents, props changed) head/multimedia/vdr-plugin-xineliboutput/files/patch-tools_udp__pes__scheduler.c (contents, props changed) head/multimedia/vdr-plugin-xineliboutput/files/patch-xineliboutput.c (contents, props changed) Modified: head/multimedia/vdr-plugin-xineliboutput/Makefile head/multimedia/vdr-plugin-xineliboutput/distinfo Modified: head/multimedia/vdr-plugin-xineliboutput/Makefile ============================================================================== --- head/multimedia/vdr-plugin-xineliboutput/Makefile Thu Jul 26 13:04:25 2018 (r475368) +++ head/multimedia/vdr-plugin-xineliboutput/Makefile Thu Jul 26 13:16:06 2018 (r475369) @@ -3,7 +3,7 @@ PORTNAME= vdr-plugin-xineliboutput PORTVERSION= 1.0.90s20120511 -PORTREVISION= 21 +PORTREVISION= 22 CATEGORIES= multimedia MASTER_SITES= SF/xineliboutput/files/xineliboutput/vdr-xineliboutput-${PORTVERSION}/:release \ LOCAL/nox:snapshot Modified: head/multimedia/vdr-plugin-xineliboutput/distinfo ============================================================================== --- head/multimedia/vdr-plugin-xineliboutput/distinfo Thu Jul 26 13:04:25 2018 (r475368) +++ head/multimedia/vdr-plugin-xineliboutput/distinfo Thu Jul 26 13:16:06 2018 (r475369) @@ -1,2 +1,3 @@ +TIMESTAMP = 1532570045 SHA256 (vdr/vdr-plugin-xineliboutput-1.0.90s20120511.tar.bz2) = 87d6903cb66e29452c2e0c380dcbe7eed2c5414281a8ebf9be7f7e12b2dd611f SIZE (vdr/vdr-plugin-xineliboutput-1.0.90s20120511.tar.bz2) = 372415 Added: head/multimedia/vdr-plugin-xineliboutput/files/patch-frontend.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/vdr-plugin-xineliboutput/files/patch-frontend.c Thu Jul 26 13:16:06 2018 (r475369) @@ -0,0 +1,11 @@ +--- a/frontend.c.orig 2012-05-11 07:37:27 UTC ++++ b/frontend.c +@@ -91,7 +91,7 @@ void cXinelibThread::KeypressHandler(con + if (!remote->Put(key, repeat, release)) { + if (!strcmp(keymap, "KBD")) { + uint64_t value = 0; +- sscanf(key, "%"PRIX64, &value); ++ sscanf(key, "%" PRIX64, &value); + if (value) { + remote->cRemote::Put(KBDKEY(value)); + return; Added: head/multimedia/vdr-plugin-xineliboutput/files/patch-osd.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/vdr-plugin-xineliboutput/files/patch-osd.c Thu Jul 26 13:16:06 2018 (r475369) @@ -0,0 +1,11 @@ +--- a/osd.c.orig 2012-05-11 07:37:27 UTC ++++ b/osd.c +@@ -567,7 +567,7 @@ void cXinelibOsd::Flush(void) + int NumColors; + const tColor *Colors = Bitmap->Colors(NumColors); + if (Colors) { +- osd_rect_t DirtyArea = {x1:x1, y1:y1, x2:x2, y2:y2}; ++ osd_rect_t DirtyArea = {x1:(uint16_t)x1, y1:(uint16_t)y1, x2:(uint16_t)x2, y2:(uint16_t)y2}; + CmdLut8(i, + Left() + Bitmap->X0() + XOffset, Top() + Bitmap->Y0() + YOffset, + Bitmap->Width(), Bitmap->Height(), Added: head/multimedia/vdr-plugin-xineliboutput/files/patch-tools_sdp.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/vdr-plugin-xineliboutput/files/patch-tools_sdp.h Thu Jul 26 13:16:06 2018 (r475369) @@ -0,0 +1,11 @@ +--- a/tools/sdp.h.orig 2012-05-11 07:37:27 UTC ++++ b/tools/sdp.h +@@ -54,7 +54,7 @@ static const char *vdr_sdp_description(c + s_data = cString::sprintf( + /*** session ***/ + /* version */ "v=0" +- /* origin */ "\r\n" "o=%s %u %"PRIu64" IN IP4 %s" ++ /* origin */ "\r\n" "o=%s %u %" PRIu64 " IN IP4 %s" + /* name */ "\r\n" "s=%s@%s (multicast %s:%d)" + /* opt:info */ /*"\r\n" "i=vdr-xineliboutput primary device output"*/ + /* time */ "\r\n" "t=0 0" Added: head/multimedia/vdr-plugin-xineliboutput/files/patch-tools_udp__pes__scheduler.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/vdr-plugin-xineliboutput/files/patch-tools_udp__pes__scheduler.c Thu Jul 26 13:16:06 2018 (r475369) @@ -0,0 +1,11 @@ +--- a/tools/udp_pes_scheduler.c.orig 2012-05-11 07:37:27 UTC ++++ b/tools/udp_pes_scheduler.c +@@ -674,7 +674,7 @@ void cUdpScheduler::Schedule(const uchar + + if (DATA_IS_TS(Data)) { + if (ts_get_pcr_n(Data, Length/TS_SIZE, &pts)) { +- LOGSCR("UDP PCR: %"PRId64, pts); ++ LOGSCR("UDP PCR: %" PRId64, pts); + ScrSource = eScrFromPcr; + elapsed = CalcElapsedVtime(pts, eScrFromPcr); + } Added: head/multimedia/vdr-plugin-xineliboutput/files/patch-xineliboutput.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/vdr-plugin-xineliboutput/files/patch-xineliboutput.c Thu Jul 26 13:16:06 2018 (r475369) @@ -0,0 +1,11 @@ +--- a/xineliboutput.c.orig 2012-05-11 07:37:27 UTC ++++ b/xineliboutput.c +@@ -104,7 +104,7 @@ const char cmdLineHelp[] = + " fbfe (framebuffer)\n" + " none (only remote frontends)\n" + " -r PORT --remote=PORT Listen PORT for remote clients\n" +-" (default "LISTEN_PORT_S")\n" ++" (default " LISTEN_PORT_S ")\n" + " none or 0 disables remote mode\n" + " Also local interface address can be specified:\n" + " --remote=: (default is all interfaces)\n"