Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2019 13:30:12 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r503173 - head/games/gzdoom/files
Message-ID:  <201905311330.x4VDUCiW028885@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans (src committer)
Date: Fri May 31 13:30:11 2019
New Revision: 503173
URL: https://svnweb.freebsd.org/changeset/ports/503173

Log:
  games/gzdoom: Fix 32-bit build after r501260 (update to 4.1.1)
  
  The update from 3.7.2 -> 4.1.1 included some path restructuring in gzdoom,
  particularly around rendering bits. A list of source files that need SSE
  explicitly enabled for 32-bit architectures is included in
  src/CMakeLists.txt -- this had not been updated post-restructuring, leading
  to errors like:
  
  error: always_inline function '_mm_cvtss_f32' requires target feature 'mmx',
  but would be inlined into function 'AddLights' that is compiled without
  support for 'mmx'
  
  and failing the build. The patch being added updates the paths. It was
  submitted for upstreaming and subsequently accepted here:
  
  https://github.com/coelckers/gzdoom/pull/850
  
  to appear in a release post-4.1.2.
  
  Reported by:	pkg-fallout
  Approved by:	koobs (ports), kevans (maintainer)

Added:
  head/games/gzdoom/files/patch-src_CMakeLists.txt   (contents, props changed)

Added: head/games/gzdoom/files/patch-src_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/gzdoom/files/patch-src_CMakeLists.txt	Fri May 31 13:30:11 2019	(r503173)
@@ -0,0 +1,16 @@
+--- src/CMakeLists.txt.orig	2019-05-04 19:58:35 UTC
++++ src/CMakeLists.txt
+@@ -1457,10 +1457,9 @@ if( ZD_CMAKE_COMPILER_IS_GNUCXX_COMPATIBLE )
+ 	# Need to enable intrinsics for these files.
+ 	if( SSE_MATTERS )
+ 		set_source_files_properties(
+-			gl/system/gl_swframebuffer.cpp
+-			polyrenderer/poly_all.cpp
+-			swrenderer/r_all.cpp
+-			x86.cpp
++			rendering/polyrenderer/poly_all.cpp
++			rendering/swrenderer/r_all.cpp
++			utility/x86.cpp
+ 			PROPERTIES COMPILE_FLAGS "-msse2 -mmmx" )
+ 	endif()
+ endif()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905311330.x4VDUCiW028885>