From 2f56448cbb1052dbaf2c4fee7686542036cfceeb Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 11 Apr 2022 20:24:45 +0100 Subject: [PATCH] games-engines/devilutionx: fix patch line endings Closes: https://bugs.gentoo.org/837764 Signed-off-by: Sam James --- .../devilutionx-1.2.1-disable-ccache.patch | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/games-engines/devilutionx/files/devilutionx-1.2.1-disable-ccache.patch b/games-engines/devilutionx/files/devilutionx-1.2.1-disable-ccache.patch index a89b53e63d349..177287810c941 100644 --- a/games-engines/devilutionx/files/devilutionx-1.2.1-disable-ccache.patch +++ b/games-engines/devilutionx/files/devilutionx-1.2.1-disable-ccache.patch @@ -1,17 +1,16 @@ We let users enable ccache by themselves. Avoids sandbox violation. - https://bugs.gentoo.org/813768 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,11 +54,6 @@ if(NOT VERSION_NUM) - endif() - endif() - --find_program(CCACHE_PROGRAM ccache) --if(CCACHE_PROGRAM) -- set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}") --endif() -- - if(VERSION_NUM MATCHES untagged) - project(DevilutionX - LANGUAGES C CXX) + endif() + endif() + +-find_program(CCACHE_PROGRAM ccache) +-if(CCACHE_PROGRAM) +- set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}") +-endif() +- + if(VERSION_NUM MATCHES untagged) + project(DevilutionX + LANGUAGES C CXX)