SHA256
1
0
forked from pool/gzdoom

- Add gzdoom-asmjit.patch.

OBS-URL: https://build.opensuse.org/package/show/games/gzdoom?expand=0&rev=32
This commit is contained in:
Jan Engelhardt 2019-10-03 11:37:54 +00:00 committed by Git OBS Bridge
parent b25078a920
commit 06bb912c25
3 changed files with 23 additions and 0 deletions

16
gzdoom-asmjit.patch Normal file
View File

@ -0,0 +1,16 @@
---
libraries/asmjit/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
Index: gzdoom-g4.2.1/libraries/asmjit/CMakeLists.txt
===================================================================
--- gzdoom-g4.2.1.orig/libraries/asmjit/CMakeLists.txt
+++ gzdoom-g4.2.1/libraries/asmjit/CMakeLists.txt
@@ -140,6 +140,7 @@ endforeach()
add_library(${ASMJITNAME} STATIC ${ASMJIT_SRCS})
set_target_properties(${ASMJITNAME} PROPERTIES OUTPUT_NAME asmjit)
+target_link_libraries(${ASMJITNAME} rt)
if(NOT SKIP_INSTALL_LIBRARIES AND NOT SKIP_INSTALL_ALL)
install(TARGETS ${ASMJITNAME}

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 1 06:23:02 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Add gzdoom-asmjit.patch.
-------------------------------------------------------------------
Fri Sep 13 11:39:15 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -29,6 +29,7 @@ Source: https://github.com/coelckers/gzdoom/archive/g%version.tar.gz
Patch1: gzdoom-waddir.patch
Patch2: gzdoom-lzma.patch
Patch3: gzdoom-vulkan.patch
Patch4: gzdoom-asmjit.patch
BuildRequires: cmake >= 2.8.7
BuildRequires: gcc-c++
BuildRequires: glslang-devel
@ -92,6 +93,7 @@ GZDoom is a port (a modification) of the original Doom source code, featuring:
%patch -P 3 -p1
rm -Rfv glslang src/rendering/vulkan/thirdparty/vulkan
%endif
%patch -P 4 -p1
perl -i -pe 's{__DATE__}{""}g' src/posix/sdl/i_main.cpp
perl -i -pe 's{<unknown version>}{%version}g' \
tools/updaterevision/updaterevision.c