summaryrefslogtreecommitdiff
path: root/games/moonlight-embedded/files/patch-third__party_moonlight-common-c_src_InputStream.c
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2017-08-03 21:44:51 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2017-08-03 21:44:51 +0000
commit68f16288f72dbf76e9c0d4739948faae8cf9cf7a (patch)
tree6c8607e5e2a128dfcdf6db5f66cbe31748699255 /games/moonlight-embedded/files/patch-third__party_moonlight-common-c_src_InputStream.c
parenttextproc/rubygem-scss_lint, textproc/rubygem-compass, (diff)
New port: games/moonlight-embedded
Moonlight Embedded is an open source implementation of NVIDIA's GameStream, as used by the NVIDIA Shield. Moonlight Embedded allows you to stream your full collection of games from your powerful Windows desktop to your FreeBSD system. WWW: https://github.com/irtimmer/moonlight-embedded
Diffstat (limited to 'games/moonlight-embedded/files/patch-third__party_moonlight-common-c_src_InputStream.c')
-rw-r--r--games/moonlight-embedded/files/patch-third__party_moonlight-common-c_src_InputStream.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/moonlight-embedded/files/patch-third__party_moonlight-common-c_src_InputStream.c b/games/moonlight-embedded/files/patch-third__party_moonlight-common-c_src_InputStream.c
new file mode 100644
index 000000000000..b5382ac25255
--- /dev/null
+++ b/games/moonlight-embedded/files/patch-third__party_moonlight-common-c_src_InputStream.c
@@ -0,0 +1,11 @@
+--- third_party/moonlight-common-c/src/InputStream.c.orig 2017-06-11 16:02:49 UTC
++++ third_party/moonlight-common-c/src/InputStream.c
+@@ -34,7 +34,7 @@ typedef struct _PACKET_HOLDER {
+ LINKED_BLOCKING_QUEUE_ENTRY entry;
+ } PACKET_HOLDER, *PPACKET_HOLDER;
+
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
+ #define EVP_CIPHER_CTX_reset(x) EVP_CIPHER_CTX_cleanup(x); EVP_CIPHER_CTX_init(x)
+ #endif
+