mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-02-16 10:30:47 +00:00
Rebuild for 2.4.4
This commit is contained in:
6
debian/changelog
vendored
6
debian/changelog
vendored
@@ -1,3 +1,9 @@
|
||||
moonlight-embedded (2.4.4-1stretch1) UNRELEASED; urgency=medium
|
||||
|
||||
* Rebuild for Stretch
|
||||
|
||||
-- root <root@debian-stretch> Fri, 03 Nov 2017 22:07:21 +0000
|
||||
|
||||
moonlight-embedded (2.4.3-1jessie1) RELEASED; urgency=medium
|
||||
|
||||
* Update to version 2.4.3
|
||||
|
||||
45
debian/patches/c99.patch
vendored
Normal file
45
debian/patches/c99.patch
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
Description: <short summary of the patch>
|
||||
TODO: Put a short summary on the line above and replace this paragraph
|
||||
with a longer explanation of this change. Complete the meta-information
|
||||
with other relevant fields (see below for details). To make it easier, the
|
||||
information below has been extracted from the changelog. Adjust it or drop
|
||||
it.
|
||||
.
|
||||
moonlight-embedded (2.4.4-1) RELEASED; urgency=medium
|
||||
.
|
||||
* Update to version 2.4.4
|
||||
Author: Iwan Timmer <irtimmer@gmail.com>
|
||||
|
||||
---
|
||||
The information above should follow the Patch Tagging Guidelines, please
|
||||
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
|
||||
are templates for supplementary fields that you might want to add:
|
||||
|
||||
Origin: <vendor|upstream|other>, <url of original patch>
|
||||
Bug: <url in upstream bugtracker>
|
||||
Bug-Debian: https://bugs.debian.org/<bugnumber>
|
||||
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
|
||||
Forwarded: <no|not-needed|url proving that it has been forwarded>
|
||||
Reviewed-By: <name and email of someone who approved the patch>
|
||||
Last-Update: <YYYY-MM-DD>
|
||||
|
||||
--- moonlight-embedded-2.4.4.orig/CMakeLists.txt
|
||||
+++ moonlight-embedded-2.4.4/CMakeLists.txt
|
||||
@@ -1,8 +1,8 @@
|
||||
cmake_minimum_required(VERSION 3.1)
|
||||
project(moonlight-embedded VERSION 2.4.4 LANGUAGES C)
|
||||
SET(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
|
||||
+SET(CMAKE_C_STANDARD 99)
|
||||
include(${CMAKE_ROOT}/Modules/GNUInstallDirs.cmake)
|
||||
-set_property(GLOBAL PROPERTY C_STANDARD 99)
|
||||
|
||||
aux_source_directory(./src SRC_LIST)
|
||||
list(APPEND SRC_LIST ./src/input/evdev.c ./src/input/mapping.c ./src/input/udev.c)
|
||||
--- moonlight-embedded-2.4.4.orig/libgamestream/CMakeLists.txt
|
||||
+++ moonlight-embedded-2.4.4/libgamestream/CMakeLists.txt
|
||||
@@ -1,5 +1,4 @@
|
||||
set(SO_VERSION 2)
|
||||
-set_property(GLOBAL PROPERTY C_STANDARD 99)
|
||||
|
||||
find_package(LibUUID REQUIRED)
|
||||
find_package(Threads REQUIRED)
|
||||
34
debian/patches/openssl.patch
vendored
34
debian/patches/openssl.patch
vendored
@@ -1,34 +0,0 @@
|
||||
Index: moonlight-embedded/libgamestream/client.c
|
||||
===================================================================
|
||||
--- moonlight-embedded.orig/libgamestream/client.c
|
||||
+++ moonlight-embedded/libgamestream/client.c
|
||||
@@ -493,15 +493,12 @@ int gs_pair(PSERVER_DATA server, char* p
|
||||
char client_secret_data[16];
|
||||
RAND_bytes(client_secret_data, 16);
|
||||
|
||||
- const ASN1_BIT_STRING *asnSignature;
|
||||
- X509_get0_signature(&asnSignature, NULL, cert);
|
||||
-
|
||||
char challenge_response[16 + 256 + 16];
|
||||
char challenge_response_hash[32];
|
||||
char challenge_response_hash_enc[32];
|
||||
char challenge_response_hex[65];
|
||||
memcpy(challenge_response, challenge_response_data + hash_length, 16);
|
||||
- memcpy(challenge_response + 16, asnSignature->data, 256);
|
||||
+ memcpy(challenge_response + 16, cert->signature->data, 256);
|
||||
memcpy(challenge_response + 16 + 256, client_secret_data, 16);
|
||||
if (server->serverMajorVersion >= 7)
|
||||
SHA256(challenge_response, 16 + 256 + 16, challenge_response_hash);
|
||||
Index: moonlight-embedded/libgamestream/CMakeLists.txt
|
||||
===================================================================
|
||||
--- moonlight-embedded.orig/libgamestream/CMakeLists.txt
|
||||
+++ moonlight-embedded/libgamestream/CMakeLists.txt
|
||||
@@ -3,7 +3,7 @@ set(SO_VERSION 2)
|
||||
find_package(LibUUID REQUIRED)
|
||||
find_package(Threads REQUIRED)
|
||||
find_package(CURL REQUIRED)
|
||||
-find_package(OpenSSL 1.0.2 REQUIRED)
|
||||
+find_package(OpenSSL 1.0.1 REQUIRED)
|
||||
find_package(EXPAT REQUIRED)
|
||||
|
||||
pkg_check_modules(AVAHI REQUIRED avahi-client)
|
||||
2
debian/patches/series
vendored
2
debian/patches/series
vendored
@@ -1 +1 @@
|
||||
openssl.patch
|
||||
c99.patch
|
||||
|
||||
Reference in New Issue
Block a user