diff --git a/debian/changelog b/debian/changelog index 5d90f36..ec77445 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +moonlight-embedded (2.4.4-1stretch1) UNRELEASED; urgency=medium + + * Rebuild for Stretch + + -- root Fri, 03 Nov 2017 22:07:21 +0000 + moonlight-embedded (2.4.3-1jessie1) RELEASED; urgency=medium * Update to version 2.4.3 diff --git a/debian/patches/c99.patch b/debian/patches/c99.patch new file mode 100644 index 0000000..0d8e63a --- /dev/null +++ b/debian/patches/c99.patch @@ -0,0 +1,45 @@ +Description: + 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 + +--- +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: , +Bug: +Bug-Debian: https://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: + +--- 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) diff --git a/debian/patches/openssl.patch b/debian/patches/openssl.patch deleted file mode 100644 index 7c4c335..0000000 --- a/debian/patches/openssl.patch +++ /dev/null @@ -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) diff --git a/debian/patches/series b/debian/patches/series index 662dc5a..5b6fae3 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1 @@ -openssl.patch +c99.patch