summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-11 20:24:45 +0100
committerSam James <sam@gentoo.org>2022-04-11 20:24:52 +0100
commit2f56448cbb1052dbaf2c4fee7686542036cfceeb (patch)
treef7243644f18e145734cd162a2149ebe40e409692 /games-engines/devilutionx
parentnet-ftp/proftpd: update upstream metadata (diff)
downloadgentoo-2f56448cbb1052dbaf2c4fee7686542036cfceeb.tar.gz
gentoo-2f56448cbb1052dbaf2c4fee7686542036cfceeb.tar.bz2
gentoo-2f56448cbb1052dbaf2c4fee7686542036cfceeb.zip
games-engines/devilutionx: fix patch line endings
Closes: https://bugs.gentoo.org/837764 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-engines/devilutionx')
-rw-r--r--games-engines/devilutionx/files/devilutionx-1.2.1-disable-ccache.patch23
1 files 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 a89b53e63d34..177287810c94 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)