[rbdoom3bfg] 02/03: The patch to disable the CPU features was incomplete: We need also to undef the usage of intriniscs for all CPU'S except on amd64

Tobias Frost tobi at moszumanska.debian.org
Sat Jun 13 12:33:03 UTC 2015


This is an automated email from the git hooks/post-receive script.

tobi pushed a commit to branch master
in repository rbdoom3bfg.

commit b8106f220a6852e140daa5bf31c05bf58d2974e4
Author: Tobias Frost <tobi at coldtobi.de>
Date:   Sat Jun 13 10:37:18 2015 +0200

    The patch to disable the CPU features was incomplete: We need also to undef the
    usage of intriniscs for all CPU'S except on amd64
---
 debian/changelog                             |  7 +++++++
 debian/patches/80-disable-cpu-features.patch | 13 +++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index cf34a9c..be88fa2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+rbdoom3bfg (1.0.3+repack1-3) UNRELEASED; urgency=medium
+
+  * The patch to disable the CPU features was incomplete: We need also to undef
+    the usage of intriniscs for all CPU'S except on amd64
+
+ -- Tobias Frost <tobi at debian.org>  Sat, 13 Jun 2015 10:35:31 +0200
+
 rbdoom3bfg (1.0.3+repack1-2) unstable; urgency=medium
 
   * Add patch to disable using CPU features like sse and mmx.
diff --git a/debian/patches/80-disable-cpu-features.patch b/debian/patches/80-disable-cpu-features.patch
index b1c7424..99471fd 100644
--- a/debian/patches/80-disable-cpu-features.patch
+++ b/debian/patches/80-disable-cpu-features.patch
@@ -17,3 +17,16 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
  	if(WIN32)
  		# require msvcr70.dll or newer for _aligned_malloc etc
  		# I think it is from Visual C++ .NET 2002, so it should be available on any remotely modern system.
+--- a/neo/idlib/sys/sys_intrinsics.h
++++ b/neo/idlib/sys/sys_intrinsics.h
+@@ -29,7 +29,10 @@
+ #ifndef __SYS_INTRIINSICS_H__
+ #define __SYS_INTRIINSICS_H__
+ 
++#if defined(__x86_64__)
++// Enable this only on amd64
+ #define USE_INTRINSICS
++#endif
+ 
+ #if defined(USE_INTRINSICS)
+ #include <emmintrin.h>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/rbdoom3bfg.git



More information about the Pkg-games-commits mailing list