[rbdoom3bfg] 02/03: New patch to disable CPU features
Tobias Frost
tobi at moszumanska.debian.org
Fri Jun 12 16:27:42 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 750058ace4da7b009c6b518326470e9256aaf7e2
Author: Tobias Frost <tobi at coldtobi.de>
Date: Fri Jun 12 18:05:36 2015 +0200
New patch to disable CPU features
---
debian/changelog | 7 +++++++
debian/patches/80-disable-cpu-features.patch | 19 +++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 27 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 468fd3e..68445a3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+rbdoom3bfg (1.0.3+repack1-2) UNRELEASED; urgency=medium
+
+ * Add patch to disable using CPU features like sse and mmx.
+ * Rename local patch to free up the namespace a little bit.
+
+ -- Tobias Frost <tobi at debian.org> Fri, 12 Jun 2015 18:00:31 +0200
+
rbdoom3bfg (1.0.3+repack1-1) unstable; urgency=medium
* Initial release (Closes: #764200)
diff --git a/debian/patches/80-disable-cpu-features.patch b/debian/patches/80-disable-cpu-features.patch
new file mode 100644
index 0000000..b1c7424
--- /dev/null
+++ b/debian/patches/80-disable-cpu-features.patch
@@ -0,0 +1,19 @@
+Description: Do not use CPU features like sse and mmx
+ Those features are not guaranteed to be supported even on i386/amd64, so it
+ is better to stick to the GCC's default.
+Author: Tobias Frost <tobi at debian.org>
+Forwarded: not-needed, Debian specific
+Last-Update: 2015-06-12
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/neo/CMakeLists.txt
++++ b/neo/CMakeLists.txt
+@@ -61,7 +61,7 @@
+ #add_definitions(-Wall)
+ add_definitions(-Werror=format-security)
+ add_definitions(-Werror=format)
+- add_definitions(-mmmx -msse -msse2)
++# add_definitions(-mmmx -msse -msse2)
+ 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.
diff --git a/debian/patches/series b/debian/patches/series
index 2d32635..4d5f6c3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
10-lowercase-executeable.patch
65-init-sdl2.patch
75-local-no-precompiled-header.patch
+80-disable-cpu-features.patch
--
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