From owner-svn-ports-all@freebsd.org Tue Jan 29 15:54:11 2019 Return-Path: Delivered-To: svn-ports-all@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 F16CB14C1894; Tue, 29 Jan 2019 15:54:10 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 98C208C2DF; Tue, 29 Jan 2019 15:54:10 +0000 (UTC) (envelope-from tobik@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 897C89DFB; Tue, 29 Jan 2019 15:54:10 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x0TFsAjc056087; Tue, 29 Jan 2019 15:54:10 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x0TFsARq056086; Tue, 29 Jan 2019 15:54:10 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201901291554.x0TFsARq056086@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Tue, 29 Jan 2019 15:54:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r491574 - in branches/2019Q1/games/moonlight-embedded: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in branches/2019Q1/games/moonlight-embedded: . files X-SVN-Commit-Revision: 491574 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 98C208C2DF X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.97)[-0.966,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 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: Tue, 29 Jan 2019 15:54:11 -0000 Author: tobik Date: Tue Jan 29 15:54:09 2019 New Revision: 491574 URL: https://svnweb.freebsd.org/changeset/ports/491574 Log: MFH: r491573 games/moonlight-embedded: Add patch to fix runtime with GFE 3.16 Submitted by: Brian Bostwick Approved by: ports-secteam runtime fix blanket Added: branches/2019Q1/games/moonlight-embedded/files/patch-third__party_moonlight-common-c_src_ControlStream.c - copied unchanged from r491573, head/games/moonlight-embedded/files/patch-third__party_moonlight-common-c_src_ControlStream.c Modified: branches/2019Q1/games/moonlight-embedded/Makefile Directory Properties: branches/2019Q1/ (props changed) Modified: branches/2019Q1/games/moonlight-embedded/Makefile ============================================================================== --- branches/2019Q1/games/moonlight-embedded/Makefile Tue Jan 29 15:53:31 2019 (r491573) +++ branches/2019Q1/games/moonlight-embedded/Makefile Tue Jan 29 15:54:09 2019 (r491574) @@ -2,7 +2,7 @@ PORTNAME= moonlight-embedded DISTVERSION= 2.4.7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= https://github.com/irtimmer/moonlight-embedded/releases/download/v${DISTVERSION}/ Copied: branches/2019Q1/games/moonlight-embedded/files/patch-third__party_moonlight-common-c_src_ControlStream.c (from r491573, head/games/moonlight-embedded/files/patch-third__party_moonlight-common-c_src_ControlStream.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2019Q1/games/moonlight-embedded/files/patch-third__party_moonlight-common-c_src_ControlStream.c Tue Jan 29 15:54:09 2019 (r491574, copy of r491573, head/games/moonlight-embedded/files/patch-third__party_moonlight-common-c_src_ControlStream.c) @@ -0,0 +1,46 @@ +From 8665d806978d2cba9c9040183a3686f4d87d402c Mon Sep 17 00:00:00 2001 +From: Cameron Gutman +Date: Thu, 15 Nov 2018 12:55:22 -0800 +Subject: [PATCH] Don't expect responses for ENet control messages to fix GFE + 3.16 + +--- + src/ControlStream.c | 12 +----------- + 1 file changed, 1 insertion(+), 11 deletions(-) + +--- third_party/moonlight-common-c/src/ControlStream.c.orig 2018-08-11 15:28:10 UTC ++++ third_party/moonlight-common-c/src/ControlStream.c +@@ -378,10 +378,7 @@ static int sendMessageAndForget(short ptype, short pay + } + + static int sendMessageAndDiscardReply(short ptype, short paylen, const void* payload) { +- // Discard the response + if (AppVersionQuad[0] >= 5) { +- ENetEvent event; +- + PltLockMutex(&enetMutex); + + if (!sendMessageEnet(ptype, paylen, payload)) { +@@ -389,14 +386,6 @@ static int sendMessageAndDiscardReply(short ptype, sho + return 0; + } + +- if (serviceEnetHost(client, &event, CONTROL_STREAM_TIMEOUT_SEC * 1000) <= 0 || +- event.type != ENET_EVENT_TYPE_RECEIVE) { +- PltUnlockMutex(&enetMutex); +- return 0; +- } +- +- enet_packet_destroy(event.packet); +- + PltUnlockMutex(&enetMutex); + } + else { +@@ -406,6 +395,7 @@ static int sendMessageAndDiscardReply(short ptype, sho + return 0; + } + ++ // Discard the response + reply = readNvctlPacketTcp(); + if (reply == NULL) { + return 0;