Index: branches/2019Q1/games/moonlight-embedded/Makefile =================================================================== --- branches/2019Q1/games/moonlight-embedded/Makefile (revision 491573) +++ branches/2019Q1/games/moonlight-embedded/Makefile (revision 491574) @@ -1,54 +1,54 @@ # $FreeBSD$ 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}/ MAINTAINER= tobik@FreeBSD.org COMMENT= Gamestream client LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libcurl.so:ftp/curl \ libenet.so:net/enet \ libexpat.so:textproc/expat2 \ libopus.so:audio/opus \ libuuid.so:misc/e2fsprogs-libuuid USES= cmake localbase:ldflags perl5 pkgconfig ssl tar:xz USE_LDCONFIG= yes USE_PERL5= build USE_SDL= sdl2 CFLAGS+= -DPREFIX="\\\"${PREFIX}\\\"" post-patch: @${REINPLACE_CMD} -e '/(ALSA)/d' \ -e '/libpulse-simple/d' \ -e '/libcec/d' \ -e '/libevdev/d' -e 's@./src/input/evdev.c@@' \ -e '/libudev/d' -e 's@./src/input/udev.c@@' \ -e '/libva/d' \ -e '/vdpau/d' \ -e '/egl/d' \ -e '/glesv2/d' \ -e '/x11/d' \ ${WRKSRC}/CMakeLists.txt @${RM} ${WRKSRC}/src/loop.c @${REINPLACE_CMD} -e '/avahi-client/d' -e 's@SHARED@STATIC@' \ -e 's@OpenSSL 1.0.2@OpenSSL@' -e '/^install(/d' \ ${WRKSRC}/libgamestream/CMakeLists.txt @${RM} ${WRKSRC}/libgamestream/discover.c @${REINPLACE_CMD} -e 's@/etc/moonlight/moonlight.conf@${PREFIX}/etc/moonlight.conf@' \ -e 's@moonligt@moonlight@g' \ ${WRKSRC}/docs/README.pod post-install: @${MV} ${STAGEDIR}${PREFIX}/etc/moonlight.conf \ ${STAGEDIR}${PREFIX}/etc/moonlight.conf.sample .include Index: branches/2019Q1/games/moonlight-embedded/files/patch-third__party_moonlight-common-c_src_ControlStream.c =================================================================== --- branches/2019Q1/games/moonlight-embedded/files/patch-third__party_moonlight-common-c_src_ControlStream.c (nonexistent) +++ branches/2019Q1/games/moonlight-embedded/files/patch-third__party_moonlight-common-c_src_ControlStream.c (revision 491574) @@ -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; Property changes on: branches/2019Q1/games/moonlight-embedded/files/patch-third__party_moonlight-common-c_src_ControlStream.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: branches/2019Q1 =================================================================== --- branches/2019Q1 (revision 491573) +++ branches/2019Q1 (revision 491574) Property changes on: branches/2019Q1 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r491573