Files
moonlight-embedded/debian/patches/c99.patch
2018-01-13 14:59:03 +00:00

46 lines
1.8 KiB
Diff

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)