commit:     2f56448cbb1052dbaf2c4fee7686542036cfceeb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 11 19:24:45 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 11 19:24:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f56448c

games-engines/devilutionx: fix patch line endings

Closes: https://bugs.gentoo.org/837764
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/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 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)

Reply via email to