Hello community,

here is the log from the commit of package gzdoom for openSUSE:Factory checked 
in at 2019-10-04 11:22:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gzdoom (Old)
 and      /work/SRC/openSUSE:Factory/.gzdoom.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gzdoom"

Fri Oct  4 11:22:27 2019 rev:9 rq:734924 version:4.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/gzdoom/gzdoom.changes    2019-09-23 
12:39:04.465593605 +0200
+++ /work/SRC/openSUSE:Factory/.gzdoom.new.2352/gzdoom.changes  2019-10-04 
11:22:43.988896392 +0200
@@ -1,0 +2,6 @@
+Tue Oct  1 06:23:02 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Add gzdoom-asmjit.patch.
+- Enable SSE/SSE2.
+
+-------------------------------------------------------------------

New:
----
  gzdoom-asmjit.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gzdoom.spec ++++++
--- /var/tmp/diff_new_pack.L8HHtP/_old  2019-10-04 11:22:44.784894318 +0200
+++ /var/tmp/diff_new_pack.L8HHtP/_new  2019-10-04 11:22:44.784894318 +0200
@@ -29,6 +29,7 @@
 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 @@
 %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
@@ -100,6 +102,12 @@
 %define _lto_cflags %nil
 # We must not strip - %%debug_package will take care of it
 # Deactivate -Wl,--as-needed
+
+%ifarch %ix86
+# program does a cpuid check, so it is ok to enable
+export CFLAGS="%optflags -msse -msse2"
+export CXXFLAGS="%optflags -msse -msse2"
+%endif
 %cmake -DNO_STRIP=1 \
 %if 0%{suse_version} == 1315
        -DCMAKE_C_COMPILER=gcc-6 -DCMAKE_CXX_COMPILER=g++-6 \

++++++ gzdoom-asmjit.patch ++++++
---
 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}

Reply via email to